[CentOS] CentOS6: HELP! EFI boot fails after replacing disks...

Tue May 29 03:49:54 UTC 2018
Gordon Messmer <gordon.messmer at gmail.com>

On 05/28/2018 06:20 PM, Robert Heller wrote:
> The UUID in the BIOS is NOT VFAT volume.  It is something completely
> different.  I have no clue what it is -- it does not correspond to anything I
> can find.


It should be the UUID of the partition, not of the VFAT volume. The 
partition UUID is stored in the GPT.  The volume UUID is stored in the 
filesystem header (I believe).

For example, on my laptop:

# efibootmgr -v | grep Fedora
Boot0000* Fedora 
PciRoot(0x0)/Pci(0x17,0x0)/Sata(2,65535,0)/HD(1,GPT,39484dd8-b1d9-47b2-b4d7-89dfe3ce5e09,0x800,0x12c000)/File(\EFI\fedora\shimx64.efi)

# blkid | grep sda1
/dev/sda1: LABEL="ESP" UUID="3850-574E" TYPE="vfat" PARTLABEL="EFI 
System Partition" PARTUUID="39484dd8-b1d9-47b2-b4d7-89dfe3ce5e09"

# sgdisk -i1 /dev/sda
Partition GUID code: C12A7328-F81F-11D2-BA4B-00A0C93EC93B (EFI System)
Partition unique GUID: 39484DD8-B1D9-47B2-B4D7-89DFE3CE5E09
First sector: 2048 (at 1024.0 KiB)
Last sector: 1230847 (at 601.0 MiB)
Partition size: 1228800 sectors (600.0 MiB)
Attribute flags: 0000000000000000
Partition name: 'EFI System Partition'