If I understand correctly, then you will want to follow this process
- Boot both servers with a boot CD
- Make sure you have network connectivity (same switch or direct connect would be ideal)
- Make sure you understand that the drive mappings have to stay the same. ie, old sda must go to new sda. old sdb must go to new sdb.
- Understand that this process will overwrite anything in the VM. You are copying DRIVES,.. that means UUID's, partitions, MBRs.. ALL OF IT.
Code:
#On the new VM, start a listener:
nc -l 8888|bzip2 -d|dd bs=16M of=/dev/sda
Code:
#On the old computer start a sender:
dd bs=16M if=/dev/sda|bzip2 -c|nc VM.SERVER.IP 8888
Do that for each drive (sda, sdb, sdc and so on)
At the end of this, you will have copied each drive from the old server to the new VM. Essentially CLONING it from old to new.
You will have to make minor config changes,.. such as the IP address if you are using static IP's, and the mac address if it is statically set. Also, there might be some VM configuration you will have to change, such as Network Adapters and number of CPU's.