Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3454
  • Last Modified:

Linux Version of P2V Assistant


I have a client who has 3 mission critical Linux boxes whose hardware is well by it's sell by date. I've used VMWare's P2V Assistant many times before for migrating dated Windows servers, and it's a great tool, but does anyone know if there's a Linux P2V equivalent for copying live Linux boxes?


3 Solutions
I don't know if this is an option, but you could use ghost to make an image (boot from cd, send image over the network to windows box) and run p2v on the ghost image.

I don't know of any way to do it while staying in a 100% linux environment - hopefully someone else will have some insight?
The following wiki looks like it could address your requirements pretty well.

You can clone a live linux system to a VM or directly to the new machine using dd and netcat...

# Boot the new machine (which we will call Slave) with some Linux media like a Knoppix live CD. Note it's IP address. Say the IP address is also run fdisk -l to show you the device id's. In this example I'm using /dev/sda.

# On Slave, run
nc -l -p 9000 | dd of=/dev/sda
(note that it is important to start with Slave)

# On old Master, run
dd if=/dev/sda | nc 9000

It may take a long time to complete. Note one issue you may have is that the old Linux kernel may not support your new hardware.
VMware Converter Enterprise converts Linux machines. However it does not update the drivers. You will have to do this manually.

More than likely the main driver updated needed would be the disk (Buslogic) module. To update it you would need a linux rescue CD.

# Mount the rescue CD
# At the prompt do a chroot /mnt/sysimage.
# Go to /etc/modules.conf and back it up.
# Edit it removing all the physical SCSI driver that could be aliased in the file - replacing it with BusLogic driver.
# Change directory to /boot and make a copy of your ramdisk(s) just in case of error
# Runthe mkinitrd command to rebuild  the modules for the Buslogic driver (mkinitrd -f -v /boot/initrd-[version]-img [version]).
# Reboot

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now