Copy VDI to physical partition

This is for discussing general topics about how to use VirtualBox.
Post Reply
dzenanz
Posts: 2
Joined: 9. Feb 2011, 13:54
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: WindowsXP,Linux

Copy VDI to physical partition

Post by dzenanz »

Hi all,

is it possible to copy virtual disk onto a physical one (physical partition)? I have working Fedora13 system with some software installed on a virtual disk, and I would like to set it up into a partition on my physical disk. Is this possible and worth the trouble (takes less time than installing and configuring new Fedora, and installing a few special libraries)? If yes, how?

The reason I want to do this is that nVidia's CUDA does not work in VM, and I would like to have a clean system for testing my software.

Regards,
Dženan
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Copy VDI to physical partition

Post by mpack »

It's easy if you have the right software. Search for Ghost, Acronis, CloneZilla etc. dd will no doubt be mentioned, but IMHO it should be considered very much a last resort.
dzenanz
Posts: 2
Joined: 9. Feb 2011, 13:54
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: WindowsXP,Linux

Re: Copy VDI to physical partition

Post by dzenanz »

Thanks for the suggestion, it is a good idea.

But CloneZilla only supports VMware's format, so I would have to convert to it first, and this all leads to more hassle than just doing the whole installation in a normal way. Other packages do not seem to support VM disk images.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Copy VDI to physical partition

Post by mpack »

dzenanz wrote:But CloneZilla only supports VMware's format
If CloneZilla supports any individual VM platform hdd format then I was not aware of it. That was not my suggestion.

My suggestion is that you run the disk imaging tool of your choice from inside a VM, imaging the VMs hard drive and writing the image file to a shared folder or USB external drive. You then go to your intended target PC, boot up the live CD version of the same disk imaging tool, and "restore" the image onto that PC's hard drive. In other words, do exactly what you would do to migrate an image between two physical PCs.
Post Reply