Release Notes
Public Image Release Notes
Official End of Support Plan for the Operating System
Announcements
/boot/loader/entries/. Therefore, modifying the general configuration file /etc/default/grub does not affect the kernel parameters of specific versions. Currently, the grubby tool is needed to modify the corresponding kernel parameters./etc/default/grub.vim /etc/default/grub
GRUB_CMDLINE_LINUX, and add kernel parameters in the format of "name=value" to the end of GRUB_CMDLINE_LINUX. For example, the kernel parameter to be added is systemd.debug-shell=1.
grub2-mkconfig -o /boot/grub2/grub.cfg
reboot
cat /proc/cmdline

/etc/default/grub.vim /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT, and add kernel parameters in the format of "name=value" to the end of GRUB_CMDLINE_LINUX_DEFAULT. For example, the kernel parameter to be added is systemd.debug-shell=1.
grub-mkconfig -o /boot/grub/grub.cfg
reboot
cat /proc/cmdline

grubby --update-kernel=ALL --args="systemd.debug-shell=1"
grubby --info ALL

reboot
cat /proc/cmdline

grubby --update-kernel=ALL --args="systemd.debug-shell=1"
grubby --info ALL

reboot
cat /proc/cmdline

GRUB_ENABLE_BLSCFG=true is set in /etc/default/grub, the system uses the BLSCFG feature of GRUB. If you want to disable the BLSCFG feature and add parameters using the traditional kernel parameter configuration file, set GRUB_ENABLE_BLSCFG=false in /etc/default/grub./etc/default/grub by default./etc/default/grub file.vim /etc/default/grub
GRUB_CMDLINE_LINUX, and add kernel parameters in the format of "name=value" to the end of GRUB_CMDLINE_LINUX. For example, the kernel parameter to be added is systemd.debug-shell=1.
sed -i "s/GRUB_ENABLE_BLSCFG=true/GRUB_ENABLE_BLSCFG=false/g" /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
reboot
cat /proc/cmdline

Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback