Kevin Buckley wrote:
I have recently built an SysV 7.10 LFS on hardware that has
UEFI enabled.
Whilst I followed the link in the LFS Book's
Section 8.4. Using GRUB to Set Up the Boot Process
to the lfs-uefi hint, I wanted to flag up something that, although
mentioned in passing in the hint, doesn't seem to get the "praise"
it deserves and would suggest that it might even warrant being
explcitly mentioned in the LFS Book itself.
Basically, with just the one modiciation needed to the kernel built
following the LFS Book's "good place to start", namely:
make defconfig
I was able to boot straight into my new LFS system.
What I found was that without just that one setting, as detailed
in the lfs-uefi hint
$ diff /mnt/usr/src/kernels/config-00{1,2}
526c526,527
< # CONFIG_EFI_STUB is not set
---
CONFIG_EFI_STUB=y
# CONFIG_EFI_MIXED is not set
$
I' d be told that the
Kernel doesn't support EFI handover
however once I had added in just that one Kernel Config setting,
I was able to boot into my LFS system using the host system's
grub.
Clearly, to make the LFS system capable of configuing a UEFI
boot environment, one needs to install the extra packages that
the lfs-hint outlines (which is what I am halfway through doing and
why I've recently posted some of my observations about pciutils
on the BLFS dev list!) however it did strike me that that one piece
of configuration could be mentioned in the LFS Book's kernel section,
so as to point out to folk how easy it is to make the LFS kernel capable
of being booted on a system that's already using UEFI.
Kevin, I can add a comment ot the kernel section about looking at the uefi
hint for needed UEFI settings, but I think everything else needs to be in
the hint. If you want to update the hint, send it to me and I will put it
in the appropriate location.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page