4 ms·
rEFInd has been my goto when using UEFI. Finds most boot partitions without having to configure anything. Configuration is just a single line: "Boot with power
by yndoendo 2y ago
rEFInd has been my goto when using UEFI. Finds most boot partitions without having to configure anything.
Configuration is just a single line:
"Boot with power options" "ro cryptdevice=UUID=XXXXXXXXXXXXX:root root=/dev/mapper/root initrd=amd-ucode.img initrd=initramfs-linux.img quiet amd_pstate=active"
- LoganDark 2y agoI think for the past three years or so I've exclusively used EFISTUB, extra bootloaders just aren't necessary anymore because UEFI already implies one provided by the motherboard. I just use efibootmgr to set up an entry with the flags I want and boom. You're going to be waiting for the motherboard's bootloader to load anyway, so you may as well have it load the actual kernel rather than another bootloader. EFISTUB is a Linux config option that has to be specified at compile time, so you do have to compile your own kernel if the distro you're using doesn't already enable it, but I compile my own kernels anyway so this is fine.
- gizmo686 2y agoThere is also systemd-stub. It is technically a bootloader. However it looks inside of itself for the kernel, ramdisk, and kernel commandline [0]. This means that you can use objcopy to put an existing kernel and ramdisk into a standalone EFI executable; without needing to recompile anything. Dracut even has a "--uefi" option that will do all of that automatically. [0] Although if secureboot is disabled, you can override the cmdline from the EFI if your firmware exposes that functionality.