LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-23-2003, 04:05 PM   #1
SirRobbin
LQ Newbie
 
Registered: May 2003
Location: State College, PA
Distribution: Red Hat 8.0
Posts: 17

Rep: Reputation: 0
Kernel won't boot.. error mounting ext3


I've recently built a kernel for 2.5.73 (I know it's not stable but it would be terrific if I can get it to work) and I ran into the following error message when trying to boot:

mount: error 19 mounting ext3
pivotroot: pivot_root (/sysroot,/sysroot/initrd) failed: 2
umount /initrd/proc failed: 2
kernel panic: no init found.. try passing init= option to kernel

After this it hangs. I've been trying to troubleshoot this all day and would really love some help. The vmlinuz file and initrd image for 2.5.73 are in /boot and the grub.conf file looks correct. Here is my fstab file:

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/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0

Here's my grub.conf:

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.5.73)
root (hd0,0)
kernel /vmlinuz-2.5.73 ro root=/dev/hda2 hdc=ide-scsi
initrd /initrd-2.5.73.img
title Red Hat Linux (2.4.21)
root (hd0,0)
kernel /vmlinuz-2.4.21 ro root=/dev/hda2 hdc=ide-scsi
initrd /initrd-2.4.21.img
title Red Hat Linux (2.4.18-14)
root (hd0,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-14.img

The other kernels boot correctly.

Thanks from a needy newbie!
 
Old 07-23-2003, 04:57 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
look at my guide and scroll down to the part that says:
--------------------------------------------
Now Its Time To Install Your New Kernel~!
--------------------------------------------
and tell if you did them steps....i am thinking you missed at least one of them steps...
 
Old 07-24-2003, 07:18 AM   #3
SirRobbin
LQ Newbie
 
Registered: May 2003
Location: State College, PA
Distribution: Red Hat 8.0
Posts: 17

Original Poster
Rep: Reputation: 0
I gave it a try.. didn't work. Still have the same error.

Any other ideas?
 
  


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
error mounting ext3 filesystem... mount: /dev/hdd1: can't read superblock versaulis Linux - Software 5 11-26-2006 08:34 PM
Mount : error 6 mounting ext3.. and kernal panic Asificare Mandriva 2 01-15-2005 03:31 PM
mount: error 19 mounting ext3, on 2.6.6 jg167 Linux - Newbie 5 06-15-2004 03:28 AM
mount: error 6 mounting ext3 an0nym0us Linux - General 4 03-31-2004 08:37 AM
mount: error 6 mounting ext3 cknaresh Linux - Newbie 2 11-18-2002 06:35 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration