Rocky Linux Installation previously CentOS: Difference between revisions
mNo edit summary |
|||
| Line 42: | Line 42: | ||
*For BIOS Boot: grub2-mkconfig -o /boot/grub2/grub.cfg | *For BIOS Boot: grub2-mkconfig -o /boot/grub2/grub.cfg | ||
*If grub-mkconfig is "not found": notice the subtle difference above: grub2-mkconfig (not grub(WITHOUT THE NUMBER 2)-mkconfig) | *If grub-mkconfig is "not found": notice the subtle difference above: grub2-mkconfig (not grub(WITHOUT THE NUMBER 2)-mkconfig) | ||
...but that's not enough these days. You'll also need to use the GRUBBY command to modify the Kernel Parameters? Yup, the same Kernel Parameters that can be modified in /etc/default/grub and are reflected in /boot/grub2/grub.cfg (but apparently don't do a damn thing as far a Kernel Parameters) are instead modified in the following way (this is similar to turning on a light switch and also being required to clap to have a light come on); | |||
* grubby --info=ALL : Shows current settings, from https://forums.rockylinux.org/t/how-do-you-view-grub-command-line-options/11625 | |||
* Generally speaking, here's the syntax: grubby --update-kernel=ALL --args="new_option" OR grubby --update-kernel=ALL --remove-args="option_to_remove" | |||
* To disable IPv6: grubby --update-kernel=X --args="ipv6.disable=1" | |||
* To have useful "DMESG" information while booting instead of an Appled Up boring screen; | |||
** grubby --update-kernel=ALL --remove-args="rhgb" | |||
** grubby --update-kernel=ALL --remove-args="quiet" | |||
'''Firewall''': If using something like Shorewall, get rid of FirewallD: yum remove firewalld* --noautoremove | '''Firewall''': If using something like Shorewall, get rid of FirewallD: yum remove firewalld* --noautoremove | ||