Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Making GRUB wait *only* if key pressed?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Ian Goldby
Guru
Guru


Joined: 18 May 2002
Posts: 539
Location: (Inactive member)

PostPosted: Fri Jun 27, 2003 8:33 am    Post subject: Making GRUB wait *only* if key pressed? Reply with quote

I've got a dual boot configuration. I rarely go into Windows, but the GRUB delay is set to 20 seconds so I have a chance to if I need it.

Can I configure GRUB to display the boot menu if and only if a key is held down, and otherwise to boot straight into Linux?

If not, can LILO do this? If LILO is the answer, what steps do I need to follow to remove GRUB and replace it with LILO?

Thanks in advance.
Back to top
View user's profile Send private message
basramm
n00b
n00b


Joined: 24 Nov 2002
Posts: 56
Location: Düsseldorf, Germany

PostPosted: Fri Jun 27, 2003 10:15 am    Post subject: Reply with quote

Well, not exactly what you asked for, but wouldnt it be sufficient if you set the delay to real low value, like 1 second?
This way you would hardly notice grub and still could change configurations.
Back to top
View user's profile Send private message
Ian Goldby
Guru
Guru


Joined: 18 May 2002
Posts: 539
Location: (Inactive member)

PostPosted: Fri Jun 27, 2003 2:44 pm    Post subject: Reply with quote

Thanks - that worked.

I tried a delay of 0, but that made it boot immediately without looking to see if a key is pressed. In fact, a delay of 1 seems to boot immediately if no key is pressed - the GRUB boot menu doesn't get displayed.

It doesn't work though with the shift key, so as I hold the space bar down I get some clicking from the speaker as a keyboard input buffer gets filled up, but it is BALGE (by and large good enough) :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum