Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Today I created a VHD of the box I'm typing this on, i.e. my current working box, in hope of cloning it, using the disk2vhd tool. This offered me two partitions, viz Recovery and main, and I only chose main.

When I attach the vhd to a VirtualBox vm I get a "Missing Operating System" error when I try and start the machine. I have tried the disk on SATA and IDE. What else could be wrong?
Posted

1 solution

I believe the master boot record is not set on the image (which is strange if you used disk2vhd as it should have copied it).

Try : http://www.sevenforums.com/tutorials/20864-mbr-restore-windows-7-master-boot-record.html[^]

You could also use a partition editor and have it set the disk to be bootable.
 
Share this answer
 
Comments
Brady Kelly 27-Aug-12 0:42am    
So I would first attach the vhd in Disk Manager before attempting this, I presume?
Mehdi Gholam 27-Aug-12 0:52am    
Yes, as a side note for client side VM's I prefer VMPlayer which has a P2V convertor which does all this automatically).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900