View previous topic :: View next topic |
Author |
Message |
dkmweeks Apprentice
Joined: 26 Apr 2005 Posts: 202 Location: Tampa, Florida, USA
|
Posted: Thu May 26, 2005 2:49 pm Post subject: VFS kernel panic |
|
|
Hello.
I've installed Gentoo onto a scsi based system, configured and installed grub, but when I boot, it panics, stating that it can't
VFS: Cannot open root device "sda3" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
I have a simple partitioning scheme: /dev/sda1==200 megs, for /boot; /dev/sda2==520 megs, for swap; /dev/sda3== * gigs, for /.
My root and kernel lines in grub is:
root (0,0)
kernel /kernel-2.6.11-gentoo-r9 root=/dev/sda3
I've installed grub onto (0,0), which is the partition used for /boot. This is my first time through Gentoo with a scsi based system, so I'm probably missing something wooaaeefully obvious.
Hope so, anyway.
Thanks in advance.
David Weeks,
Tampa, Florida, USA. |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Thu May 26, 2005 2:53 pm Post subject: |
|
|
Hi.
Did you compiled the SCSI driver into the kernel? You have to compile it in the kernel and not as a module. |
|
Back to top |
|
|
dkmweeks Apprentice
Joined: 26 Apr 2005 Posts: 202 Location: Tampa, Florida, USA
|
Posted: Thu May 26, 2005 3:25 pm Post subject: Yeashh... uh... [solved] |
|
|
Yeah,
I recompiled, this time putting the adaptec driver into the kernel, but DUH?? forgot to copy the bz to the booty.
(AKA: copy the bzImage to the /boot directory, as kernel-2.6.11-gentoo-r9)
To recap:
I needed to compile the scsi driver ___as part of the kernel___ instead of as a module.
I needed to ___copy the new kernel___ to the appropriate location, in this case:
cp /usr/src/linux/arch/i386/bzImage /boot/kernel-2.6.11-gentoo-r9
Thanks for your help.
David Weeks,
Tampa, Florida, USA. |
|
Back to top |
|
|
|
|
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
|
|