Rate This Document
Findability
Accuracy
Completeness
Readability

Booting Parameters Through GRUB

Purpose

Various parameters are provided when the Linux kernel is started. These parameters can be used to customize the default behavior of the kernel or notify the kernel of the hardware configuration information. Kernel parameters should be passed to the kernel through the Grand Unified Bootloader (GRUB) when the kernel is started.

Procedure

  1. Open the /etc/default/grub file.
    1
    vi /etc/default/grub
    
  2. Press i to enter the insert mode, locate GRUB_CMDLINE_LINUX in the file, and add the following content to the end of the parameter:
    1
    nohz=on nosoftlockup skew_tick=1 audit=0 kpti=off
    
  3. Press Esc, type :wq!, and press Enter to save the file and exit.
  4. Generate a new kernel boot file.
    1
    grub2-mkconfig -o $(find /boot/efi -name grub.cfg)
    
  5. Restart the OS for the modification to take effect.