LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-28-2004, 11:31 PM   #1
kofrad
LQ Newbie
 
Registered: May 2004
Location: South Florida
Distribution: Gentoo 1.4
Posts: 18

Rep: Reputation: 0
Kernel wont mount root filesystem, complains about pivot_root


I just recently finished compiling the Linux 2.6.3-7 kernel and added everything into my lilo.conf file, checked the config and installed lilo. When I tried to boot up, I told lilo to boot using the new kernel and I saw the kernel loading and everything looked like it was working so far, then I got this

Code:
Mounting root filesystem
Mount: error 6 mounting ext3 flags defaults
Well, retrying without the option flags
Mount: error 6 mounting ext3
Well, retrying read-only without any flag
Mount: error 6 mounting ext3
pivotroot: pivot_root(/sysroot, /sysroot/initrd) failed: 2
Kernel panic: No init found. Try passing init=option to kernel
I have trying recompiling from scratch and I have the ext2 and ext3 code compiled directly into the kernel, not as modules. I can't seem to figure this one out, if someone could tell me what I am doing wrong, I would really appreciate it. Thanks.

Last edited by kofrad; 09-28-2004 at 11:32 PM.
 
Old 09-29-2004, 07:29 AM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
There is probably something wrong with your lilo.conf.
can you still boot with the old kernel?

If you can't, try something like
linux noinitrd

at the lilo option screen (press ESC at the lilo menu).
 
Old 09-29-2004, 11:15 AM   #3
kofrad
LQ Newbie
 
Registered: May 2004
Location: South Florida
Distribution: Gentoo 1.4
Posts: 18

Original Poster
Rep: Reputation: 0
I can still use my old kernel, I tried first without an initrd, but I got errors before I got this far. I can't remember what the errors are because I'm not at home, but I'll get them once I'm back.
 
Old 09-29-2004, 06:00 PM   #4
kofrad
LQ Newbie
 
Registered: May 2004
Location: South Florida
Distribution: Gentoo 1.4
Posts: 18

Original Poster
Rep: Reputation: 0
Here is what I get when passing the noinitrd option to the kernel

Code:
VFS: Cannot open root device "309" or unknown-block (3,9)
Please append a correct "root=" boot option
kernel panic: Unable to mount root fs on unknown-block(3,9)
I have the root option set in my lilo.conf and it is the same as what is set for my other kernels.
 
Old 09-29-2004, 10:59 PM   #5
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
hmm. could you post your lilo.conf?
 
  


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
Unable to mount my root filesystem !!! Manhatten101 Linux - Enterprise 2 09-06-2005 02:12 PM
Kernel Panic: It won't mount the root filesystem (2.6.8 and 2.6.9) and LILO hates me edman007 Linux - General 4 11-13-2004 05:41 PM
Mount with bind flag to root filesystem Wodeh Linux - Newbie 0 04-11-2004 05:33 AM
2.6 Kernel Panic : won't mount root filesystem Neorio Linux - Software 2 02-26-2004 09:38 PM
Kernel Panic: won't mount root filesystem Neorio Linux - Software 4 02-05-2004 06:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:11 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
Open Source Consulting | Domain Registration