View previous topic :: View next topic |
Author |
Message |
Quartzrox n00b
Joined: 25 Jan 2006 Posts: 4 Location: France
|
Posted: Wed Jan 25, 2006 9:50 pm Post subject: kernel panic. "sdb3 doesn't exist" [SOLVED] |
|
|
i have 2 SATA drives and they're recognized by the BIOS and Gentoo LiveCD in a certain order. for some reason, for GRUB, second disk is (hd0) and the 1st one is (hd1), it was tricky to find.
Gentoo is on disk 2 (hd0) and there are 3 partitions: boot, swap, root. I set the systemmap right for the HDs:
(hd0) /dev/sdb
(hd1) /dev/sda
i installed Gentoo on sdb3 w/ reiserfs and compiled the kernel with all the reiserfs features.
the line in grub.conf looks like this:
kernel kernel-2.6.12-gentoo-r10 root=/dev/sdb3.
the result is a kernel panic because "sdb3 is not a valid device" and it says i should set a correct one. i don't know if this matters but GRUB does see all 3 partitions.
Last edited by Quartzrox on Sat Jan 28, 2006 2:46 am; edited 1 time in total |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Wed Jan 25, 2006 10:13 pm Post subject: |
|
|
Hi and welcome to the forums.
Please post the exact error message. If you want to know how GRUB sees your disks, on the GRUB menu select the command-line c and use GRUB auto-complete feature, use TAB, to discover how GRUB sees your disks. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
Quartzrox n00b
Joined: 25 Jan 2006 Posts: 4 Location: France
|
Posted: Thu Jan 26, 2006 12:11 am Post subject: |
|
|
Thx
i believe someone else in a recent thread had the exact same problem. the error message is the message exept i get cannot the line is Quote: | VFS: Cannot open root device "sdb3" or unknown block(0,0) | . however there's no low-level driver for Nvidia SATA (what i've got) in the version of the gentoo-sources i have[/quote].
I downloaded the latest portage and going to recompile the kernel with this option... |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Thu Jan 26, 2006 1:44 am Post subject: |
|
|
The driver for Nvidia SATA is available under Device Drivers --> SCSI device support --> SCSI low-level drivers --> Serial ATA (SATA) support --> NVIDIA SATA support. Don't forget you need to compile it in the kernel <*> and not as a module <M>. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
HellFace n00b
Joined: 17 May 2005 Posts: 44
|
Posted: Thu Jan 26, 2006 4:33 am Post subject: |
|
|
jmbsvicetto wrote: | The driver for Nvidia SATA is available under Device Drivers --> SCSI device support --> SCSI low-level drivers --> Serial ATA (SATA) support --> NVIDIA SATA support. Don't forget you need to compile it in the kernel <*> and not as a module <M>. |
Exactly... Grub is probably seeing /dev/hdx without the correct SATA support. You should be able to see it as you boot up. |
|
Back to top |
|
|
Quartzrox n00b
Joined: 25 Jan 2006 Posts: 4 Location: France
|
Posted: Fri Jan 27, 2006 4:09 am Post subject: |
|
|
i don't get it.
when i did "make menuconfig" the Nvidia driver didn't show up, then for some reason i tried "genkernel --menuconfig" and then it did appear!
why is that ? |
|
Back to top |
|
|
iamben Apprentice
Joined: 10 May 2004 Posts: 275
|
Posted: Fri Jan 27, 2006 6:54 am Post subject: |
|
|
maybe because you disabled "Prompt for development and/or incomplete code/drivers" |
|
Back to top |
|
|
Quartzrox n00b
Joined: 25 Jan 2006 Posts: 4 Location: France
|
Posted: Fri Jan 27, 2006 7:17 am Post subject: |
|
|
oh yeah, i thought this option did the opposite (don't ask me why)
i'm glad it takes only a couple of minutes to compile a kernel. the problem is solved. thank you. |
|
Back to top |
|
|
batistuta Veteran
Joined: 29 Jul 2005 Posts: 1384 Location: Aachen
|
Posted: Fri Jan 27, 2006 8:41 am Post subject: |
|
|
There is nothing like getting your problem solved, is there?
Please add [SOLVED] to the subject of your original post so that other people can share your happiness! |
|
Back to top |
|
|
|