Results 1 to 7 of 7

Thread: Grub2 hiddenmenu

  1. #1
    Join Date
    Aug 2006
    Location
    Pennsylvania, USA
    Beans
    106
    Distro
    Ubuntu 13.04 Raring Ringtail

    Grub2 hiddenmenu

    I have a dual boot, but I so seldom use the other OS (Debian actually) that I'd rather Grub just boot right away into Ubuntu and not show the menu. I couldn't figure out how to do this. I Googled around and found that what I wanted, the hiddenmenu option, has been taken out of Grub. Instead, you have to implement it yourself with an albeit short script.

    I like the other things about Grub2: better looking, the update-grub function is probably a miracle if you've ever nuked grub by misconfiguring menu.lst. Adding backgrounds is nifty too, and, assuming you find a use for it, the scripting is probably cool. I just don't see how deprecating what I assume is a popular option is a good idea.

    Btw, here's the script on the Grub wiki. Google yields some others.

  2. #2
    Join Date
    May 2007
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Grub2 hiddenmenu

    I think the equivalent in Grub2 is GRUB_HIDDEN_TIMEOUT in /etc/default/grub which needs to be uncommented and set to 0 for there to not be a menu prompt. There is more info here - https://wiki.ubuntu.com/Grub2

    More user friendly documentation is in progress to go here (being written by our friend, drs305) - https://help.ubuntu.com/community/Grub2 (currently redirects to the wiki link above). He also has some nice Grub2 tutorials here -
    http://ubuntuforums.org/showthread.php?t=1287602
    http://ubuntuforums.org/showthread.php?t=1195275

    HTH

  3. #3
    Join Date
    Aug 2006
    Location
    Pennsylvania, USA
    Beans
    106
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Grub2 hiddenmenu

    Thanks for the tip, but it didn't work. The menu showed up for about 2 seconds, with the countdown starting at 4, even though there's no 4 in my config file.

  4. #4
    Join Date
    May 2007
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Grub2 hiddenmenu

    What about the GRUB_HIDDEN_MENU_QUIET property? Is that set to true?

  5. #5
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Grub2 hiddenmenu

    It actually probably started at 5, but maybe the first number we see is 4. Check to see with:
    Code:
    cat /etc/default/grub | grep "GRUB_TIMEOUT"
    If there is no number, it defaults. I've seen different default values in the past four months (I think), with different installs varying from 5-15 seconds. Chances are good it now defaults to 5 seconds if there is no value present.

    If you don't want to see anything, you should be able to set the GRUB_TIMEOUT=0 and it should boot without delay. You should probably also remove any GRUB_HIDDEN_TIMEOUT value, and to cover all the bases, it should proably be GRUB_DEFAULT=saved for which option to boot.

    Code:
    gksu gedit /etc/default/grub
    Don't forget to run "sudo update-grub" after you have made the changes.

    There are a couple of Grub links in my signature line if you are interested.
    Last edited by drs305; October 17th, 2009 at 06:00 AM. Reason: default timeout
    New to Wayland.

    Retired.

  6. #6
    Join Date
    May 2007
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Grub2 hiddenmenu

    Quote Originally Posted by drs305 View Post
    It actually probably started at 5, but maybe the first number we see is 4. Check to see with:
    Code:
    cat /etc/default/grub | grep "GRUB_TIMEOUT"
    If you don't want to see anything, you should be able to set the GRUB_TIMEOUT=0 and it should boot without delay. You should probably also remove any GRUB_HIDDEN_TIMEOUT value, and to cover all the bases, it should proably be DEFAULT=saved for which option to boot.

    Code:
    gksu gedit /etc/default/grub
    There are a couple of Grub links in my signature line if you are interested.
    Just the man I was looking for! I've already linked the OP to your posts

  7. #7
    Join Date
    Aug 2006
    Location
    Pennsylvania, USA
    Beans
    106
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Grub2 hiddenmenu

    Thanks! I took the slightly unscientific method and followed all your suggestions at once.

    I ended up with this:
    Code:
    GRUB_DEFAULT=saved
    #GRUB_HIDDEN_TIMEOUT=0
    #GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT="0"
    And it did the job.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •