LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 05-13-2010, 08:57 PM   #1
icmike5
LQ Newbie
 
Registered: May 2010
Location: Homosassa, FL
Distribution: Kubuntu 10.04
Posts: 4

Rep: Reputation: 0
GRUB


Hello all. I'm new to this forum, not new to Linux.

I use GRUB as I multi-boot. Currently upon boot, GRUB pauses then launches the first linux header after a few seconds. That's fine but is there a way to have it automatically boot to the 1st one? But I still want the option to boot to other OS's. Similar to how windows let's you hit f8.
 
Old 05-14-2010, 12:57 AM   #2
bendib
Member
 
Registered: Feb 2009
Location: I'm the rat in your couch.
Distribution: Fedora on servers, Debian on PPC Mac, custom source-built for desktops
Posts: 174

Rep: Reputation: 40
Edit /boot/grub/menu.lst and change timeout to 0. You need to be root.
EDIT: Forgot to mention to hit ESC instead of F8, and multiple times before the bootloader actually loads.

Last edited by bendib; 05-14-2010 at 01:05 AM.
 
Old 05-14-2010, 01:35 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
To automatically boot a particular GRUB "stanza" (= OS), change the "default" line in /boot/grub/menu.lst. The first stanza is 0.

To have an option to boot to other OS's, you need a non-zero timeout in /boot/grub/menu.lst to allow you time to enter Esc when GRUB pauses to make it display the list for you to choose one.
 
Old 05-14-2010, 02:54 AM   #4
Lordandmaker
Member
 
Registered: Sep 2005
Location: London, UK
Distribution: Debian
Posts: 258

Rep: Reputation: 39
Which version of Grub are you running? If it's a fresh install of Kubuntu 10.04 you're running, it'll be Grub2 (or if it's an upgrade from a fresh install of *buntu 9.10). If you've in-place upgraded from anything 9.04 or older, you'll be running 'old' grub.

With Grub2, /boot/grub/menu.lst has been replaced with /boot/grub/grub.cfg and is not for editing, it is overwritten on updates.

Configuration happens in /etc/default/grub for display and behaviour settings, and /etc/grub.d/ for kernels and the like. You then run update-grub to write a new grub.cfg using the contents of these file(s).


The option you appear to want is called [tt]hiddenmenu[/tt] in Grub, which I'm not sure Grub2 directly supports.
 
Old 05-15-2010, 11:00 AM   #5
icmike5
LQ Newbie
 
Registered: May 2010
Location: Homosassa, FL
Distribution: Kubuntu 10.04
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks all. Since this is a fresh install of Kubuntu 10.04, I'm using grub2. I will do some research on this. Thanks again for the info.
 
Old 05-21-2010, 06:48 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
In case you don't know these...

http://ubuntuforums.org/printthread.php?t=1195275
http://www.dedoimedo.com/computers/grub-2.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB GRUB GRUB.... all over the display while booting with USB. kapsikum Linux - General 5 01-08-2010 04:29 AM
grub drops to grub prompt on boot, but can use commands to find menu... fix? greenmuzz Linux - Software 7 06-07-2009 03:07 AM
Why /boot/grub/grub.conf is symlinked to /boot/grub/menu.lst raj_hcl1986@rediffma Linux - Newbie 2 10-19-2008 02:19 AM
Changing GRUB-GRUB, GRUB-LILO and vice versa andreas_skw Linux - Newbie 1 06-05-2008 06:40 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration