Avoid disk problems encountered during VMware P2V and resolve version 5.5

Source: Internet
Author: User

Formal step start: Fill in the Red box account information about the physical machine to be converted to the virtual machine

Select the destination host to which you want to convert the virtual host, fill in the relevant account information

Set conversion parameters: Note Here about the disk settings, note: If the source system is LVM, the disk volume does not convert it to a basic disk mode, it will not be able to mount the LVM volume group to/sysroot when the virtual machine is started at the end of P2V. Causes the virtual machine to fail to start (the following section has the relevant workaround)

Set the basic disk here, click the Edit button

Click the Advanced button to set

In the target layout option, select the second disk, (the disk icon has LVG) Click: Set to Basic (0), then complete the P2V. This time the virtual machine that has been converted is the normal disk/DEV/SDA1/DEV/SDB1,LVM function is canceled, thus open the virtual machine system normally.

Note: If the source system is an LVM disk group, when the P2V process does not change the disk mode, the disk that is converted to the virtual machine is identical to the source system, and there is an issue that does not boot.

Workaround:

Enter Linux rescue mode using the same version of the system ISO image

Input: Linux Rescue carriage return

Language defaults to 中文版 next

Keyboard mode US NEXT:

Does not refer to the network next step:

Continue Next:

The System chroot settings:

Perform a scan of the LVM volume group to see if it is normal Pvscan Vgscan Lvcsan

Chroot/mnt/sysimage

Go to the/boot directory to regenerate the kernel image,

Back up the old image

MV Initrd-2.6.18-194.el5.img initrd-2.6.18-194.el5.old.img

MKINITRD initrd-2.6.18-194.el5.img 2.6.18-194.el5

Then quit the system to restart automatically

Normal boot system ok!

Avoid disk problems encountered during VMware P2V and resolve version 5.5

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.