Re: [LFS Trac] #5819: UEFI support

"LFS Trac" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
#5819: UEFI support
-------------------------+-----------------------
 Reporter:  zeckma       |       Owner:  lfs-book
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  13.1
Component:  Book         |     Version:  git
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------
Comment (by zeckma):

 Replying to [comment:11 pierre]:
 > Replying to [comment:9 zeckma]:
 > > Pierre, was booting with the EFI Variable system mounted required to
 get the system to boot, and did you need to mount the EFI Variable system
 at all during the process?
 >
 > Not sure what you mean exactly with "booting with the EFI Variable
 system mounted"...

 In https://linuxfromscratch.org/blfs/view/svn/postlfs/grub-setup.html
 (SysV), it mentions adding to the fstab parameters to mount efivarfs at
 boot. It isn't exactly explained why this should be done. But from what I
 read, it isn't really necessary. For the Systemd version of BLFS, it says
 this is done automatically, but it's still important to keep tabs on
 what's happening.

 > I can tell you what I did:
 > - after running `grub-install --removable` in chroot (which does not
 need the efivarfs mounted in chroot AFAICT), exiting chroot, unmounting
 kernel vfs, and rebooting, I noticed that the harcoded location was not
 appearing, so I rebooted to the host system (debian stable).
 > - of course, on the host system efivarfs is mounted. I installed
 efibootmgr with apt, then run it. Unfortunately, I cannot remember the
 exact command (just that it needed some tuning to get it right). I guess
 it is close to what you are proposing in the note (BTW, why use `y` for
 the partition number?).

 I read up on potential uses of efibootmgr to create an entry, and that
 showed up, so I included it. If it isn't needed, I can remove it. Same
 with the drive, if that part isn't needed either. Gonna have to explore
 exactly what is and isn't needed.

 > Maybe you could add that this can be run from the host (as root), which
 removes the need for installing efibootmgr (and deps) from BLFS.

 Good idea on this one. Perhaps the command doesn't have to be altered, so
 it's more general purpose.
-- 
Ticket URL: <https://wiki.linuxfromscratch.org/lfs/ticket/5819#comment:12>
LFS Trac <https://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.