I apologize in advance because i know this has been answered. The issue is i am new to the virtualbox community and not quite savvy on the jargon that would need to be searched. Hopefully i can get some direction and i can be off and searching these forums.
What i have: I have a PXE server running Centos 5.8 the i use as a lab test environment. I have installed Virtualbox on my Win 7 machine. I need to create an image of my Centos machine with all of my files so i dont have to rebuild the setup and bring it to Virtualbox so i can run it on my 7 machine. I have searched and found VMware converter but now luck. Im probably doing it wrong. I have a clonzilla image but its an AA file.. I am at a loss for what beside "P2V" to search for. Is there something easy out there to accomplish just mirroring my Physical machine in a .vdk or whichever would be best for virtualbox?
Thanks for the help
P2V help
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: P2V help
The basic idea behind P2V is to transform your OS into a virtual machine, but that I am sure you know.
How it is done is to do a dump of the original hard disk into a vdisk file. The format of the vdisk will depend on the tool you use, but if you want to make it in fine a Virtualbox machine, you simply need to get a dump in a format supported by Virtualbox.
I never used vmware convertor but basically check what kind of format you can have and compare with the supported Virtualbox format, and find a match.
Then you can convert the disk to VDI
How it is done is to do a dump of the original hard disk into a vdisk file. The format of the vdisk will depend on the tool you use, but if you want to make it in fine a Virtualbox machine, you simply need to get a dump in a format supported by Virtualbox.
I never used vmware convertor but basically check what kind of format you can have and compare with the supported Virtualbox format, and find a match.
Then you can convert the disk to VDI
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
-
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: P2V help
The standard Linux tool would be dd, but you'll need bags of working disk space (on a separate drive) for the raw disk image it creates. Be sure to dd the entire disk (don't make the newbie mistake of dd'ing just one partition). Transport the raw file to your Windows PC, rename it to have a .raw extension, then clone using CloneVDI with compact option enabled to create a compacted VDI version. Build a VM around the VDI.