On 2020-01-14 06:01, Mauricio Tavares wrote:
So I want to add a few options to the kernel (say iommu support). I
have been told before to avoid using grub2-mkconfig because it would
apply the changes to all currently available (to boot from) boot
kernels. Instead, I should edit just the latest kernel entry in the
grub.cfg file, adding the option to the line starting with linux16.
This way, if it went boink, all I had to do is reboot, pick another
kernel from the grub menu and off I went. And, it seems that every
future kernel upgrade would incorporate this change.
Is that accurate or is there a cleaner way to do the same while still
leaving me the option to go back to the grub menu?
Do you wish to try out some options without make a permanent change?
Assuming your using Fedora Workstation, which unlike other spins, doesn't present the
list of kernels to boot.
You'd just hit the "escape" key when booting. Then you'd see the list
of kernels. Hit "e" to edit. Go to the
linux line, add the parameters and then Ctrl-x to continue the boot.
Those changes are temporary.
If all works as you'd like, then you could make them permanent.
--
The key to getting good answers is to ask good questions.