Hey everyone! I don't have a traditional bootloader and I directly boot through EFI. I'm looking to add some kernel parameters, specifically to disable PSR, but I've struggled to find information on how to do this. Any guidance would be greatly appreciated!
3 Answers
It’s a common misconception that you don't have a bootloader. With UEFI, you likely have GRUB or systemd-boot. You can edit the `/etc/default/grub` file and update the `GRUB_CMDLINE_LINUX` variable to include your extra kernel parameters.
Actually, UEFI can directly boot a kernel! If you're using efibootmgr, you might want to check out the Arch Wiki page on EFI boot stubs for more info on how to manage that.
You can compile the kernel with the CONFIG_CMDLINE_BOOL option and set your parameters during the build process. I’ve seen that option before, but I haven't personally tried it out. Just a heads up if you decide to go that route!

Related Questions
How To Get Your Domain Unblocked From Facebook
How To Find A String In a Directory of Files Using Linux