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

9th November 2011, 08:13 AM
|
 |
Registered User
|
|
Join Date: May 2011
Posts: 16

|
|
|
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
|

9th November 2011, 08:29 AM
|
|
Registered User
|
|
Join Date: Nov 2007
Posts: 43

|
|
|
Re: Boot Loader
you can sudo gedit /boot/grub2/grub.cfg, but this way is not recommended
|

9th November 2011, 08:40 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,927

|
|
|
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
Then run
PHP Code:
grub2-mkconfig -o /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
|

9th November 2011, 01:38 PM
|
|
Registered User
|
|
Join Date: May 2009
Location: /dev/ph
Posts: 308

|
|
|
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.
|

9th November 2011, 02:15 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,613

|
|
|
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)
|

9th November 2011, 02:18 PM
|
 |
"Shells" (of a sub world)
|
|
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,600

|
|
|
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
|

9th November 2011, 02:31 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,613

|
|
|
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.
|

9th November 2011, 02:52 PM
|
 |
Formerly known as"professorrmd"
|
|
Join Date: Mar 2011
Posts: 2,603

|
|
|
Re: Boot Loader
I might be wrong, but, isn't it easier to install "system-config-boot" and edit the grub options ?
|

9th November 2011, 02:58 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,613

|
|
|
Re: Boot Loader
system-config-boot doesn't work with grub2, neither does bootconf. Those are tools for working with legacy grub.
|

9th November 2011, 03:02 PM
|
 |
Formerly known as"professorrmd"
|
|
Join Date: Mar 2011
Posts: 2,603

|
|
|
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.
|

9th November 2011, 03:21 PM
|
 |
Administrator
|
|
Join Date: Aug 2009
Posts: 6,613

|
|
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 14:28 (Sunday, 19-05-2013)
|
|
 |
 |
 |
 |
|
|