Posts

Showing posts from April, 2009

Fixing a Linux VMWare image
which won't boot in VirtualBox

Access GRUB settings while running in VMWare in /boot/grub/menu.lst replace kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/ sda1 ro with kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/ hda1 ro in /etc/fstab replace all occurrencies of sda with hda example: /proc /proc proc defaults 0 0 /dev/ sda 1 / ext3 defaults,errors=remount-ro 0 1 /dev/ sda 3 /toolchain ext3 defaults,errors=remount-ro 0 1 /dev/ sda 5 none swap sw 0 1 ... becomes /proc /proc proc defaults 0 0 /dev/ hda 1 / ext3 defaults,errors=remount-ro 0 1 /dev/ hda 3 /toolchain ext3 defaults,errors=remount-ro 0 1 /dev/ hda 5 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:0 example: 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 = " lsil