quarta-feira, 26 de março de 2014

Converter um Computador em Máquina Virtual


VirtualBox P2V Physical to Virtual in VirtualBox

This article explains how you can do VirtualBox P2V convert physical machine to virtual machine in Sun VirtualBox. It’s not straight forward method since there no tools available for VirtualBox P2V Physical to Virtual conversion. But still it’s possible with free VMware tool.
Before start the procedures, let me tell you how it’s going to work.
VirtualBox P2V
We will use a free VMware converter tool to convert physical  to virtual machine which will create VMX and VMDK files according to physical computer and disks configuration.
Then import the created VMDK file to VirtualBox as hard disk, create a virtual machine and boot from VMDK file hard disk. That’s it. It will work fine.
Don’t waste your time to search a tool VirtualBox P2V convert Physical to Virtual in VirtualBox directl, its not available till today if I’m not wrong.  If you are a VirtualBox fan and you want to try P2V and run in Sun VirtualBox, then this is the only VirtualBox P2V option available.

Physical to Virtual in VirtualBox – VirtualBox P2V – Step by step methods

2)      Convert your physical computer to virtual using free VMware vCentre converter as mentioned here. Make sure you select correct physical partitions, processors and memory size for new virtual  machine. Don’t split the virtual disks during the conversion.
3)      Once successfully created, locate the VMX and VMDK files. Don’t bother about VMX files.
4)      Now add the newly created vmdk file to VirtualBox media manager as shown below.
VirtualBox P2V
5)      Read more about adding and accessing vmdk disk files in sun VirtualBox here. This article explains how you can access vmdk disk file as partition in side virtual machine in sun VirtualBox. We don’t require that much now. Just to know how to add vmdk file to sun VirtualBox media manger.
6)      After successfully added vmdk disk file, create a new virtual machine in VirtualBox. Select the correct guest OS, processor type and memory size. In virtual hard disk box  select ‘Use existing Hard Disk’ and browse the disk you added by vmdk file in VirtualBox media manager. So your new virtual machine will boot from vmdk disk which we converted from physical to virtual.
Physical to Virtual VirtualBox P2V
7)      That’s it. Boot the virtual machine now. It will be booting and working fine. Sometimes it may install additional required drivers on sun virtual machine. Let it complete and install the Sun guest additions  to get better display performance with additional features.
8)      You must see your physical computer on Sun VirtualBox as virtual machine now. This is the easiest method to convert Physical to Virtual in VirtualBox – VirtualBox P2V with free tool.
9)      If you are still interested in running pure sun VirtualBox machine with VDI files, you can convert your newly created VMDK files to VDI format with free tool as mentioned here. After created vdi file add it to media manager and boot virtual machine from vdi files.
If you face any problem let me know, we can solve it together. if I’m wrong about VirtualBox P2V tools tell me where I can download  it and do P2V in Sun VirtualBox in one shot.

VMware Training - Physical to Virtual (P2V) Migrations with the VMware vCenter Converter


Fontes: