VMware {code} Community
DashPartha
Contributor
Contributor

P2V Conversion error on VMware Converter

Hi,

I was converting a Physical Linux RHEL3.0 server to Virtual but it din't go through,i tried with all the version available & with latest VMware Converter5.0. While converting it goes upto 98% & fails with below error msg.

2013-03-08T11:51:11.127-08:00 [05476 verbose 'JobListDataProvider'] Adding job: (converter.server.conversion.ConversionJobInfo) {

-->    dynamicType = <unset>,

-->    key = "job-12",

-->    owner = "me(name changed)",

-->    state = "deactivated",

-->    activeTask = <unset>,

-->    creationTime = "2013-03-01T06:59:22.162599Z",

-->    lastModifiedTime = "2013-03-01T07:42:57.412599Z",

-->    mostRecentError = (converter.fault.CloneFault) {

-->       dynamicType = <unset>,

-->       faultCause = (vmodl.MethodFault) null,

-->       description = "cannot find initrd config file /mnt/p2v-src-root/etc/modules.conf in target",

-->       msg = "An error occurred during the conversion: 'cannot find initrd config file /mnt/p2v-src-root/etc/modules.conf in target'",

-->    },

-->    numConsecutiveErrors = 1,

-->    lastRunStartTime = "2013-03-01T06:59:23.287599Z",

-->    lastRunCompleteTime = "2013-03-01T07:42:57.256349Z",

-->    nextRunStartTime = <unset>,

-->    job = 'converter.server.conversion.ConversionJob:job-12',

-->    targetVm = (converter.ComputerSpec) {

-->       dynamicType = <unset>,

-->       location = (converter.ComputerSpec.ManagedVmLocation) {

-->          dynamicType = <unset>,

-->          vimConnect = (converter.VimConnectionSpec) {

-->             dynamicType = <unset>,

-->             hostname = "(host name changed)",

-->             port = <unset>,

-->             credentials = (converter.VimConnectionSpec.LoginVimCredentials) {

-->                dynamicType = <unset>,

-->                username = "root",

-->                password = (not shown),

-->             },

-->             verifyPeer = true,

-->             sslThumbprint = "3A:41:2E:D4:21:F8:F8:12:CD:B2:67:50:55:5A:40:02:B2:87:01:34",

-->          },

-->          vm = 'vim.VirtualMachine:27',

-->          uuid = "564d3835-18b2-1407-f7bf-911a99d8b50d",

-->          vmName = "VMname changed",

-->       },

-->    },

-->    scheduledTask = <unset>,

-->    source = "source machine"(machine name changed)

-->    target = "destination machine(machine name changed)

 

Can anyone help me on this

Cheers!!!!! Parthasarathi Dash
0 Kudos
3 Replies
patanassov
VMware Employee
VMware Employee

The error message is "cannot find initrd config file /mnt/p2v-src-root/etc/modules.conf in target"

/mnt/p2v-src-rooot is the mount point where the source file system is mounted in the helper VM. It seems you don't have /etc/modules.conf on the source machine. Find out which file has the modules configuration , copy it to /etc/modules.conf and try the conversion again.

HTH

Plamen

0 Kudos
DashPartha
Contributor
Contributor

Hi,

There is no modules.conf file present in /etc & the source machine has Red Hat Enterprise Linux AS release 3 installed.

Cheers!!!!! Parthasarathi Dash
0 Kudos
patanassov
VMware Employee
VMware Employee

Please read again my previous post:

"It seems there is no /etc/modules.conf on the source machine. Find out which file has the modules configuration , copy it to /etc/modules.conf and try the conversion again."

This file is expected to be there. Converter will add/remove modules in this file during reconfig. Find out which file has the modules list and make a copy of it to /etc/modules.conf. If you can't find it, try creating an empty /etc/modules.conf. It is quite probable that the destination VM doesn't boot after conversion. You will probably need to copy the configuration file back again to its source after the conversion and recreate the initrd image.

0 Kudos