Fixing a Linux VMWare image
which won't boot in VirtualBox
Access GRUB settings while running in VMWare
in
replace
with
in
replace all occurrencies of
example:
becomes
In order to let VMWare still run the same image
in the (VMWare) .vmx file
replace
example:
becomes
in the (VMWare) .vmdk file
replace
in
/boot/grub/menu.lstreplace
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/sda1 rowith
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda1 roin
/etc/fstabreplace all occurrencies of
sda with hdaexample:
/proc /proc proc defaults 0 0
/dev/sda1 / ext3 defaults,errors=remount-ro 0 1
/dev/sda3 /toolchain ext3 defaults,errors=remount-ro 0 1
/dev/sda5 none swap sw 0 1
...becomes
/proc /proc proc defaults 0 0
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda3 /toolchain ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 1
...In order to let VMWare still run the same image
in the (VMWare) .vmx file
replace
scsi0:0 with ide0:0example:
scsi0:0.present = "TRUE"
scsi0:0.fileName = "Ubuntu.vmdk"
...becomes
ide0:0.present = "TRUE"
ide0:0.fileName = "Ubuntu.vmdk"
...in the (VMWare) .vmdk file
replace
ddb.adapterType = "lsilogic" with ddb.adapterType = "ide"
Comments