View previous topic :: View next topic |
Author |
Message |
roamingnomad n00b
Joined: 15 Mar 2004 Posts: 5 Location: /USA/CA/SD
|
Posted: Mon Sep 06, 2004 3:41 am Post subject: Kernel unable to mount root fs |
|
|
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 |
|
|
HydroSan l33t
Joined: 04 Mar 2004 Posts: 764 Location: The Kremlin (aka Canada)
|
Posted: Mon Sep 06, 2004 3:51 am Post subject: |
|
|
Do:
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 |
|
|
DarrenM l33t
Joined: 25 Apr 2002 Posts: 653 Location: Sydney, Australia
|
Posted: Mon Sep 06, 2004 4:55 am Post subject: |
|
|
Try searching this forum as well |
|
Back to top |
|
|
Paradigmbreak n00b
Joined: 02 Sep 2003 Posts: 64
|
Posted: Tue Sep 07, 2004 10:32 pm Post subject: |
|
|
Are you using a SATA drive as hda, perchance? |
|
Back to top |
|
|
chunderbunny Veteran
Joined: 31 May 2004 Posts: 1281 Location: 51°24'27" N, 0°57'15" W
|
Posted: Tue Sep 07, 2004 11:53 pm Post subject: |
|
|
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 |
|
|
galenjr Tux's lil' helper
Joined: 02 Aug 2004 Posts: 88 Location: Connecticut, USA
|
Posted: Thu Sep 09, 2004 10:26 pm Post subject: |
|
|
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 |
|
|
|