LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-28-2007, 08:01 PM   #1
gpenguin
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Rep: Reputation: 0
LFS Kernel 2.6.16.38 Boot Failure: VFS unable to mount root


Ok, I've read the threads, tried to compile various options and I'm stumped. I'm new to the 2.6.x kernel and Grub, but experienced with 2.4.x, LILO, and Linux in general.

I've got a SATA drive as hda with 3 partitions:

/dev/hda1 => /boot ext2
/dev/hda2 => swap
/dev/hda3 => / ext2

I've compiled the kernel with SATA support under the SCSI subsystem (SATA under IDE is "deprecated and conflicts with libata). Per other threads I've compiled in SATA Support, AHCI Support, and my Intel Support (got Intel ICH5).

My grub looks like this:

Title LFS
kernel (hd0,0)/lfs_kernel root=/dev/hda3

When I attempt to boot, I get the infamous "unable to mount 'hda3' or unknown-block(0,0) please provide correct "root=" line..." I'm sure you've all seen this one.

So what am I doing wrong? The kernel is being read and decompressed else I wouldn't be getting a kernel panic. The SATA stuff is enabled:

CONFIG_SCSI_SATA=y
CONFIG_SCSI_ATA_PIIX=y
CONFIG_SCSI_SATA_AHCI=y
CONFIG_SCSI_SATA_INTEL_COMBINED=y

But the kernel can't see my /dev/hda3...

--David
 
Old 03-01-2007, 05:04 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
SATA is typically sda, not hda.
 
Old 03-01-2007, 12:35 PM   #3
gpenguin
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Normally I'd agree. However when booting the LFS Live CD (which I use to build the system) /dev/hda is fine. When installing Grub, hdX was used with no problem as well.

Nevertheless, I'll give it a try and post back in a few...
 
Old 03-01-2007, 12:38 PM   #4
gpenguin
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Nope...changing "root=/dev/hda3" to "root=/dev/sda3" resulted in the same error. I've got a few other ideas I'm going to try, but if anyone has ideas...let me know. Thanks!

--David
 
Old 03-01-2007, 04:19 PM   #5
gpenguin
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Good news...I've got the system to recognize the hda drive. The mistake was a missing PIIX option. However, now when the drive is recognized. I'm getting an error about the ext2 partition not being valid??? I just remade the partition and re-installed the files so I know it's fine.

Any ideas on this????
 
Old 03-01-2007, 05:42 PM   #6
gpenguin
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Original Poster
Rep: Reputation: 0
I'm moving this posting thread to the LFS forum.
 
  


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: VFS: unable to mount root on 08:08, on first boot right after slack... nass Slackware 6 01-15-2007 03:01 PM
"Kernel panic: VFS: Unable to mount root fs" - Kernel fails to boot linux Freedom Seeker Linux - General 11 11-12-2006 07:48 PM
kernel 2.6.12 VFS: Unable to mount root fs nova-ex Linux - Newbie 5 03-14-2006 11:17 AM
Kernel Panic :VFS :Unable to mount root fs on 00:00 mohsin649 Linux - Newbie 3 09-05-2005 06:29 AM
Kernel panic:VFS:unable to mount root fs on 01:03 Marc Linux - Software 2 12-08-2001 09:59 PM

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

All times are GMT -5. The time now is 02:59 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