Re: /boot/efi on RAID-1 (mdraid)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Attachment: pgprn31A1X8Cj.pgp
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux