0

I've got an old small form factor PC (x86). It boots from a CF card. I'd like to develop software for it but I don't want to use it for debugging since I might brick it. This is why I've tried creating a virtual machine from it. First, I compied the card content using dd into a raw image file. Then I used the VirtualBox's tool VirtualManager to convert it into a virtual hard drive (vhd). Following this guide.

I can mount the raw image file in Linux and read from it as well as I can use the vhd file as Secondary Master device attached to an existing Virtual Machine - but I can't boot from it. This it the error I get:

FATAL: No bootable medium found! System halted.

How can find out what VirtualBox is expecting from the vhd provided that I have to specify certain option for the image conversion?

Checking the log files for the VM didn't help either.

Jim McAdams
  • 165
  • 9
  • SD or CF? Different technologies. Did you copy the MBR too? – Austin T French May 29 '15 at 18:24
  • It's definitely CF and yes that's a good question about the MBR. I wasn't really taking care of that but since VirtualBox DOES recognize it as a drive I suppose it is compied as well, isn't it. All I did to get the raw image was `dd if=/dev/sdbX of=~/myimage.img` – Jim McAdams May 29 '15 at 22:52
  • 1
    OK I repeated it and it turns out I indeed forgot to copy the MBR. Now it's working as expected. [AthomSfere](http://superuser.com/users/208421/athomsfere), if you could create an answer from your comment (one liner is enough) then I will accept it as the right answer. – Jim McAdams May 30 '15 at 13:32
  • Glad it helped ;) – Austin T French Jun 01 '15 at 13:45

0 Answers0