Gordon Messmer writes:
On 10/28/19 4:32 PM, Sam Varshavchik wrote:
> With BIOS I knew I needed to run grub-install to manually install grub on
> /dev/sdb in addition to /dev/sda; do I need to do anything analogous to
> that, with EFI?
Typically, no. Anaconda should have created boot records for both. Use
"efibootmgr -v" to confirm.
This gave me:
[root@jack ~]# efibootmgr -v
BootCurrent: 0005
Timeout: 1 seconds
BootOrder: 0005,0000,0006,0007,0001,0002,0003,0004
Boot0000* Fedora HD(4,GPT,0118b02f-d47a-4148-b136-5bd050a22b4f,
0x1b585800,0x200800)/File(\EFI\FEDORA\SHIMX64.EFI)
Boot0001* Hard Drive BBS(HD,,0x0)..GO..NO……..u.S.T.1.0.0.0.D.M.0.1.0.-.
2.E.P.1.0.2………………..A……………………………>..Gd-.;.A..MQ..L. . . . . . . . . . . . .N.Z.
8.1.9.K.Z.A……..BO..NO……..u.S.T.1.0.0.0.D.M.0.1.0.-.2.E.P.
1.0.2………………..A……………………………>..Gd-.;.A..MQ..L. . . . . . . . . . . . .N.Z.
5.1.4.Q.2.H……..BO
Boot0002* UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0003* UEFI:Removable Device BBS(130,,0x0)
Boot0004* UEFI:Network Device BBS(131,,0x0)
Boot0005* Fedora HD(4,GPT,37d6a7fd-d25c-409c-b4f5-d25e954c443a,
0x1b585800,0x200800)/File(\EFI\FEDORA\SHIMX64.EFI)
Boot0006* Fedora HD(4,GPT,0118b02f-d47a-4148-b136-5bd050a22b4f,
0x1b585800,0x200800)/File(\EFI\FEDORA\SHIM.EFI)..BO
Boot0007* Fedora HD(4,GPT,37d6a7fd-d25c-409c-b4f5-d25e954c443a,
0x1b585800,0x200800)/File(\EFI\FEDORA\SHIM.EFI)..BO
Looks like each disk is identified by a UUID label. It took some digging
but these UUIDs appear to match the "PARTUUID" I get from blkid.
Interestingly enough, according to the above, EFI attempts to boot off
/dev/sdb4 first, and /dev/sda4 second:
/dev/sda4: UUID="188c15e0-8ad7-edd7-bd10-72e65efb7b23" UUID_SUB="03955d0a-
ad86-6a78-ab22-9999fdf06108" LABEL="localhost:boot_efi"
TYPE="linux_raid_member"
PARTUUID="0118b02f-d47a-4148-b136-5bd050a22b4f"
/dev/sdb4: UUID="188c15e0-8ad7-edd7-bd10-72e65efb7b23"
UUID_SUB="bcc57875-8168-16b6-58b6-f74477abc969"
LABEL="localhost:boot_efi"
TYPE="linux_raid_member"
PARTUUID="37d6a7fd-d25c-409c-b4f5-d25e954c443a"
Doesn't really matter, just curious that Anaconda sets /dev/sdb4 to be first
in the boot order.