2 ms·
EFI can pass kernel parameters just fine, both in the default boot entries or when running the kernel from the EFI shell.
by account42 2y ago
EFI can pass kernel parameters just fine, both in the default boot entries or when running the kernel from the EFI shell.
- itvision 2y agoWhat about doing that once without using e.g. efibootmgr?
- qhwudbebd 2y agoYou can just pass the custom command line as you run the kernel from UEFI shell prompt, e.g. fs0:linux.efi root=/dev/nvme0n1p1 initrd=ramfs.img loglevel=2 In my experience the nuisance part is creating and editing boot entries, especially if you try to set them up from the UEFI shell, so I tend to compile any initramfs and the default kernel command line into my kernel so I can drop it at /boot/efi/boot/bootx64.efi and minimise contact with the UEFI monstrosity.