VMware Cloud Community
Megahalems
Contributor
Contributor
Jump to solution

Problem after convert cent os 5 from xen server to esxi

Hello all,

I have a problem with V2V using vmware converter 5.

I have Cent OS 5.7 Final running in Xen Hypervisor on Cent Os  5 platform and I tried to convert the guest os (Cent OS 5.7) in xen server to esxi.

The converting job was completed succesfully.

But there is a problem when i'm try to turn on the converted machine in esxi.

it can't boot successfully and the error message was like this ..

Mounting /dev/VolGroup00/LogVol00 on /sysroot

mount: mounting /dev/VolGroup00/LogVol00 on /sysroot failed: No such file or directory

mount: mounting /dev on /sysroot/dev failed: No such file or directory

Switching / to /sysroot

switch_root: bad newroot /sysroot

Kernel panic - not syncing: Attempted to kill init!

Anyone have any idea about this issue? and how to fix it?

Thx

Reply
0 Kudos
1 Solution

Accepted Solutions
ivivanov
VMware Employee
VMware Employee
Jump to solution

You can try to boot from a boot CD and rebuild the initrd image on the target VM. I have seen a similar problem with CentOS (not with a Xen VM though) and this fixed the issue for me.

__________
It is worse!

View solution in original post

Reply
0 Kudos
5 Replies
ivivanov
VMware Employee
VMware Employee
Jump to solution

You can try to boot from a boot CD and rebuild the initrd image on the target VM. I have seen a similar problem with CentOS (not with a Xen VM though) and this fixed the issue for me.

__________
It is worse!
Reply
0 Kudos
Megahalems
Contributor
Contributor
Jump to solution

Hmm, i see, so using boot cd  is the only way to convert it. I will try it then .

But I still don't understand, last time i tried to convert cent os on the physical machine and it can boot normally.

Are there any differences between P2V and V2V? 

Reply
0 Kudos
ivivanov
VMware Employee
VMware Employee
Jump to solution

I don't know what is the root cause of this, but sometimes target boots without problems and sometimes it doesn't. It has something to do with LVM though - I have tried the same problematic conversion and converted the volumes on the target to basic volumes (which was the behavior of Converter 4.x) and then the same conversion succeeded and the target VM booted up successfully.

__________
It is worse!
som94
Enthusiast
Enthusiast
Jump to solution

Hi Megahalems,

Welcome to the community.

At the GRUB screen select the entry you wish to boot in to (most likely the one that's selected as default), press e and then remove 'quiet' and 'splash' from the kernel line if present. You can then press Ctrl-X to boot. This might display a little more information that could be useful.  .

"Life would be so much easier if we only had the source code"
Megahalems
Contributor
Contributor
Jump to solution

Hi, som94

Sorry for my late reply and thx for your answer.

When you remove 'quiet' and 'splash' from the kernel line, whether it will affect with the OS and the application that I already installed?

Reply
0 Kudos