r/linuxfromscratch • u/RoyalAbyss • Oct 12 '20
How do I get it to boot again?
This is my first post, on my first attempt at LFS. I made it through the entire book without any problems, but I just don't know how to boot into the system. My host system is PopOS so I am actually stuck with systemd-boot, which I am totally fine with. Except for the fact that I have no idea how to configure my LFS and the boot-loader so it actually works. I tried making a new entry config file on my host system for systemd-boot, but the boot menu doesn't show the the new option I configured when I restart my laptop...
Well if it helps, I am following the latest 10.0 stable version, I also switched to systemd briefly because I confused myself.
Welp so I have an update, I did get the boot loader to work, but my kernel is not detecting my /dev/sda1 partition. The internal nvme drives are detected but not my Samsung T7, which is connected through the type c port.
3
u/RoyalAbyss Oct 12 '20
2
u/SirJson Oct 27 '20
If you have the space on your EFI partition go for rEFInd it will find everything remotely bootable on your system and show it to you. For me, it's like that missing part of UEFI that makes UEFI worth it.
Also add the EFI Shell to rEFInd, it helps if you want to run EFI applications like systemd-boot manually, in case everything you tried failed.
1
u/Lannister_22 Oct 13 '20
I just use
grub-mkconfig -o /boot/grub/grub.cfg
Don't know why the book doesn't tell you that.