Add Linux Kernel Parameters: Grub

Date: 2017-11-09

Source: https://wiki.archlinux.org/index.php/Kernel_parameters

GRUB

  • Press e when the menu shows up and add them on the linux line:
linux /boot/vmlinuz-linux root=UUID=978e3e81-8048-4ae1-8a06-aa727458e8ff 
quiet splash
Press Ctrl+x to boot with these parameters.
  • To make the change persistent after reboot, while you could manually edit /boot/grub/grub.cfg with the exact line from above, the best practice is to:
Edit /etc/default/grub and append your kernel options to the GRUB_CMDLINE_LINUX_DEFAULT line:
GRUB_CMDLINE_LINUX_DEFAULT="
quiet splash
"
And then automatically re-generate the grub.cfg file with:
# grub-mkconfig -o /boot/grub/grub.cfg


For Enabling AMDGPU driver: 
since kernel 4.13, adding the amdgpu.si_support=1 radeon.si_support=0

Enable Southern Islands (SI) and Sea Islands (CIK) support

The linux package enables AMDGPU support for cards of the Southern Islands (SI) and Sea Islands (CIK). When building or compiling a kernelCONFIG_DRM_AMDGPU_SI=Y and/or CONFIG_DRM_AMDGPU_CIK=Y should be be set in the config.

Even when AMDGPU support for SI/CIK has been enabled by the kernel, the radeon driver may be used instead of the AMDGPU driver.

The following workarounds are available:

Also, since kernel 4.13, adding the amdgpu.si_support=1 radeon.si_support=0 or amdgpu.cik_support=1 radeon.cik_support=0 kernel parameter is required. Otherwise, AMDGPU will not start and you will end up with either radeon being used instead or the display being frozen during the boot.

For Ubuntu/Mint

sudo micro /etc/default/grub
# edit the line with:
# GRUB_CMDLINE_LINUX_DEFAULT= <...>
sudo update-grub

9270cookie-checkAdd Linux Kernel Parameters: Grub