I'm trying to boot my existing Ubuntu installation on /dev/disk0s3 (80GB on a 230GB drive) as a raw disk device with VirtualBox 3.2.6. But, neither GRUB nor Linux/Ubuntu can see any of my partitions.
I created the vmdk like this:
Code: Select all
VBoxManage internalcommands createrawvmdk -rawdisk /dev/disk0 -partitions 3 -filename disk0s3_01.vmdk -register -mbr grub.mbr Code: Select all
GRUB loading.
error: no such partitionCode: Select all
grub rescue> ls
(hd0)
grub rescue>If, on the other hand, I create the vmdk file like this:
Code: Select all
VBoxManage internalcommands createrawvmdk -rawdisk /dev/disk0s3 -filename disk0s3_02.vmdk -registerCode: Select all
GRUB Geom Error
FATAL: INT18: BOOT FAILUREi have no idea how to fix grub to allow Linux to boot in either case, and if i boot up a live CD and try to reinstall grub on the virtual disk's MBR i get a segfault in grub-setup.
Any help appreciated.