I ripped a Linux Mint partition into a file using the dd command:
sudo dd if=PART_PATH of=OUTPUT_PATH/ubuntu.bin
Then I converted it into a *.vdi
VBoxManage convertdd PATH_TO_ubuntu.bin ubuntu.vdi --format VDI
But when I try to boot into the vdi from Virtualbox I get an error
FATAL: No bootable medium found? System halted.
Even though I chose the *.vdi file as the hard drive.
So I tried booting into a live CD and the virtual hard drive shows up as /dev/sda, I was able to mount it and browse system files. So the *.vdi file is working but I can't boot.
I tried to chroot
into the system in the VDI via the live system and ran the command to rebild GRUB but it didn't do anything. I also tried boot-repair
.
*How do I make VirtualBox boot into the ripped .vdi instead of it just being read like a storage hard drive?