Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-14-2004, 08:55 AM   #1
LQ Newbie
Registered: Jun 2004
Location: Slovenia
Distribution: Gentoo
Posts: 27

Rep: Reputation: 15
How to modify grub.conf

I have a 80gByte harddrive on which I have Windows XP and Fedora Core 2. During Fedora installation I installed the Grub bootloader on the same partition as Fedora, however when setting the bootloader I removed "other" ( windows ) from the bootlist. I did this because I knew I was going to use the ntldr ( wondows bootloader ). Then in windows I modified the boot.ini file so I could boot both Win and Linux. It works great, except for one thing. When ntldr promts for OS and I select Linux, the grub bootloader shows up with only one OS option. So how do I make the Grub to boot linux, or to skip that splasscreen and just boot without prompting for anything.

I've tried to modify the grub.conf in Fedora, but it doesn't allow me - It doesn't permit me to open the file. So how do I access the grub.conf and how do I modify it so it would skip OS prompting?

Best regards,
George Mercury
Old 06-14-2004, 09:16 AM   #2
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Rep: Reputation: 30
Um. A file like the grub.conf file is considered to be important to the integrity of your system so logging in as a normal user means that you cannot alter that file. If you do ls -lah in the directory that contains grub.conf, it should show you that root owns the file. So you have to do the following at the command line (or log in as root though that means you should log off again right after finishing the editing.)

/bin/su - (yes the slash is helpful)
enter roots password

now you can edit the file since you have become root.

Do you follow?

Oh and edit the timeout line to be
timeout 0
And now Linux will boot immediately without prompting you (or it should).

Last edited by Kroenecker; 06-14-2004 at 09:17 AM.


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
Modify grub.conf DanielTan Linux - Newbie 9 01-02-2005 11:35 AM
Modify named.conf file pkrishna10 Linux - Networking 3 10-22-2004 01:03 PM
Need to modify - modules.conf lowlifeboy Debian 3 02-22-2004 02:52 PM
1st HDD = RH9.0 (grub) ... How do I modify grub when adding 2nd hard disk ? Onyx^ Linux - Software 1 09-05-2003 09:16 AM
How to modify PAM.d conf. files sunnycn Linux - General 0 05-20-2002 10:47 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:20 PM.

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