Gentoo Archives: gentoo-user

From: peter@××××××××××××.uk
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: [gentoo-user] UEFI booting again
Date: Mon, 12 Oct 2020 09:15:24
Message-Id: Zen-1kRtvI-0002sN-Aa@smarthost03b.mail.zen.net.uk
In Reply to: Re: [gentoo-user] UEFI booting again by Jack
1 On 2020-10-12 12:26 AM, "Jack" <ostroffjh@×××××××××××××××××.net> wrote:
2 > On 10/11/20 7:37 PM, Jude DaShiell wrote:
3 > > If you followed the handbook /dev/sda2 would be where the boot record lives.
4 >
5 > I don't think so, but the terminology is certainly confusing. Peter
6 > asked where efibootmgr writes something.  What is on /dev/sda2 could be
7 > grub.cfg if it were mounted at /boot, and the grub booting stub (I
8 > forget the correct name, but grubx64.efi) might be on /dev/sda2 if it
9 > were mounted at /boot/EFI.  However, efibootmgr doesn't mess with either
10 > of those.  It deals with what is stored in the UEFI boot firmware.  That
11 > entry, which is read by the UEFI at boot time, runs the entry in the EFI
12 > disk partition (usually under /boot/EFI), which then runs the kernel
13 > (and possibly initramfs) in /boot.  Unfortunately, "boot record" is
14 > probably too general a term.
15
16 Yes, I meant the equivalent of that in an MBR system. Where the bootable kernel image lives is another matter.
17
18 I haven't been using grub, just efibootmgr to declare the image to the UEFI BIOS, and bootctl from systemd-boot to show a list of boot options.
19
20 I assume there's something like an EEPROM on the motherboard to contain pointers (what I called boot records) to the the bootable kernel images. That's what I was asking about. I'm pretty sure that that table doesn't live on the disk. (Followers of this tale may remember that I had a problem with the NVMe disk; it turned out to be faulty, and I've replaced it. Windows could still boot on another disk without any intervention by me.)
21
22 Can someone confirm or refute those ideas?
23
24 >
25 > Jack
26 >
27 > > On Sun, 11 Oct 2020, peter@××××××××××××.uk wrote:
28 > >
29 > >> Date: Sun, 11 Oct 2020 19:21:49
30 > >> From: peter@××××××××××××.uk
31 > >> Reply-To: gentoo-user@l.g.o
32 > >> To: gentoo-user@l.g.o
33 > >> Subject: [gentoo-user] UEFI booting again
34 > >>
35 > >> I'm still wrestling with my system and its not booting.
36 > >>
37 > >> Can anyone please tell me precisely where 'efibootmgr -c ...' writes a boot record, or whatever it's called? My machine seems unable to store what I give it, and I suspect that the BIOS ROM has failed. Big expense if so.
38 > >>
39 > >> TiA.
40 >

Replies

Subject Author
Re: [gentoo-user] Re: [gentoo-user] UEFI booting again Michael <confabulate@××××××××.com>