You are not logged in.

#1 2012-08-02 09:58:50

palomaamatias
Member
From: Sweden
Registered: 2012-07-23
Posts: 20

[SOLVED] Can't seem to hide GRUB2 menu

Hello all!

I have encountered a few less serious problems with my Arch installation and I thought it would be a good idea to post them here in the newbies part of the forum.
I will adress them in the right order, beginning  with the boot process of my system and when I manage to solve this I will go on with the next one.

Okay let's begin!
I'm trying to speed up the boot by hiding my GRUB2 menu. I have done what is said in the ArchWiki entry i.e. uncommenting the two following lines:

GRUB_HIDDEN_TIMEOUT=5
GRUB_HIDDEN_TIMEOUT_QUIET=false

in /etc/default/grub and then running the

# grub-mkconfig -o /boot/grub/grub.cfg

command.

Yes indeed it created a countdown but after the 5 seconds have elapsed the menu pops up, after all...
Worth to mention is that it's not the grub-menu with the Arch logo at the top but the black and white titled "GNU GRUB version 2.0".
I have no separate /boot partition and here is the output of sudo gdisk -l /dev/sda:

  Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048        32027982   15.3 GiB    8300  Linux filesystem
   2        32028672        78165326   22.0 GiB    8300  Linux filesystem

The first partition is / and the second one is /home. Should be clear as day though. >.<

If additional information is needed, just let me know!
I'm grateful for all help I can get.

/Matias

Last edited by palomaamatias (2012-08-02 12:24:47)

Offline

#2 2012-08-02 10:15:47

Minsc
Member
Registered: 2012-07-16
Posts: 95

Re: [SOLVED] Can't seem to hide GRUB2 menu

Try this in /boot/grub/menu.lst:

timeout   2
default   0
hiddenmenu

Offline

#3 2012-08-02 10:19:23

chamber
Member
From: ~/
Registered: 2012-03-29
Posts: 279

Re: [SOLVED] Can't seem to hide GRUB2 menu

menu.lst would be for Grub legacy, this is grub2.


meh

Offline

#4 2012-08-02 10:23:17

palomaamatias
Member
From: Sweden
Registered: 2012-07-23
Posts: 20

Re: [SOLVED] Can't seem to hide GRUB2 menu

Yeah, that explains why I did not have the file in my filesystem. Thanks anyways!

Offline

#5 2012-08-02 11:32:45

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Can't seem to hide GRUB2 menu

GRUB_HIDDEN_TIMEOUT=0

and if you have it

GRUB_TIMEOUT=0

Offline

#6 2012-08-02 12:23:44

palomaamatias
Member
From: Sweden
Registered: 2012-07-23
Posts: 20

Re: [SOLVED] Can't seem to hide GRUB2 menu

2ManyDogs wrote:

GRUB_HIDDEN_TIMEOUT=0

and if you have it

GRUB_TIMEOUT=0

Thanks! GRUB_TIMEOUT=0 made the trick!

This is how the beginning of my /etc/default/grub looks like now:

GRUB_DEFAULT=0
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=false

First I did not get the difference between GRUB_HIDDEN_TIMEOUT and the GRUB_TIMEOUT line.
But the GRUB_HIDDEN_TIMEOUT is used when you wan't to be able to bring up the menu with your ESC key!

Dumb me! I should have studied this a little bit more. >.<

Well well, everything is clear now and this case is solved.

BTW what happened to this pimped out GRUB-Menu that I had on my previous install? Is it GRUB Legacy maybe?

pimped out

Last edited by palomaamatias (2012-08-02 12:29:21)

Offline

#7 2012-08-02 12:38:18

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Can't seem to hide GRUB2 menu

It was probably grub legacy; grub2 has only been added recently. I don't know for sure though; I've never seen a grub menu like that.

You can add a backdrop to grub2, but if you have timeout=0 you don't need one smile

Offline

#8 2012-08-02 12:43:56

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Can't seem to hide GRUB2 menu

palomaamatias wrote:

BTW what happened to this pimped out GRUB-Menu that I had on my previous install? Is it GRUB Legacy maybe?

S4HAR.png

It says to press Tab... GRUB Legacy/GRUB 2 do not have such function.


I think you mean the one from the ISO. That's a different bootloader.

https://bbs.archlinux.org/viewtopic.php?id=142491


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#9 2012-08-02 12:59:46

palomaamatias
Member
From: Sweden
Registered: 2012-07-23
Posts: 20

Re: [SOLVED] Can't seem to hide GRUB2 menu

DSpider wrote:

It says to press Tab... GRUB Legacy/GRUB 2 do not have such function.


I think you mean the one from the ISO. That's a different bootloader.

https://bbs.archlinux.org/viewtopic.php?id=142491

Yes that's exactly the one I mean! OK cool, I don't know why I concluded that it had to be GRUB.
Thank you for the reply. Maybe I'll customize my bootloader someday to look just as nice as that one.

Last edited by palomaamatias (2012-08-02 13:00:31)

Offline

#10 2013-07-29 23:47:08

avantix
Member
From: Chicago
Registered: 2013-07-26
Posts: 1

Re: [SOLVED] Can't seem to hide GRUB2 menu

I'm having the same problem my question is, do I have to run the command

 # grub-mkconfig -o /boot/grub/grub.cfg 

after I edited?

 /etc/default/grub 

Thank you


☆¨*:•.★ "I'm not anti-social; I'm just not user friendly" ★.•:*¨☆

Offline

#11 2013-07-29 23:58:52

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Can't seem to hide GRUB2 menu

Yes.

Offline

#12 2013-07-30 00:09:02

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Can't seem to hide GRUB2 menu

avantix: please don't necrobump threads, especially solved ones:
https://wiki.archlinux.org/index.php/Fo … Bumping.27


Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB