Rocky 9 Linux Booting Notes: Difference between revisions

 
Line 53: Line 53:
</syntaxhighlight>
</syntaxhighlight>
...and for the above, look at that --set=dev UUID, make sure it is correct!
...and for the above, look at that --set=dev UUID, make sure it is correct!
==== ...and also, check the following; ====
Next time a new kernel is installed via DNF, make sure the /etc/default/grub and /etc/kernel/cmdline Files are configured properly.
=== And for LVM Related items ===
If changing an LV or VG name;
* fstab
* /etc/default/grub
* /etc/kernel/cmdline
* grub-mkconfig OR edit /boot/grub2/grub.cfg
* /boot/loader/entries
=== And for the annoying TUNED or GRUB automatically added entries similar to what's in /boot/loader/entries ===
dnf remove tuned
In /etc/default/grub, add: GRUB_DISABLE_OS_PROBER=true
..then grub2-mkconfig -o /boot/grub2/grub.cfg