VMware

This Question is Answered

4 Replies Last post: May 4, 2009 11:00 AM by vmweathers  

How to convert a phycial Red Hat Linux 7.1 to a virual machine - not supported by VMWare converter? posted: May 4, 2009 1:35 AM

Click to view anderskb's profile Novice 2 posts since
May 4, 2009

Customer has a phycial server running Red Hat Linux release 7.1 (Seawolf) Kernel 2.4.2-2 on an i686.
According to the release notes for vmware vcenter converter 4.0 this apparently is not supported?

I'm supposed to use the vmware standalone converter on this box and hand over the virtual machine files
to the ESX-support, so that they can create it as a virtual machine. Is there a way to do this, even though
it does'nt say so. I dont have much experience using the vmware converter.

Background: the physical box runs an old but still used internet application using apache. Apparently
the application have some quirks that cannot easyly be implented on another host.

Click to view aetm's profile Hot Shot 149 posts since
Jul 11, 2007
Correct, it is not listed as supported and isn't supported.

How about using rsync instead?
Create a VM with the same kind, at least same size hard drive, same type of OS and same kernel on the destination, then create an exclusion list for files and directories you don't want or need copied over (/boot, /dev, /proc etc) and then run the rsync command with the –delete option.
When the Linux distributions are the same most (over 90%) of the files don't get transferred. If the /boot partition is excluded it's important that the two kernels are identical otherwise it will cause problems. If the /boot partition is rsync'd then the initrd file will be wrong and will have to be fixed. You may still want to keep the install discs ready, and man rsync for more options.
Click to view AndreTheGiant's profile Guru 5,942 posts since
Aug 28, 2008

Have you try the new converter (the tar.gz version)?

http://www.vmware.com/download/converter/

In any case your distro seen to be too old, so you have to convert manually.

Click to view vmweathers's profile Expert 470 posts since
Oct 14, 2008
With the "rsync" method you'll still have to reinstall the boot loader, patch grub config, recreate the initrd, and patch fstab. You might as well copy everything over rsync if you do this (that is effectively what we do in Linux P2V anyways).
Alternatively you can use the Cold Clone ISO available as part of the Enterprise Converter 3.X versions -- that will also require you to fix the initrd, fstab, and grub by hand.

(If your question has been resolved please mark the answers as "Helpful" or "Correct".)

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities