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