r/linuxfromscratch • u/Arch_Diffusion • Feb 12 '23
UEFI or Legacy BIOS
im about to start LFS and before i set up the vm with the hossytem, is it ok to have it in UEFI or do i need Legacy bios?
will this decision affect the LFS installation?
4
Upvotes
5
u/Champagne_Padre Feb 12 '23
UEFI will work just fine with most modern distros
2
u/Vladislav97 Feb 12 '23
Handbook is written with bios in mind. There are all these fancy stuff like writing grub on disk in front of partition table. But uefi is also discussed in BLFS (and LFS is referring to it). Couple more steps will be required to get uefi working, not just blindly copypaste everything from book. :)
https://www.linuxfromscratch.org/lfs/view/stable/chapter08/grub.html
https://www.linuxfromscratch.org/blfs/view/11.2/postlfs/grub-efi.html
I got myself legacy one, working fine, but next one will probably be uefi for easier life. :)
1
u/krigo666 Feb 12 '23
Learn UEFI, is a pain but Legacy BIOS is exactly that, legacy. And Legacy BIOS is not that difficult learning after.
1
u/Cybasura Feb 13 '23
UEFI support is built on top of BIOS files and concepts with additional files such as the efivars, start with BIOS and work your way up