Forked from donrestarone/fix-ubuntu-with-kernal-boot-options.sh
Created
August 28, 2020 18:49
-
-
Save ziplex/b1df72d8e37009f7fe6e6a287bfc4abe to your computer and use it in GitHub Desktop.
fixing ubuntu system lockups with Ryzen CPU's
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# open the boot parameters file for the linux kernal | |
sudo nano /etc/default/grub | |
# we will be editing the 'GRUB_CMDLINE_LINUX_DEFAULT' key | |
#set it to | |
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash processor.max_cstate=1 rcu_nocbs=0-11" | |
# test for a while and then set it to 5 if all is well | |
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash processor.max_cstate=5 rcu_nocbs=0-11" | |
# once the edits are done, save the file and update the GRUB config file like so | |
sudo update-grub | |
# to verify that the kernal booted with your specified options. you can run this command after reboot | |
cat /proc/cmdline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment