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.

4
  • SD or CF? Different technologies. Did you copy the MBR too? Commented May 29, 2015 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 Commented May 29, 2015 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, if you could create an answer from your comment (one liner is enough) then I will accept it as the right answer. Commented May 30, 2015 at 13:32
  • Glad it helped ;) Commented Jun 1, 2015 at 13:45

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.