PDA

View Full Version : is it posible to copy a virtual hard drive to a real one?



markp1989
October 9th, 2007, 06:07 PM
i have set u p a virtual pc exactly how i want it, i was wondering if it was possible using dd or something similar to copy the virtual to a real hard disk?

i tried dd if=/path/to/virtualdrive.vdi of=/dev/sdb

but that just gives me and invalid partition table on my usb hard drive

can any one cast some light on this situation, and i will be extreamly great full

HermanAB
October 9th, 2007, 06:41 PM
VMware has a tool to do that. With other virtual systems you are probably out of luck.

markp1989
October 9th, 2007, 07:38 PM
VMware has a tool to do that. With other virtual systems you are probably out of luck.

ok, thanks for you help, i will look in to vmware some time soon

reacocard
October 9th, 2007, 08:13 PM
It the virtual OS linux? If so you can probably just set up a network share from the VM and copy files over, then install GRUB to the MBR of the new partition by hand and edit /etc/fstab and /boot/grub/menu.lst to reflect the new drive.

HermanAB
October 9th, 2007, 08:47 PM
This thing can do it:
http://vmware.com/products/converter/

You can do conversions like this manually, but since the tool is free there is not much point in struggling with it.

Cheers,

H.

markp1989
October 9th, 2007, 09:59 PM
This thing can do it:
http://vmware.com/products/converter/

You can do conversions like this manually, but since the tool is free there is not much point in struggling with it.

Cheers,

H.

i tried this , but it doesnt see image files from virtualbox

Jose Catre-Vandis
October 9th, 2007, 10:18 PM
Do as reacocard says, (for a Linux install) and just copy files to a new partition. You will probably have to do some hardware reconfiguration e.g. graphics/xorg, but it should work. With XP/Vista you will be on stony ground, these two get really hacked off about the different hardware, although with XP you can try a repair install from CD, which will keep some of your settings (but you may have to reinstall apps). Vista I do not know about, but i guess it will be even more hacked off than XP, and probably refuse any action :)

RAV TUX
October 10th, 2007, 01:22 AM
i have set u p a virtual pc exactly how i want it, i was wondering if it was possible using dd or something similar to copy the virtual to a real hard disk?

i tried dd if=/path/to/virtualdrive.vdi of=/dev/sdb

but that just gives me and invalid partition table on my usb hard drive

can any one cast some light on this situation, and i will be extreamly great fullYou can do this in QEMU.