VMware vSphere

 View Only
  • 1.  vm booting EFI error

    Posted Feb 24, 2015 10:43 AM

    hi,

    i tried to convert a physical centos 6.6 machine to vm using stand-alone converter. conversion was a success and if i look at my esxi host, the vm is listed in the inventory list. the only problem is that once i try to turn on the vm i get a boot error regarding efi

    i tried several times converting using p2v to no avail. already check vm setting and make sure boot option was set to EFI.

    please help..



  • 2.  RE: vm booting EFI error

    Broadcom Employee
    Posted Feb 24, 2015 12:52 PM

    Hi blitzkin, and welcome to the VMware Communities!

    For some versions of Linux, you might need to configure the VM's EFI firmware with the location of your OS's bootloader.  There are three ways to do this:

    1. Use the distribution's installation or recovery disc to reconfigure the OS bootloader.  You might some grub-config or update-grub tool, or use efibootmgr directly.

    2. Use EFI setup to add the bootloader directly.  Once your virtual machine gets to the main screen, the procedure varies a bit by ESXi version: You might need to choose Enter Setup.  Then, Configure boot options > Add boot option, and explore until you find a filesystem containing \EFI\CentOS and then look for a file ending in ".efi" -- it might be grubx64.efi or grub.efi.  Once you select that, you can give the boot option a name (i.e. "CentOS 6.6") and give it a place in the boot order, then you should be able to reboot your VM into CentOS.

    3. Use EFI setup to manually launch CentOS.  Once again, you might need to choose Enter Setup.  Choose Boot from a file, and then explore until you find a filesystem containing \EFI\CentOS and then look for a file ending in ".efi" -- it might be grubx64.efi or grub.efi.  Select that, and the OS should boot.  Once the OS is booted, use grub-config or update-grub or efibootmgr to ensure that the EFI configuration is updated with the location of the OS bootloader.

    (I don't have a CentOS EFI installation with me right now, so some of the filenames given above might not be 100% accurate, but hopefully will be close enough to figure out.)

    Cheers,

    --

    Darius



  • 3.  RE: vm booting EFI error

    Posted Feb 25, 2015 08:15 AM

    thanks for the reply Darius..

    there is only one file i was able to select and wont boot:



  • 4.  RE: vm booting EFI error

    Broadcom Employee
    Posted Feb 25, 2015 11:37 AM

    Interesting.  Can you grab the latest vmware.log from inside the VM's directory on the ESXi host, and provide it here as an attachment to your reply?  (Please don't copy and paste the log's contents in your reply... look above the Post Message button for the file attachment facility.)

    Thanks,

    --

    Darius