How to boot a Red Hat Enterprise Linux or CentOS 6.x / CentOS 7.x standby virtual machine in an EFI environment

 

Revised on June 23, 2020

 

Operating procedures of booting a Red Hat Enterprise Linux or CentOS 6.x / CentOS 7.x standby virtual machine in an EFI environment

Before booting Red Hat Enterprise Linux or CentOS 6.x / CentOS 7.x standby virtual machine in an EFI environment, you need to create a boot entry before booting up the standby VM.
The following are the operating procedures how to configure the settings.

ESXi Target Host

  1. When booting standby VM in EFI environment the following window is displayed.
    Select [Enter Setup] and press Enter key.
  2.  

  3. Select [Configure boot options] and press Enter key.
  4.  

  5. Select [Add boot option] and press Enter key.
  6.  

  7. Select [NO VOLUME LABEL,] and press Enter key.
  8.  

  9. Select [<EFI>] and press Enter key.
  10.  

  11. Select the following and press Enter key.
  12.  

  13. Select the following and press Enter key.
  14.  

  15. Select [Input the description] and press Enter key.
  16.  

  17. Enter a label name in the displayed dialog and press Enter key.
  18.  

  19. Select [Commit changes and exit] and press Enter key.
  20.  

  21. Select [Exit the Boot Maintenance Manager] and press Enter key.
  22.  

  23. Select [Shut down the system] and press Enter key.
  24.  

  25. Now, you can boot up the system.
    * When a different boot point (snapshot) is selected, you need to configure the above settings again.


When using ActiveImage Protector CentOSBE

  1. Boot into CentOSBE and identify the partition the entry is located.

    In this example, EFI partition is located in "/dev/sda1".

  2. Run the following command and create a boot entry.

    CentOS7.5 or earlier
    # efibootmgr --create --label CentOS --disk /dev/sda1 --loader /EFI/centos/shimx64.efi

    CentOS6.x / RHEL6.x
    # efibootmgr --create --label CentOS --disk /dev/sda1 --loader /EFI/redhat/grub.efi

  3. Boot into CentOSBE again and boot up the OS.

 

Back to Index