LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-05-2004, 01:04 AM   #1
Neorio
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 110

Rep: Reputation: 15
Kernel Panic: won't mount root filesystem


I'm updating a RedHat 9 system with a 2.4.22 kernel (and some OpenMosix extensions!), but the silly thing won't load the root filesystem and instead I get a kernel panic. I can't figure out what's wrong because I seem to have compiled the kernel with everything it needs to start. Anyway, I get this info.....

ds: no socket drivers loaded !
VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernel Panic: VFS : Unable to mount root fs on 00:00

Now, I've compiled all the SCSI stuff into the kernel (essential since the machine is a server with only SCSI drives in it)

What annoys me is that the LABEL=/ and GRUB settings for the new kernel is the same as the old one - but for some reason LABEL=/ wont work.
Heck, even LABEL=/dev/sda1 doesn't work (and that's where the root filesystem is)

Any ideas?
 
Old 02-05-2004, 04:46 AM   #2
hyperlink1uk
Member
 
Registered: Mar 2003
Posts: 37

Rep: Reputation: 15
Silly Question but i take it you have compiled in support for your file system be it ext3,ext2 etc.

Can't other much more advice never had a scsi.

Take it you have made the right initrd image if you need one?
 
Old 02-05-2004, 06:10 PM   #3
Neorio
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 110

Original Poster
Rep: Reputation: 15
Yeah, I compiled in all the support for that and still no start.

I MUST be missing a particular driver somewhere... but I'd just like to know exactly *what* for my own education.

In the meantime I'll compile a kernel-with-the-lot and see how this pans out.
 
Old 02-05-2004, 06:11 PM   #4
snacky
Member
 
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
Did you compile the scsi support as modules? You need to have them compiled directly into the kernel, or else you can't even read the disk to load modules
 
Old 02-05-2004, 06:32 PM   #5
Neorio
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 110

Original Poster
Rep: Reputation: 15
I tried doing it both ways. I actually know that the scsi driver needed is the Adaptec 7XXX driver.... and first I tried using modules and an initrd. The second time I tried building it directly into the kernel and skipping the initrd.

Both cases ended up with the same message.

I'll stick with building an all-you-can-eat kernel until I find a way to thin it out.
 
  


Reply



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! could not mount root fs. Please help me out. TruongAn Linux - Software 1 10-20-2005 08:45 AM
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
Kernel wont mount root filesystem, complains about pivot_root kofrad Linux - Hardware 4 09-29-2004 10:59 PM
2.6 Kernel Panic : won't mount root filesystem Neorio Linux - Software 2 02-26-2004 09:38 PM
Kernel Panic: can't mount root fs gtanghookup Linux - Software 10 12-03-2003 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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