LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-31-2002, 12:10 PM   #1
Bigun
Member
 
Registered: Aug 2002
Location: Hickville, TN
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400

Rep: Reputation: 30
Question Lilo


This question should be easy.

When I install RH7.3, I wanted the LILO boot menu to show "RedHatLinux7.3" not "linux"...so thats what I did. Then I got online and updated via up2date, and rebooted.....now it shows:

Windows98SE
RedHatLinux7.3
linux

???huh??? How would this happed, and how do I remove this third entry?

 
Old 08-31-2002, 12:55 PM   #2
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
During the up2date proccess the kernel was updated also, for a couple of different reasons the old one is not removed (like you can specify that in /etc/rhn/sysconfig/up2date). If you want to remove that entry you need to modify /etc/lilo.conf and then run lilo to activate the changes!
 
Old 08-31-2002, 01:39 PM   #3
Bigun
Member
 
Registered: Aug 2002
Location: Hickville, TN
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400

Original Poster
Rep: Reputation: 30
Well done! Unfortunatally, we have uncovered another problem.

What I have found out is that when the update is applied, it does not check to see if you have put anything in beside the default label. At any rate when I select "RedHatLinux7.3" I am booting the old kernel. Ergo, "linux" is the new kernel. Here's the new problem, when I load up the new kernel, it freezes after enabling the swap space, what supposed to happen right after that is the init 5 level. So, here is my copy of lilo.conf if it helps:

prompt
timeout=50
default=Windows98SE
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.18-3
label=RedHatLinux7.3
initrd=/boot/initrd-2.4.18-3.img
read-only
root=/dev/hda2
append="hdc=ide-scsi"

other=/dev/hda1
optional
label=Windows98SE

image=/boot/vmlinuz-2.4.18-10
label=linux
root=/dev/hda2
append="hdc=ide-scsi"
read-only
initrd=/boot/initrd-2.4.18-10.img



now what??

 
Old 08-31-2002, 01:45 PM   #4
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
what's the last message you can see before it freezes? enabling swap space or something alike?
 
Old 08-31-2002, 01:51 PM   #5
Bigun
Member
 
Registered: Aug 2002
Location: Hickville, TN
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400

Original Poster
Rep: Reputation: 30
The very last thing is:

Enabling SWAP space [ OK ]
*blinking cursor here*


That's it....
 
Old 08-31-2002, 02:24 PM   #6
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
had a problem like that sometime but can't remember how i got rid of it
 
Old 09-01-2002, 12:18 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Just an idea...

What's the massive difference between 2.4.18-3 and -10? Is it something you actually need, or are you just staying on the bleeding edge.

This would be a good time to repeat the old adage:
If it ain't broke, don't fix it. And it would appear that in your case you tried to fix this thing that "ain't broke" and broke it.

I would just hold off on "updates" until needed. If it's because of a hardware issue, and -10 is the only thing that will support it, then I guess it's worth looking into.

One thing that comes to mind is the initrd. Is the initrd actually pointing to the correct initrd? Change directory to /boot and see if your initrd's are just symlinks. If so, make sure it's symlinked to the correct file.

Cool
 
Old 09-01-2002, 04:12 AM   #8
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
Kernel updates are EXCLUDED on default aren't they? well you can exclude them by updating /etc/sysconfig/rhn/up2date

set

pkgSkipList=kernel;
 
Old 09-01-2002, 11:15 AM   #9
Bigun
Member
 
Registered: Aug 2002
Location: Hickville, TN
Distribution: Gentoo > current. Have used: Red Hat 7.3, 9, Gentoo 1.4
Posts: 400

Original Poster
Rep: Reputation: 30
Ok, so I can live without the kernel update.....should I change my label to linux instead of RedHatLinux7.3 for future use? Also, in my up2date package is annoying me by giving me a warning telling me to run the new kernel....you know what.....screw it....I'll format....it won't take long to get it to this point again.....see ya on the other side folks...
 
  


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
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 02:15 PM
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 12:21 PM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 06:00 PM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 05:50 PM
Made a bootdisk with RedHat 7.1 to boot: Gave me SYSLINUX, not LILO:Want to use LILO Colonel Panic Linux - Software 0 08-17-2001 07:21 PM


All times are GMT -5. The time now is 05:48 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