View previous topic :: View next topic |
Author |
Message |
kkennedy n00b
Joined: 17 Jun 2002 Posts: 2 Location: TN USA
|
Posted: Mon Jun 17, 2002 9:57 pm Post subject: Kernel panic error when booting. |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Mon Jun 17, 2002 10:01 pm Post subject: |
|
|
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 |
|
|
fghellar Bodhisattva
Joined: 10 Apr 2002 Posts: 856 Location: Porto Alegre, BR
|
Posted: Mon Jun 17, 2002 10:19 pm Post subject: |
|
|
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 |
|
|
kkennedy n00b
Joined: 17 Jun 2002 Posts: 2 Location: TN USA
|
Posted: Mon Jun 17, 2002 11:09 pm Post subject: |
|
|
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 |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Mon Jun 17, 2002 11:12 pm Post subject: |
|
|
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 |
|
|
fghellar Bodhisattva
Joined: 10 Apr 2002 Posts: 856 Location: Porto Alegre, BR
|
Posted: Tue Jun 18, 2002 12:11 am Post subject: |
|
|
delta407 wrote: | Doesn't the kernel default to using a generic IDE driver if it can't find something specific? |
I don't know...
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 |
|
|
|