Linux Conversion error in vcenter converter xenserver

Source: Internet
Author: User

 

 

Requirement: migrate an ubuntu instance on xenserver5.6 to ESXi 4.1.0.

First, deploy a vmware vcenter converter standalone. The specific steps are omitted. An error occurs at 99%: The target virtual machine cannot be reconfigured.

Check the log and find the following sentence:

(Converter. fault. CloneFault ){

DynamicType = <unset>,

FaultCause = (vmodl. MethodFault) null,

Description = "GrubInstaller: InstallGrub:/usr/lib/vmware-converter/installGrub. sh failed with return code: 127, and message:

Vmware-updateGrub.sh: 38: grub: not found

Error running GRUB

Error running vmware-updateGrub.sh through chroot into/mnt/p2v-src-root

", Msg = "",}

 

We guess it should be grub. ubuntu and centos have different boot kernel methods.

Confirmed: finding a new centos is a smooth task. It indicates that the convert fails due to a ubuntu boot program problem.

However, after convert is completed, centos cannot be started,

Booting 'centos (2.6.18-92.1.10.el5.xs5.0.0.39xen )'

Root (hd0, 0)

Filesystem type is ext2fs, partition type 0x83

Kernel/vmlinuz-2.6.18-92.1.10.el5.xs5.0.0.39xen ro root =/dev/VolGroup00/LogVol00 console = xvc0

 

Error 13: Invalid or unsupported executable format

Press any key to contine...

Think about it, because when xenserver installs centos, the Linux kernel 2.6.18-92.1.10.el5.xs5.0.0.39xen is modified, and the normal kernel is 2.6.18-164. el5. The X. xen kernel modified by xenserver cannot run on the vmkernel (vmkernel supports linux Class original kernel)

Afterwards: Check whether the kernel can be modified to start the virtual machine under the converted xenserver.

 

This article is from the "star happiness" blog

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.