This issue is known issue with VMware converter 6.2.0 tool after P2V of either RHEL7 or CentOS7 Linux VM unable to boot and start throwing below error message in VM console
Reason is P2V conversion put invalid character in grub configuration file along with command “: # (removed by Converter)”
in front of grub parameters which make grub boot loader unbootable. Example below:
To solve this issue, you need to rebuild the grub configuration. Below is the command through which you can rebuild the grub configuration of RHEL7 / CentOS7
For Legacy non EFI VMs
grub2-mkconfig -o /boot/grub2/grub.cfg
For EFI based VMs
grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
Latest posts by Charanjit Cheema (see all)
Hello,
I have the same exact issue but I’m missing some info.
how to do use grub2-mkconfig ? from a live centos ?
then you mount the partition ?
You can repair the grub in CentOS rescue mode for this:
* You need to download the CentOS 7 ISO from CentOS site: https://www.centos.org/download/
* Then you need to boot your VM from that ISO and then you need to enter into rescue mode of CentOS. You will find the rescue mode option under troubleshooting menu.