Where are the default grub2 kernel command line options kept on redhat?
-
For the GRUB2 bootloader the variable kernelopts in the file /boot/grub2/grubenv, for all kernel boot entries.
$ sudo more /boot/grub2/grubenv # GRUB Environment Block saved_entry=0 kernelopts=root=UUID=a727b695-0c21-404a-b42b-3075c8deb6ab ro console=ttyS0,11520 0n8 console=tty0 net.ifnames=0 rd.blacklist=nouveau crashkernel=auto boot_success=0 ################################################################################ ################################################################################ ################# ... ... ...
© Lightnetics 2024