Advertisement
J2897

Skip GRUB

Apr 12th, 2018
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. If you need to use the Windows Boot Manager instead of GRUB, you'll probably want to automatically skip GRUB after it's chain-loaded via the Windows Boot Manager...
  2.  
  3. $ sudo nano /etc/default/grub
  4.  
  5. GRUB_DEFAULT=0
  6. GRUB_HIDDEN_TIMEOUT=
  7. GRUB_HIDDEN_TIMEOUT_QUIET=true
  8. GRUB_TIMEOUT=0
  9. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  10. GRUB_CMDLINE_LINUX_DEFAULT=""
  11. GRUB_CMDLINE_LINUX=""
  12. GRUB_DISABLE_OS_PROBER=true
  13.  
  14. $ sudo update-grub
  15. $ sudo reboot
  16.  
  17. Info'...
  18. 1. https://askubuntu.com/questions/18775/how-to-remove-or-hide-the-grub-boot-menu
  19. 2. https://help.ubuntu.com/community/Grub2/Setup#Configuring_GRUB_2
  20.  
  21. Notice that there is no zero for GRUB_HIDDEN_TIMEOUT. This is important.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement