Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel panic error when booting.
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
kkennedy
n00b
n00b


Joined: 17 Jun 2002
Posts: 2
Location: TN USA

PostPosted: Mon Jun 17, 2002 9:57 pm    Post subject: Kernel panic error when booting. Reply with quote

I have attempted to install Gentoo on my PC.
I managed to get through the instructions without any
problems (and even seemed to comprehend a lot of it).
However, when I reboot the PC and select Gentoo from
the GRUB menu, it seems to load the kernel fine, but I
get the following error:
VFS: Cannot open root device "hda7" or 03:07
Kernel panic: VFS: Unable to mount root fs on 03:07

I have verified that hda7 is the correct partition. I
tried re-configuring my kernel (thinking I hadn't
enabled Ext3), but I had. I recompiled anyway to no
avail. The following three lines are used to boot
linux from GRUB:
title=Gentoo Linux
root (hd0,5)
kernel /boot/bzImage root=/dev/hda7

hda7 = / = ext3
hda6 = /boot = ext2
hda8 is the swap partition

Using the boot image, I mounted /dev/hda7 and ran
e2fsck and it said it was clean.

Maybe I didn't configure something in the kernel, that
was where I had the most questions about what I was
doing. Any advice to get me started in the right
direction, would be appreciated.
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jun 17, 2002 10:01 pm    Post subject: Reply with quote

Did you compile your kernel with ext3 support in the kernel? (As in, menuconfig shows [*] instead of [M].) If you compiled it as a module, the kernel won't be able to access it until it gets to the filesystem, but it can't get to the filesystem until it gets the module, and so forth. Make sure it's [*] instead of [M], and you should be set.

Err... and /dev/hda7 really is ext3, right? (Never hurts to ask. ;))
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Mon Jun 17, 2002 10:19 pm    Post subject: Reply with quote

Also make sure you have the driver for your HD controller compiled in your kernel ([*], as delta407 said).
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
Back to top
View user's profile Send private message
kkennedy
n00b
n00b


Joined: 17 Jun 2002
Posts: 2
Location: TN USA

PostPosted: Mon Jun 17, 2002 11:09 pm    Post subject: Reply with quote

delta407 wrote:
Did you compile your kernel with ext3 support in the kernel? (As in, menuconfig shows [*] instead of [M].) If you compiled it as a module, the kernel won't be able to access it until it gets to the filesystem, but it can't get to the filesystem until it gets the module, and so forth. Make sure it's [*] instead of [M], and you should be set.

Err... and /dev/hda7 really is ext3, right? (Never hurts to ask. ;))



Thanks, I will check on that tonight and let you know the outcome.
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Mon Jun 17, 2002 11:12 pm    Post subject: Reply with quote

fghellar wrote:
Also make sure you have the driver for your HD controller compiled in your kernel ([*], as delta407 said).


Doesn't the kernel default to using a generic IDE driver if it can't find something specific?
Back to top
View user's profile Send private message
fghellar
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 856
Location: Porto Alegre, BR

PostPosted: Tue Jun 18, 2002 12:11 am    Post subject: Reply with quote

delta407 wrote:
Doesn't the kernel default to using a generic IDE driver if it can't find something specific?

I don't know... :roll:
But I've always learned it's better to select the proper driver...
But, again, you may have some info I don't... :)
_________________
| www.gentoo.org | www.tldp.org | www.google.com |
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