Skip to content

Instantly share code, notes, and snippets.

/grub Secret

Created September 24, 2016 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/49ed91190a87af4f1b87b3ad131d9e3b to your computer and use it in GitHub Desktop.
Save anonymous/49ed91190a87af4f1b87b3ad131d9e3b to your computer and use it in GitHub Desktop.
#default /etc/default/grub
#can be first or second, first has no GRUB_CMDLINE_LINUX_DEFAULT
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
#second example
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet"
GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=off"
GRUB_DISABLE_RECOVERY="true"
# we want to merge
GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on isolcpu=1-15,17-31 nohz_full=1-15,17-31"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment