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 9th November 2011, 08:13 AM
DMGrier's Avatar
DMGrier Offline
Registered User
 
Join Date: May 2011
Posts: 16
linuxchrome
Boot Loader

So I just installed Fedora 16, I like but the only problem I am running into is when it boots up it ask me if I want to boot Fedora 16 or into recovery mode. I know that you have to edit the boot loader in terminal but I am unsure of how to do this. I could not find a way on google or the search for the forum and I am sure I am just typing the wrong thing in but I am just trying to figure out how to get into the boot loader and what I need to set to Zero. Have done it once but it was in Yast for opensuse. Thanks for any help.
__________________
Sony Vaio
OS: Fedora 18 64 Bit
CPU: Intel i3 2.5 Ghz
RAM: 4 GB DR3
GPU: Intel HD 3000
Reply With Quote
  #2  
Old 9th November 2011, 08:29 AM
chdongsh Online
Registered User
 
Join Date: Nov 2007
Posts: 43
linuxfirefox
Re: Boot Loader

you can sudo gedit /boot/grub2/grub.cfg, but this way is not recommended
Reply With Quote
  #3  
Old 9th November 2011, 08:40 AM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,927
linuxchrome
Re: Boot Loader

If you're talking about setting the boot menu timeout to zero then in /etc/default/grub add a line that reads
PHP Code:
GRUB_TIMEOUT=
Then run
PHP Code:
grub2-mkconfig -/boot/grub/grub.cfg 
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #4  
Old 9th November 2011, 08:44 AM
sonoran's Avatar
sonoran Offline
Registered User
 
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,099
linuxfirefox
Re: Boot Loader

It's okay to edit /boot/grub2/grub.cfg, according to this:

http://lists.fedoraproject.org/piper...er/407190.html

Sounds authoritative.
Reply With Quote
  #5  
Old 9th November 2011, 01:38 PM
fpmurphy Offline
Registered User
 
Join Date: May 2009
Location: /dev/ph
Posts: 308
windows_7firefox
Re: Boot Loader

It is perfectly OK to edit /boot/grub.cfg. Just remember not to run grub2-mkconfig afterwords or it will overwrite the changes you made in /boot/grub.cfg. grub2-config simply uses a series of configuration scripts to creates a new /boot/grub.cfg.

One way to avoid that possibility is to make grub2-mkconfig an empty shell script.
Reply With Quote
  #6  
Old 9th November 2011, 02:15 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfirefox
Re: Boot Loader

Just for reference, too..

If you run grub2-mkconfig as others have stated, it would overwrite your manual changes to /boot/grub2/grub.cfg

But, updating your kernel wouldn't overwrite your changes since the update still uses grubby and not grub2-mkconfig. Grubby doesn't overwrite what you have in your /boot/grub2/grub.cfg, but basically copies what you have for your default kernel to the new kernel entry (as far as kernel options)
Reply With Quote
  #7  
Old 9th November 2011, 02:18 PM
sea's Avatar
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,600
linuxfirefox
Re: Boot Loader

If you install a new kernel, via yum update, i'd guess it would run grub2-mkconfig, hence else you could not boot into the new kernel, as it would not be listed.
Or am i wrong on this?

You may however change these files, with all your needs and pleases
/etc/grub.d/40_custom
/etc/grub.d/41_custom
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb
Reply With Quote
  #8  
Old 9th November 2011, 02:31 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfirefox
Re: Boot Loader

when you install a new kernel via yum, it uses grubby to update your grub.cfg file, not grub2-mkconfig.

There was a discussion on this a few weeks back where it was mentioned that having 2 different tools updating your grub.cfg was really not good, but that's the way it is, at least for now, anyway.
Reply With Quote
  #9  
Old 9th November 2011, 02:52 PM
nonamedotc's Avatar
nonamedotc Offline
Formerly known as"professorrmd"
 
Join Date: Mar 2011
Posts: 2,603
linuxchrome
Re: Boot Loader

I might be wrong, but, isn't it easier to install "system-config-boot" and edit the grub options ?
Reply With Quote
  #10  
Old 9th November 2011, 02:58 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfirefox
Re: Boot Loader

system-config-boot doesn't work with grub2, neither does bootconf. Those are tools for working with legacy grub.
Reply With Quote
  #11  
Old 9th November 2011, 03:02 PM
nonamedotc's Avatar
nonamedotc Offline
Formerly known as"professorrmd"
 
Join Date: Mar 2011
Posts: 2,603
linuxchrome
Re: Boot Loader

oh ! I did not know that ! I thought I forgot to install that - but now i know it is not needed ! Thanks.
Reply With Quote
  #12  
Old 9th November 2011, 03:21 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,613
linuxfirefox
Re: Boot Loader

I don't think that running one of those tools would affect grub2 and shouldn't do any damage, but it either wouldn't run, or make changes that grub2 wouldn't even see.

So, (I hope anyway) that those tools are harmless for someone running grub2, they just won't work.
Reply With Quote
Reply

Tags
boot, loader

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
How to install fedora 12 from USB and make dual boot BCD using Windows 7 boot loader evildesirez Installation and Live Media 1 4th January 2010 05:56 PM
Rebuilding the Grub Boot Loader on Master Boot Record (MBR) w Fedora Linux Vector Guides & Solutions (No Questions) 6 1st August 2009 08:39 AM
Fedora9 boot - alternate boot loader Bing + grub jadube Installation and Live Media 1 24th May 2008 03:01 AM
Problem with Dual-boot of WinXP and FC4 too!!! lost boot loader... freshmeat EOL (End Of Life) Versions 7 31st December 2005 05:55 AM
GRUB boot loader r windows boot loader? Rebels Mascot Using Fedora 4 12th May 2005 03:50 AM


Current GMT-time: 14:28 (Sunday, 19-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