Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 31st January 2012, 08:24 PM
robertdaleweir Offline
Registered User
 
Join Date: Oct 2005
Location: British Columbia, Canada
Posts: 402
linuxfirefox
Setting Grub timeout?

Hi
I want to reduce the visible time for grub menu at startup. I cp /etc/default/grub /etc/default/grub-bk . Then I revised /etc/default/grub to the following:
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR="Fedora"
GRUB_DEFAULT=saved
GRUB_CMDLINE_LINUX="rd.md=0 rd.lvm=0 rd.dm=0 KEYTABLE=us quiet SYSFONT=latarcyrheb-sun16 rhgb rd.luks=0 LANG=en_US.UTF-8"

I thought this would change it at boot time but it doesn't seem to work. Any help would be much appreciated...
__________________
Robert :)
Kernel 3.8.4-102.fc17.x86_64 GNOME 3.4.2
CPU AMD 955 Quad Core
MoBo Gigabyte MA785GM-UD2H-AM3 MicroATX
Memory 8 Gigs OCZ DDR3-1333 PC-10666
Reply With Quote
  #2  
Old 31st January 2012, 08:52 PM
sidebrnz's Avatar
sidebrnz Online
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 63
Posts: 2,107
linuxfirefox
Re: Setting Grub timeout?

With grub2, just changing the settings the way you did doesn't make the changes take effect. You need to run this command as root to make that happen:

grub2-mkconfig -o /boot/grub2/grub.conf

I'd also like to point out that taking the timeout period all the way down to zero is a Very Bad Idea because it makes it impossible for you to select an older kernel if the newest one doesn't boot, or to edit the kernel line if you ever need to. IIRC the default is five, but if you're in a hurry, you can always hit Enter to start booting Right Now.
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
  #3  
Old 31st January 2012, 09:54 PM
nonamedotc's Avatar
nonamedotc Offline
Formerly known as"professorrmd"
 
Join Date: Mar 2011
Posts: 2,627
linuxfirefox
Re: Setting Grub timeout?

edit the value for set timeout in /boot/grub2/grub.cfg and do grub2-mkconfig -o /boot/grub2/grub.cfg.

Good luck.

Last edited by nonamedotc; 31st January 2012 at 10:50 PM. Reason: mistake pointed out by PabloTwo
Reply With Quote
  #4  
Old 31st January 2012, 10:22 PM
robertdaleweir Offline
Registered User
 
Join Date: Oct 2005
Location: British Columbia, Canada
Posts: 402
linuxfirefox
Re: Setting Grub timeout?

Quote:
Originally Posted by sidebrnz View Post
With grub2, just changing the settings the way you did doesn't make the changes take effect. You need to run this command as root to make that happen:

grub2-mkconfig -o /boot/grub2/grub.conf

I'd also like to point out that taking the timeout period all the way down to zero is a Very Bad Idea because it makes it impossible for you to select an older kernel if the newest one doesn't boot, or to edit the kernel line if you ever need tosidebrnz. IIRC the default is five, but if you're in a hurry, you can always hit Enter to start booting Right Now.
Hi sidebrnz
Yes I agree with you about the shorter timeout. Thank you for command:
grub2-mkconfig -o /boot/grub2/grub.conf It is very hard to keep up with all these settings and I very much appreciate your reply...

---------- Post added at 02:22 PM ---------- Previous post was at 02:18 PM ----------

Quote:
Originally Posted by nonamedotc View Post
edit the value for set timeout in /boot/grub2/grub.cfg and do grub2-mkconfig -o /boot/grub2/grub.cfg. I mention this because I do not have the file grub2.conf.

Good luck.
Hi nonamedotc
Love your username Thanks for your help on this one, I also have /boot/grub2/grub.cfg on my F16 OS. Nice attention to detail, have a great day...
__________________
Robert :)
Kernel 3.8.4-102.fc17.x86_64 GNOME 3.4.2
CPU AMD 955 Quad Core
MoBo Gigabyte MA785GM-UD2H-AM3 MicroATX
Memory 8 Gigs OCZ DDR3-1333 PC-10666
Reply With Quote
  #5  
Old 31st January 2012, 10:27 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,128
linuxfirefox
Re: Setting Grub timeout?

Quote:
Originally Posted by nonamedotc View Post
edit the value for set timeout in /boot/grub2/grub.cfg and do grub2-mkconfig -o /boot/grub2/grub.cfg. I mention this because I do not have the file grub2.conf.

Good luck.
Totally wrong advice. There is no "grub2.conf" file, for you, or anyone else. If you edit the "/boot/grub2/grub.cfg file directly, then do "grub2-mkconfig -o /boot/grub2/grub.cfg", whatever setting is in /etc/default/grub will overwrite your edit in /boot/grub2/grub.cfg.

You make your grub configuration changes in /etc/default/grub, then use "grub2-mkconfig -o /boot/grub2/grub.cfg" to make those changes appear in the /boot/grub2/grub.cfg file.

If you want to make direct edits to /boot/grub2/grub.cfg, then refrain from ever using the grub2-mkconfig command again.
Code:
BASH:~/-> grep TIME /etc/default/grub
GRUB_TIMEOUT=10
BASH:~/-> sudo grep time /boot/grub2/grub.cfg
set timeout=10

Last edited by PabloTwo; 31st January 2012 at 10:31 PM.
Reply With Quote
  #6  
Old 31st January 2012, 10:49 PM
nonamedotc's Avatar
nonamedotc Offline
Formerly known as"professorrmd"
 
Join Date: Mar 2011
Posts: 2,627
linuxfirefox
Re: Setting Grub timeout?

Thanks for pointing that out PabloTwo. Apologies. I have edited the wrong part so that no one follows that.
Reply With Quote
Reply

Tags
grub, setting, timeout

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
apache timeout setting downloading large files Obould Servers & Networking 0 16th January 2012 03:06 PM
[SOLVED] Grub 2 and timeout Hewjr100 F16 Development 4 15th September 2011 02:36 AM
Grub and Timeout scottro Alpha, Beta & Snapshots Discussions (Fedora 11 Only) 2 19th February 2009 02:28 AM
Grub doesn't timeout? bjorntj Installation and Live Media 7 22nd May 2006 07:49 PM
Setting a timeout for root lancherider Security and Privacy 3 17th January 2006 01:35 PM


Current GMT-time: 18:15 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat