[CentOS] UEFI boot manager sequence problems HP Envy

Thu May 30 12:16:37 UTC 2019
Jonathan Billings <billings at negate.org>

On Thu, May 30, 2019 at 10:50:16AM +0100, Gary Stainburn wrote:
> [root at gary ~]# efibootmgr -v
> BootCurrent: 0004
> Timeout: 0 seconds
> BootOrder: 0002,3002,0000,0003,0004,0005,2001,2002,2003
> Boot0000* Linux HD(2,GPT,14c4ac1d-abd8-4121-84ee-c05a825920de,0x145800,0x64000)/File(\EFI\centos\shim.efi)
> [...]
> [root at gary ~]# blkid
> [...]
> /dev/sda2: SEC_TYPE="msdos" UUID="1437-B8F4" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="14c4ac1d-abd8-4121-84ee-c05a825920de"                   
> [...]

This is all I was asking you to check.  See the PARTUUID in the output
of blkid?  PARTUUID="14c4ac1d-abd8-4121-84ee-c05a825920de"
It matches the UUID of the boot entry:
HD(2,GPT,14c4ac1d-abd8-4121-84ee-c05a825920de,0x145800,0x6400\0)/File(\EFI\centos\shim.efi)

I do see you have 4 separate boot entries for Linux (one oddly called
fedora despite using the CentOS shim), you might do well to narrow
them down to just one. 
(efibootmgr -B -b <bootnum>)

If your BIOS has the ability to choose to boot from a file, I suggest
giving that a try, and try both /EFI/centos/shim.efi and
/EFI/centos/grubx64.efi.  Perhaps one or the other isn't working
anymore. 


-- 
Jonathan Billings <billings at negate.org>