Welcome to the most active Linux Forum on the web.
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 09-12-2003, 11:40 AM   #1
LQ Newbie
Registered: Jul 2003
Location: Northeast USA
Distribution: Red Hat 8.0
Posts: 1

Rep: Reputation: 0
Question Kernel Panic re Ext3?

I recompiled my Red Hat 8.0 kernel which started at 2.4.18-14 to bring it up to 2.4.21 (I got the tarball, etc.). Upon reboot up comes GRUB with my new choice, which is named 2.4.21-030813. On making that choice I end up seeing

EXT2-fs warning (device ide0(3,1)):ext 2_read_super: mounting ext3 filesystem as ext2
VFS: Mounted root (ext2 filesystem) read only.
Freeing unused kernel memory: 108 k freed
Warning: unable to open an initial console.
Kernel panic: no init found. Try passing init= option to kernel.

Ideally, you would give me an exact technical explanation of each of these lines, in complete English language sentences, and what I should do to get over the panic and arrive at the desktop. Short of that, just tell me what to do to get over the panic. Here is all the information I can think of providing that could be relevant. Obviously, I am a newbie, so if you need me to provide other information, please let me know.

The STANZAS OF /boot/grub/grub.conf are as follows:

title Red Hat Linux (2.4.21-030813)
root (hd0,0)
kernel /vmlinuz-2.4.21-030813 ro root=/dev/hda1
initrd /initrd-2.4.21-030813.img

title Red Hat Linux (2.4.18-14)
root (hd0,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
initrd /initrd-2.4.18-14.img

Here are other pieces of information.

# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

# mount
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
none on /dev/shm type tmpfs (rw)

# cat filesystems
nodev proc
nodev devpts

# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 38961432 2180100 34802124 6% /
/dev/hda1 101089 12739 83131 14% /boot
none 111544 0 111544 0% /dev/shm

[root@Ellis boot]# ls -l
total 6601
-rw-r--r-- 1 root root 16 Jul 23 14:56 2
drwxr-xr-x 2 root root 1024 Aug 7 17:53 archive
-rw-r--r-- 1 root root 5824 Sep 5 2002 boot.b
-rw-r--r-- 1 root root 612 Sep 5 2002 chain.b
-rw-r--r-- 1 root root 42086 Sep 4 2002 config-2.4.18-14
drwxr-xr-x 2 root root 1024 Aug 13 14:00 grub
-rw-r--r-- 1 root root 131099 Jun 20 20:40 initrd-2.4.18-14.img
-rw-r--r-- 1 root root 64378 Aug 13 12:21 initrd-2.4.21-030813.img
-rw-r--r-- 1 root root 479 Jul 21 14:45 kernel.h
drwx------ 2 root root 12288 Jun 20 20:36 lost+found
-rw-r--r-- 1 root root 23108 Sep 6 2002 message
-rw-r--r-- 1 root root 21282 Sep 6 2002 message.ja
-rw-r--r-- 1 root root 15436 Sep 4 2002 module-info-2.4.18-14
-rw-r--r-- 1 root root 640 Sep 5 2002 os2_d.b
lrwxrwxrwx 1 root root 20 Sep 4 17:28 ->
-rw-r--r-- 1 root root 502372 Sep 4 2002
-rw-r--r-- 1 root root 545477 Aug 13 12:01
-rwxr-xr-x 1 root root 3201477 Sep 4 2002 vmlinux-2.4.18-14
lrwxrwxrwx 1 root root 21 Aug 13 13:16 vmlinuz -> vmlinuz-2.4.21-030813
-rw-r--r-- 1 root root 1114125 Sep 4 2002 vmlinuz-2.4.18-14
-rw-r--r-- 1 root root 1028985 Aug 13 12:00 vmlinuz-2.4.21-030813

My only desparation has to do with getting out of the Kafkaesque torture of trying to look things up about Linux on the world wide web. By the way, if you do have an authoritative reply to this query, please allow me to ask a follow up question or two. Thanks very much.
Old 09-12-2003, 12:26 PM   #2
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
maybe you missed a step when you were recompiling, like make clean or something....take a look at this link and go through it and make sure you took all necessary steps..


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
Kernel Panic with Ext2/Ext3 partition check kewlemer Linux - General 3 04-06-2005 08:49 PM
EXT3-fs panic dman65 Linux - General 2 10-03-2003 01:50 PM
SMP Kernel Panic with ext3 on Redhat 9 Gord_McF Linux - Newbie 7 07-31-2003 08:02 AM
EXT3-fs: unable to read superblock... Kernel panic: no init found. ebakunin Linux - General 2 06-16-2002 11:37 PM
kernel 2.4.17, ext3 & kernel panic urinal cake Linux - Newbie 8 02-20-2002 08:26 PM > Forums > Linux Forums > Linux - Newbie

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

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