Announcement

Collapse
No announcement yet.

How do I completely hide GRUB on a dual-boot system?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do I completely hide GRUB on a dual-boot system?

    The title says it all. I've Google-ed around and I've read THIS article here on Kubuntu Forums and basically everything I've tried is unsuccessful. I have two dual-boot PC's (WinXP/Kubuntu 14.04 & Win7/Kubuntu 14.04) and what is I want is for the GRUB bootmenu to not show up at all unless I press a specific hotkey (I believe it's Left-Shift, or possibly the Esc key).

    Here is what my etc/default/grub currently looks like:
    # If you change this file, run 'update-grub' afterwards to update
    # /boot/grub/grub.cfg.
    # For full documentation of the options in this file, see:
    # info -f grub -n 'Simple configuration'

    GRUB_DEFAULT=0
    #GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=5
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""

    # Uncomment to enable BadRAM filtering, modify to suit your needs
    # This works with Linux (no patch required) and with any kernel that obtains
    # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
    #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xe fefefef"

    # Uncomment to disable graphical terminal (grub-pc only)
    #GRUB_TERMINAL=console

    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=640x480

    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
    #GRUB_DISABLE_LINUX_UUID=true

    # Uncomment to disable generation of recovery mode menu entries
    #GRUB_DISABLE_RECOVERY="true"

    # Uncomment to get a beep at grub start
    #GRUB_INIT_TUNE="480 440 1"
    As you can see, currently everything is set at their default values with the exception of GRUB_TIMEOUT, which I changed from 10 down to 5 seconds. According to the article I linked above, as well as other internet sources, uncommenting "#GRUB_HIDDEN_TIMEOUT=0" is supposed to make the bootmenu hidden, but it does not. Instead, when I make that change and then run update-grub I get the following error:
    Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
    If I go back and change GRUB_TIMEOUT to 0, the bootmenu still shows up only back with the default 10-second timeout. I have played around with different combinations of GRUB_HIDDEN_TIMEOUT, GRUB_HIDDEN_TIMEOUT_QUIET, and GRUB_TIMEOUT and have been unable to make heads or tails of it.

    So... Is it even possible to completely hide the bootmenu or am I stuck with seeing it every time I boot? What am I doing wrong?

    #2
    try changing to this

    GRUB_DEFAULT=0
    GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    #GRUB_TIMEOUT=5
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""
    then run
    Code:
    sudo update-grub
    any luck??

    yes it is possible,,,,,,and I thought it was the default behavior........to display the menu when it dose hide it's self ,,,press and hold ,or tap,the shift key right after hiting the power button

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      Originally posted by vinnywright View Post
      try changing to this



      then run
      Code:
      sudo update-grub
      any luck??

      yes it is possible,,,,,,and I thought it was the default behavior........to display the menu when it dose hide it's self ,,,press and hold ,or tap,the shift key right after hiting the power button

      VINNY
      Hi, Vinny. Thanks for the suggestion.

      Even with GRUB_TIMEOUT commented out I still get the warning "Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported." when I run update-grub, and the bootmenu is back to appearing for 10 seconds. I've ran dual-boot setups for years but this is the first time I've tried to hide the bootmenu, and I have had no luck at all

      Comment

      Working...
      X