GPT misconfiguration after performing a P2V to Openstack Kilo leads to a "No operation system found" error
Issue
- Trying to do a P2V of a physical RHEL-7 machine using a Vmware-Converter onto a Openstack 7 environment ?
- P2V of physical node produces a VM which boots to "No operation system found".
- The cause is the Converter tool failing to reconfigure the boot partition. Error is as follows:
FAILED: An error occurred during the conversion: 'GrubInstaller::InstallGrub: /usr/lib/vmware-converter/installGrub.sh failed with return code: 1, and message: Installing for i386-pc platform. grub2-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible. grub2-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged.. grub2-install: error: will not proceed with blocklists. Installing for i386-pc platform. grub2-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible. grub2-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged.. grub2-install: error: will not proceed with blocklists. Error installing GRUB Command: grub2-install --no-floppy /dev/sda Error running vmware-updateGrub.sh through chroot into /mnt/p2v-src-root /usr/lib/vmware-converter/installGrub.sh: line 147: /mnt/p2v-src-root:
Is a directory Installing GRUB2 on (hd0)... Installing GRUB2 on (hd0) failed. Installing GRUB2 on /dev/sda... '
- On every boot of the VM the above error is seen.
Environment
- Red Hat Enterprise Linux 7.0 physical system.
- Vmware standlone converter being used.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.