LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-09-2003, 10:35 PM   #1
BlandoCal
Member
 
Registered: Sep 2003
Location: Ames, IA
Distribution: Fedora Core 3
Posts: 92

Rep: Reputation: 15
Question Grub.conf problem


Hello,
I am running Fedora 1 on a i386 machine. I have done the yum update command and it updated all my programs and installed the new kernel (2.4.22-1.2129) and I am having troubles booting into it. After the install was finished it added this line to my grub.conf file (located in /boot/grub/ and /etc):

title Fedora Core (2.4.22-1.2129.nptl)
root (hd0,2)
kernel /vmlinuz-2.4.22-1.2129.nptl ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.22-1.2129.nptl.img

in which i see nothing wrong with what it added (like i know what all that means )

here's the permissions on my grub.conf file if that helps:
-rw------- 1 root root 629 Dec 9 21:19 grub.conf

anyway, when i reboot my comptuer the same 2 choices come up in grub (Fedora 2.4.22-1.2115 --> my old kernel, and Windows XP) as they did before the kernel was installed. I've never had any boot problems before.

I tried changing the line for the kernel which boots (...2115) from what it has as a title (Fedora Core (2.4.22-1.2115.nptl) to Fedora Linux, but after a reboot it still just reads the long name for Fedora (Fedora Core (2.4.22-1.2115.nptl)) (and yes i saved the grub.conf file because after i booted back up it was still had the change saved) and windows XP. Its almost like its reading a differnt grub.conf file when it boots, I'm so lost by now and any advice suggestions criticsm, all will be greatly appreciated. Below i have posted my entire grub.conf file, thanks again:

(also the part about the bigmem kernel may have something to do with it, I don't remember installing that kernel, however when I was trying to install my nVidia drivers there was an RPM named bigmem that may have installed that.....) plz help, ty

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/hda6
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2129.nptl)
root (hd0,2)
kernel /vmlinuz-2.4.22-1.2129.nptl ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.22-1.2129.nptl.img
title Fedora Core (2.4.20-20.7bigmem)
root (hd0,2)
kernel /vmlinuz-2.4.20-20.7bigmem ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.20-20.7bigmem.img
title Fedora Core (2.4.22-1.2115.nptl)
root (hd0,2)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdd=ide-scsi
initrd /initrd-2.4.22-1.2115.nptl.img
title Windows XP
rootnoverify (hd0,1)
chainloader +1
 
Old 12-10-2003, 05:22 PM   #2
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
You are probably editing a different grub.conf than the one grub actually reads.
Unlike lilo, which hard-codes configuration, grub searches config file at boot time, stopping at the first one it finds.

It searches every partition (including fat) for a /boot/grub or /grub folder.
Try 'locate grub.conf' to figure out what it's reading, or you can run 'find /boot/grub/grub.conf' directly at boot prompt ('c' to go to command mode).

If you want a /etc/grub.conf, make it a symlink to /boot/grub/grub.conf
 
Old 12-10-2003, 05:28 PM   #3
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
BTW, maybe I have an old version old version of grub , but on my debian the configuration file is called menu.lst, not grub.conf !!
A bit confusing, I admit it

Tell me if you found the problem.
 
Old 12-10-2003, 07:46 PM   #4
BlandoCal
Member
 
Registered: Sep 2003
Location: Ames, IA
Distribution: Fedora Core 3
Posts: 92

Original Poster
Rep: Reputation: 15
on mine the menu.lst is actually linked to the grub.conf file

I posted this thread in another area, which i have learned is a no no, but here's the link to it to see what they other people have said, thanks for helping

http://www.linuxquestions.org/questi...hreadid=124428

Mark
 
Old 12-10-2003, 09:05 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
after running updatedb run locate grub.conf and locate menu.lst

check each one with ls -l to see what the links are pointing to.

umount /boot

check /boot for other grub.conf



Please don't double post. It gets confusing.

Last edited by DavidPhillips; 12-10-2003 at 09:06 PM.
 
  


Reply


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
grub.conf problem ANU Linux - Software 4 01-06-2004 09:16 AM
grub.conf problem BlandoCal Fedora 23 12-12-2003 04:23 AM
SiI680 cards and grub.conf problem prospectofdeath Linux - General 1 11-23-2003 04:50 AM
grub.conf problem usr Linux - Newbie 1 10-25-2003 03:01 PM
grub.conf problem taoweijia Linux - Newbie 2 09-20-2003 12:18 AM


All times are GMT -5. The time now is 04:47 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration