LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-05-2003, 05:03 AM   #1
dvong3
Member
 
Registered: Sep 2002
Posts: 168

Rep: Reputation: 30
Unhappy Kernel Problem


HI,

I just upgrade the kernel on my Redhat 7.2 using up2date. The problem I am having is the kernel can not detect my filesystem ext3. Also the lilo.config is missing an entry. Here is my lilo.config below. Can any one help?

[root@mrtg danny]# cat /etc/lilo.conf
prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.7-10
label=linux.bak
initrd=/boot/initrd-2.4.7-10.img
read-only
root=/dev/hda3

image=/boot/vmlinuz-2.4.18-26
label=linux
root=/dev/hda3
read-only
 
Old 03-05-2003, 06:31 AM   #2
Neuronet
Member
 
Registered: Feb 2003
Location: The Netherlands
Distribution: Debian 3.0
Posts: 43

Rep: Reputation: 15
What do you mean by 'the kernel can not detect my filesystem ext3'?

How do you know that you have an entry missing? What error does it give when you type lilo at the command prompt?

I don't know about this up2date app that you mention, I compiled my kernel from source. You can get the latest sources and instructions from kernel.org

Neuronet.
 
Old 03-05-2003, 08:12 AM   #3
UnTamed
Member
 
Registered: Dec 2002
Location: Qc, Canada
Distribution: CRUX
Posts: 317

Rep: Reputation: 30
More than the entry, if you're missing the actual initrd for your new kernel, that's what you got to solve. Look into /boot to see if you got a initrd-2.4.18-26, if so, just add the correct entry to lilo.conf [...and run /sbin/lilo].
If not, find out what kernel pkgs up2date actually installed.
rpm -qa | grep kernel
as you'll most likely need the kernel-sources to create a new initrd [...maybe the headers too???].

Anyway, see man mkinitrd and mkinitrd --help, iirc it was quite easy to figure but it's been a while since I've had to mess with that and the distros I run now,don't use it.

HTH.
 
Old 03-05-2003, 12:46 PM   #4
Quigi
Member
 
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 377

Rep: Reputation: 31
Question

I'm having very similar issues after (network) upgrading from redhat 7.1 to 8.0

To answer some of Neuronet and UnTamed's questions,

Querying 'rpm -qa | grep kernel' reports:
kernel-2.4.18-14

But 'uname -srv' gives a very old kernel:
Linux 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001

Apparently this causes all kernel modules to be missing -- depmod fails with:
depmod: Can't open /lib/modules/2.4.2-2/modules.dep for writing
(the directory /lib/modules/2.4.2-2 does not exist).

Lacking ext3 manifests, e.g., when I try to mount:
mount: fs type ext3 not supported by kernel

Running lilo gives:
Fatal: open /boot/boot.b: No such file or directory

My lilo.conf appears to name the new kernel:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
message=/boot/messagte
linear
default=linux

image=/boot/vmlinuz-2.4.18-14
label=2.4.18-14
read-only
initrd=/boot/initrd-2.4.18-14.img
append="root=LABEL=/"

other=/dev/hda1
optional
label=dos

(apparently indentation doesn't make it to the post.)

Any hints about how to get the right kernel from RPM to boot would be appreciated.
 
  


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
Problem installing module in Fedora Core 2 (2.6 kernel vs 2.4 problem?) Arodef Linux - Kernel 3 11-30-2007 02:55 PM
kernel 2.6.9 Kernel panic problem salahuddin_66 Slackware 2 08-11-2007 03:17 AM
Kernel panic problem with all of my kernels after installing new kernel nosebleed Linux - Software 2 04-14-2006 09:48 PM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 04:59 AM
Linux Kernel Problem -- Kernel panic: CPU context corrupt crcooney Linux - Distributions 0 01-15-2004 08:48 AM


All times are GMT -5. The time now is 04:23 PM.

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