Advertisement
postmind24

Ubuntu 22.10 hide GRUB

Nov 23rd, 2022 (edited)
652
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.45 KB | Software | 0 0
  1. # To hide grub replace the content of /etc/default/grub
  2. # Btw it is good practice to make backup of original file
  3. GRUB_DEFAULT="saved"
  4. GRUB_TIMEOUT_STYLE="hidden"
  5. GRUB_CMDLINE_LINUX=""
  6. GRUB_DEFAULT="0"
  7. GRUB_HIDDEN_TIMEOUT="0"
  8. GRUB_TIMEOUT="0"
  9. GRUB_RECORDFAIL_TIMEOUT="0"
  10. GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
  11. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  12. GRUB_CMDLINE_LINUX=""
  13. GRUB_DISABLE_OS_PROBER="true"
  14.  
  15. Add Comment
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement