How to P2V linux into VMware ESX Server
There is quite a few ressources arround when it comes to converting Windows boxes to Virtual machines. Using VMware Converter for your conversion as a tool is pretty straightforward. It’s a free tool from VMware you can Download here. But what to do if you want to convert a Linux machine which does not have GUI (graphical user interface). I’ll try to help. I suppose that you have a Linux server, an workstation under XP and your infractructure ESX.
The steps you need to do:
01.) Download Vmware Converter for linux here.
02.) Extract the converter package on your linux server: “tar xf VMware-converter-4.0.0-146302.tar.gz”
03.) Start the installation “cd vmware-converter-distrib/ && ./vmware-install.pl”
04.) You can just accept the majority of the options just make sure that you activate the remote access “Do you want to enable remote access in Converter Standalone Server? yes”
05.) Usually a linux server has an Apache installed on port 80, so good think to do is to add aditional port for http proxy : “What port do you want the HTTP proxy to use? [80] 8080 and What port do you want the HTTPS proxy to use? [443] 444
06.) Also you should go and allow root to login localy “/etc/ssh/sshd_config change the line PermitRootLogin yes
07.) Then you just leave your linux server and go to your Windows XP or Vista Workstation and connect to your linux server remotely via http for example “http://192.168.0.1:444”
08.) Download and install the VMware Converter client.
09.) Start the Converter Client and go to Administration > Connect to another server

10.) In the credentials window just enter the IP address followed by the port number, then the root login and password.

11.) Enter the credentials once more and choose Linux as a OS family.

12.) Then Just follow the assistant for the rest of the steps. As a destination you choose the ESX server IP adress or hostname. There is nothing difficult with that…
Related Posts :
Just watch this video. It's really great. I wouldn't see it this way until I saw the video... No ...
As I said in one of my previous articles, there was a update for VMware Workstation 6.5.2 last w ...
Speed up your Guest VM with paravirtual SCSI adapters: PVSCSI is part of vSphere 4 I wrote an a ...
VMwares vSphere 4.0 (it's new name for ESX) , the new product line from VMware, will be running ...
In case you are not using free Openfiler under Linux for your VMware ESX Server/vSphere 4 homela ...
Other posts from Server Virtualization
- Adding second service console via CLI
- Disable web access on VMware vCenter
- VMware ESX - Configuration of Service console via CLI
- Basic VMware ESX CLI networking commands
- How to change the default location of updates in vCenter
- Did you know that ESX 3.5 general support will end in less than 90 days?
- Starwind iSCSI HA Connection to ESX Server
- See a list of Storage Array Type Plugins on ESX Server
- New whitepaper released on PVSCSI
- Enable Jumbo Frames in ESXi 4
- How-to troubleshoot iSCSI connection to your SAN
- Starwind with ISCSI SAN Software can do High Availability for you...
- Overview Video from the new vSphere Pro video training from Train Signal
- New upgrade webpage for ESXi 4 pushes us to the right direction?
- You know how to collect diag information when your ESXi does PSOD?
- Use PVSCSI or not for lower intensive workloads
- Hardening guides for vSphere 4
- NTLDR missing - silly but can happend
- How To Shrink VMware Virtual Disk Files and disable shrinking
- vSphere Quick Start guide bonus download..
- ESXi - the past, the present and the future
- Farm commander - management tool for VI and TS or Citrix Farms
- How to collect log information from vCenter Server 4
- How to know where is my VM if vCenter is down?
- New patches for ESX 4 and ESXi 4
- Use VMware Converter to import 3rd party VMs, for example Virtual Iron's VMs
- Windows XP installation as a VM - trouble to see the disk or not?
- Vmware HCL for ESXi 4
- Time keeping for Windows VM's best practices
- Virtu-Al releasing 3rd update of PowerPack



















It gives me “Server logon failed due to a bad user name or password.”
I am doing exactly as you instruct above.
Great guide! Is there a way to make VM-images on disk such as Workstation 5/6.x or Fusion machines? Seems like this export option only works for Windows machines, not LINUX.
Nice post. I am doing something similar however, my destination is actually a machine running VMWare Server 2.0. Any help? I can get to the destination portion but I cannot make it any further as it seems to want to work with ESX only. Thanks.
I wanted to use this on CentOS however …
This only works for the following Linux distros:
# Red Hat Enterprise Linux 2.1 (32 bit)
# Red Hat Enterprise Linux 3.0 (32 bit and 64 bit)
# Red Hat Enterprise Linux 4.0 (32 bit and 64 bit)
# Red Hat Enterprise Linux 5.0 (32 bit and 64 bit)
# Red Hat Linux Advanced Server 2.1 (32 bit)
# SUSE Linux Enterprise Server 8
# SUSE Linux Enterprise Server 9 (32 bit and 64 bit)
# SUSE Linux Enterprise Server 10 (32 bit and 64 bit)
# Ubuntu 5.x
# Ubuntu 6.x
# Ubuntu 7.x (32 bit and 64 bit)
Hello,
Why installing something on the linux server ? Running the conversion directly from your windows XP “Vmware vCenter converter standalone” seems to be ok no ?
[Some steps are not needed according to me (see: http://dontneedcoffee.blogspot.com/2010/02/p2v-linux-to-vmware-esx-or-vmware.html ) ]
I has a Debian 3.1 LInux box that I want to add to my VMware server.
It does not have a gui console. “Cafeine” indicates that I don’t need to install VMware on my LInux box, but I get the following errors:
SourceSelectPluginModel::BuildFilter 3rd party type microsoftVirtualPCVM
not found; – parallelsVM not found; – vmwareVCBBackup not found; -
livestateBackup not found; – shadowProtectBackup not found; -
acronisBackup not found; – vmwareVM not found
THX. // Brian
Brian :
Have you take a Look at that : http://communities.vmware.com/message/1226509
Thanks. This helped me alot.
Hi,
i have a problem in passing the last step in your tutorial where after giving remote machine related IP, user,pass information, it tries to query the source machine but then times out with the following message:
“Unable to query the live Linux source machine”
Is there any port/ssh permit that prevent this client to connect to my server?