24 de maig 2010

Personal backup apliance vmware, P2V - Virtualizing an existing OS install using PBA , virtualizar lo que sea en vmware

http://canned-os.blogspot.com/2006/12/personal-backup-appliance-getting.html


P2V - Virtualizing an existing OS install using PBA
The Personal Backup Appliance VM can be used to move an existing OS install on real hardware to a VM. The process is popularly called "P2V." "P2V" stands for "Physical to Virtual."

If the physical OS install is Linux, all you need to do is backup the OS install onto the PBA VM, create a new VM and then restore the backup into the new VM. You need to make sure you create a VM with the right storage device, either IDE or SCSI, depending on the configuration of your physical OS install.

If you try the same thing with Windows 2000 or Windows XP, things won't go quite as smoothly. In fact, you will get a scary blue screen.

The blue screen occurs because the VMware scsi drivers are not installed. This is a problem that occurs if you use any off-the-shelf disk copying program (e.g. Ghost, etc.) to dupe a real hard disk to a virtual one. The problem isn't limited to PBA.

To make the blue screen go away, you need to inject the scsi drivers and registry changes into the OS install without booting it up. There are several options, that I know of, for doing this.

1. VMware has a product called Virtual Machine Importer that's in Beta and can be downloaded. It didn't work for me.
2. VMware has a commercial product called P2V. I didn't try P2V.
3. There's a free plugin to BartPE Boot CD called Ultimate-P2V. Using Ultimate-P2V to virtualize a windows XP installation worked like a charm. Follow the instructions on this page and build it: http://www.rtfm-ed.co.uk/?page_id=174

Once you have a working BartPE Boot CD with Ultimate-P2V, you can use the Personal Backup Appliance to virtualize your OS install. You can download the Personal Backup Appliance here: http://pba-vm.sourceforge.net

First, power on the Personal Backup Appliance VM. Let it boot to the Ubuntu desktop.

Next, from the physical system:

1. Boot from the PBA client CD on the computer that you want to virtualize.
2. At the main menu, select Backup Disk, and enter a filename.
3. When backup is complete. Power off the system.

Now, we need to create our VM.

1. Create a new VM with a SCSI vmdk hard disk. Choose Buslogic.
2. Configure the VM to boot from the PBA client CD iso, then power on the VM.
3. At the main menu, select Restore Disk and choose the archive that you just created.
4. When restore is complete. Reboot the VM.
5. The VM will blue screen when attempting to boot up. This is expected.
6. Power off the VM.
7. Configure the VM to boot from your BartPE Boot CD with Ultimate-P2V.
8. After BartPE boots up, follow the instructions from the Ultimate-P2V site to inject both the Buslogic and LSIlogic drivers.
9. Shutdown the VM, and let it boot from the hard disk.

If everything went as expected, your desktop from your physical computer should be booting in a VM.