Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel unable to mount root fs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
roamingnomad
n00b
n00b


Joined: 15 Mar 2004
Posts: 5
Location: /USA/CA/SD

PostPosted: Mon Sep 06, 2004 3:41 am    Post subject: Kernel unable to mount root fs Reply with quote

When I try to boot with my new kernel, I get:

Code:
VFS: Cannot open root device "hda7" or unknown-block(3,7)
Please append a correct "root=" option
Kernel panic: VFS: Unable to mount root fs on unknown-block(3,7)


I've googled, and it seems that everybody else with similar problems just forgot to compile a certain module. That might be the case, but I don't think so... I've checked my .config over and over again... but just in case, I put my .config file online.

I don't think it's that, though-- because of my menu.lst:

Code:
default 0
timeout 30

title=Gentoo Linux
root (hd0,4)
kernel (hd0,4)/linux-2.4.26-gentoo-r8 root=/dev/hda7

title=Gentoo Linux (2.6 modular kernel)
root (hd0,4)
kernel (hd0,4)/bzImage-2.6.8-gentoo-r3 root=/dev/hda7

title=Windows ME
rootnoverify (hd0,0)
makeactive
chainloader +1


The old kernel boots fine, but they point to the same place,so I doubt it's a problem with grub.

Any suggestions?
Back to top
View user's profile Send private message
HydroSan
l33t
l33t


Joined: 04 Mar 2004
Posts: 764
Location: The Kremlin (aka Canada)

PostPosted: Mon Sep 06, 2004 3:51 am    Post subject: Reply with quote

Do:

Code:
make menuconfig


And make sure your Filesystems and IDE drivers are compiled properly.

That SHOULD do it.
_________________
I was a Gangster for Capitalism, by Major General Smedley Butler.

Server status: Currently down, being replaced with fresh install - 20% completed.
Back to top
View user's profile Send private message
DarrenM
l33t
l33t


Joined: 25 Apr 2002
Posts: 653
Location: Sydney, Australia

PostPosted: Mon Sep 06, 2004 4:55 am    Post subject: Reply with quote

Try searching this forum as well :wink:
Back to top
View user's profile Send private message
Paradigmbreak
n00b
n00b


Joined: 02 Sep 2003
Posts: 64

PostPosted: Tue Sep 07, 2004 10:32 pm    Post subject: Reply with quote

Are you using a SATA drive as hda, perchance?
Back to top
View user's profile Send private message
chunderbunny
Veteran
Veteran


Joined: 31 May 2004
Posts: 1281
Location: 51°24'27" N, 0°57'15" W

PostPosted: Tue Sep 07, 2004 11:53 pm    Post subject: Reply with quote

I guess it's possible you turned off devfs support in the kernel (it's marked as deorecated I think) but didn't install udev to replace it.
Back to top
View user's profile Send private message
galenjr
Tux's lil' helper
Tux's lil' helper


Joined: 02 Aug 2004
Posts: 88
Location: Connecticut, USA

PostPosted: Thu Sep 09, 2004 10:26 pm    Post subject: Reply with quote

If you're using SATA drives you gotta compile the corresponding SATA controller type into your kernel. Thsi is from your config...

Code:
CONFIG_SCSI_ATA_PIIX=y
CONFIG_SCSI_SATA_SX4=m
CONFIG_SCSI_SATA_SIS=m


i think thats default. If you use SATA look in your motherboards specs and get the SATA controller type and enable it. Disable the rest.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum