LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-23-2008, 11:39 PM   #1
fwc
LQ Newbie
 
Registered: Dec 2008
Posts: 19

Rep: Reputation: 0
Boot menu times


Hello,
I have been trying to change the timing on the boot menu from 10 second to near unlimited seconds in the boot/grub/menu.lst. I am running Mint and as a newbie I do not know how to change a read only file either by the terminal or the GUI. Thanks very much and I hope its easy.

Last edited by fwc; 12-23-2008 at 11:41 PM. Reason: boot, menu, times, grub,
 
Old 12-24-2008, 12:53 AM   #2
RAFAL
Member
 
Registered: Feb 2006
Location: Warsaw, Poland
Distribution: Archlinux, Debian
Posts: 139

Rep: Reputation: 16
grub settings

hi
have you done it as root user?
Please try in vi editor. Execute these commands in terminal:
Code:
su
vi /boot/grub/menu.lst
You will start vi editor (very simple, but good).
Plaase the cursor when you need to change entry, press "i". Do all changes. Afterwards press ESC and then type ":wq" (w for wrtie and q for quit). If you don't want to write changes type ":q!"

You will find help for "vi" in Internet

regards
Rafal
 
Old 12-24-2008, 12:56 AM   #3
Isix
Member
 
Registered: Mar 2007
Location: Windhoek, Namibia
Distribution: Slackware, Kubuntu, Mandriva & PCLinuxOS
Posts: 80

Rep: Reputation: 18
Hi

Users can always change such read-only system files by becoming a superuser (a.k.a root), through typing

su

in the terminal (It can be very dangerous to be root, be careful, always type "exit" immediately when you are done with the superuser/root job).

You will then be prompt to give your superuser password --- I hope you have it. After successfully changing into a superuser, you now use your favourite editor like emacs, joe, vim, nano, kate, kwrite, etc. to edit the file /boot/grub/menu.lst by doing for example

joe /boot/grub/menu.lst

Change the value next to the keyword "timeout" from 10 to something else of your choice. I normally take 30 or 60. As you said these are seconds. Then safe the file and immediately do

exit

These will end the superuser session, and you are more safe.

I do not know how to set time there to "near unlimited". Do you mean near infinity? I am curious to know why you want the system to wait for almost forever before it boots up?

BTW: Which OS do you use? I ask this because some OSs like Mandriva have a easier GUI option to do these. I know a large number of our experts may not support the GUI option though.

Cheers --- have a wonderful festive season,
Isix
 
Old 12-24-2008, 12:59 AM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Quote:
Users can always change such read-only system files by becoming a superuser (a.k.a root), through typing

su
Ubuntu-based systems do not use su. One should use sudo gedit /boot/grub/menu.lst instead.
 
Old 12-24-2008, 02:00 AM   #5
tailender
LQ Newbie
 
Registered: Oct 2006
Posts: 27

Rep: Reputation: 15
hi,
go to /boot/grub/menu.lst and change the timeout from 10 to the time you want. Here is a complete tutorial on how to do that. I think this option works irrespective of distro...
http://linuxtuts.blogspot.com/2008/0...ut-before.html
 
Old 12-24-2008, 03:01 AM   #6
saagar
Member
 
Registered: Jul 2008
Location: Chennai, India
Distribution: RHEL5, Ubuntu
Posts: 191

Rep: Reputation: 37
lsix..."I do not know how to set time there to "near unlimited". Do you mean near infinity? I am curious to know why you want the system to wait for almost forever before it boots up?"...

HAHAHAHAHAH...Funny....LOL ..!!!
 
Old 12-24-2008, 06:19 AM   #7
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by jay73 View Post
Ubuntu-based systems do not use su. One should use sudo gedit /boot/grub/menu.lst instead.
I may not use Mint, Ubuntu (on which it is based), or Gnome, but I know enough about them to know that jay73 is correct. -- su does not work in Ubuntu the way it does in other (normal) distros.
See http://www.linuxmint.com/forum/viewtopic.php?p=4258
& https://help.ubuntu.com/community/RootSudo, which it references.

As to the "near unlimited" issue, just remember that GRUB timeout is set in seconds. I rarely use more than 65, but you might like 300 or even 600. If you do want "infinite", then comment out (w/ a '#') the timeout line.

While I deplore the Ubuntu decision to use sudo instead of su for root tasks, it is a fact of life & all of us asking or offering Linux help need to be aware of it. Those of us who answer need to know not only that the difference exists, but also which distros are Ubuntu based. On the helpee side, if you're using Ubuntu, an Ubuntu derivative, or any other distro that uses the Ubuntu pseudo-security model, you need to remember to substitute sudo -i, sudo -s, sudo su -, or sudo su for any su command you are told to use.
 
Old 12-24-2008, 06:30 AM   #8
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Actually, if you want GRUB to wait for user input, you can also set timeout to any negative value.
 
Old 12-24-2008, 06:44 AM   #9
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
Look in your Synaptic Package Manager and search for startup-manager, load that to change time and what ever you need to change in your menu.lst.
 
Old 12-24-2008, 07:56 AM   #10
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Is startup-manager Ubuntu only? -- I can find it neither in MEPIS nor on the Debian site.
 
Old 12-24-2008, 08:31 AM   #11
fwc
LQ Newbie
 
Registered: Dec 2008
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks everyone for the help.

Quote:
hi
have you done it as root user?
Please try in vi editor. Execute these commands in terminal:
Code:
su
vi /boot/grub/menu.lst
You will start vi editor (very simple, but good).
Plaase the cursor when you need to change entry, press "i". Do all changes. Afterwards press ESC and then type ":wq" (w for wrtie and q for quit). If you don't want to write changes type ":q!"
You will find help for "vi" in Internet
Thanks, I had tried this without the sudo

Quote:
I do not know how to set time there to "near unlimited". Do you mean near infinity? I am curious to know why you want the system to wait for almost forever before it boots up?
I have a dual boot with Windows XP and I don't necessarily want it to select Linux on start up

Quote:
BTW: Which OS do you use? I ask this because some OSs like Mandriva have a easier GUI option to do these. I know a large number of our experts may not support the GUI option though.
I am using Mint, which is a derivative of Ubuntu

Quote:
As to the "near unlimited" issue, just remember that GRUB timeout is set in seconds. I rarely use more than 65, but you might like 300 or even 600. If you do want "infinite", then comment out (w/ a '#') the timeout line.

Actually, if you want GRUB to wait for user input, you can also set timeout to any negative value.
I will try both of these

Quote:
Look in your Synaptic Package Manager and search for startup-manager, load that to change time and what ever you need to change in your menu.lst.
Ah cool, I will look for that

Last edited by fwc; 12-24-2008 at 08:50 AM.
 
  


Reply

Tags
grub, sudo, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
boot up times cherith.brook Linux - Hardware 2 12-06-2007 04:18 PM
Fresh Install Of Distr From Network - Boot Menu, Need to pull up a menu of OS dist to SupermanInNY Linux - Distributions 0 01-22-2006 11:48 AM
Boot times plz? unholy DamnSmallLinux 3 07-16-2004 10:15 AM
Setting Boot times? HadesThunder Linux - General 4 05-07-2004 04:32 PM
Faster Boot times scottpioso Linux - General 1 03-07-2003 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:02 PM.

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