Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VFS kernel panic
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
dkmweeks
Apprentice
Apprentice


Joined: 26 Apr 2005
Posts: 202
Location: Tampa, Florida, USA

PostPosted: Thu May 26, 2005 2:49 pm    Post subject: VFS kernel panic Reply with quote

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
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Thu May 26, 2005 2:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
dkmweeks
Apprentice
Apprentice


Joined: 26 Apr 2005
Posts: 202
Location: Tampa, Florida, USA

PostPosted: Thu May 26, 2005 3:25 pm    Post subject: Yeashh... uh... [solved] Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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