View previous topic :: View next topic |
Author |
Message |
-=GGW=- $ol!d $n4>|e Veteran
Joined: 12 Apr 2004 Posts: 1616 Location: USA
|
Posted: Sat Oct 16, 2004 8:33 am Post subject: Kernel error plz append correct root= |
|
|
Ok, my brother was po'ed at other distros so I offered to set up gentoo on his comp
on my comp I have a stage1 system but he wanted me to do it in one night using the universal/grp thing
I did but he also wanted me to only use one partition. This is where I am lost
The partition he wants me to use is /dev/hde4 and it is ext3 as I set it up
I set up grub like this
...
title=gentoo
root (hd0,3)
kernel /kernel-2.6 root=/dev/hde4
...
It boots into the system then has a kernele panic because it could not mount root at /dev/hde4 and something about an unrecognized block 0,0 I've tried so many diff things and it just wond boot? any suggestions? kernel asks me to append the "right" "root=" tag. |
|
Back to top |
|
|
jmz2 Guru
Joined: 13 Jan 2004 Posts: 421 Location: Finland
|
Posted: Sat Oct 16, 2004 8:55 am Post subject: |
|
|
VFS Panic? Double-check your kernel configuration: ext2/3 filesystem must be build into the kernel, not as modules. Did you use genkernel? Using genkernel with initrd helps sometimes.
And if you still can't boot, try another kernel patchset. I've had problems compiling ck-sources with: Make oldconfig screwed up the settings, and menuconfig didn't include required IDE stuff to the configuration. Had to manually tune the .config file to make the kernel bootable. If you're having similar problems, it may be easier to switch to some other kernel patches. |
|
Back to top |
|
|
-=GGW=- $ol!d $n4>|e Veteran
Joined: 12 Apr 2004 Posts: 1616 Location: USA
|
Posted: Sat Oct 16, 2004 9:34 am Post subject: |
|
|
hmm, I enabled ext2/3 but I'm just using one ext3 primary partition, custume compiled kernel, suppose I could go back and genkernel it. He doesn't have networking right now becase emerge nforce-net and emerge nforce-sound from the universal cd wouldn't work bacause of the same error... |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Sat Oct 16, 2004 1:09 pm Post subject: |
|
|
-=GGW=- $ol!d $n4>|e,
Hmm /dev/hde?
You either have a SATA drive or a drive on an expansion card.
There are two drivers for SATA, one will make your hdd appear as /dev/hde, the other will make it /dev/sda (a scsi device)
The IDE SATA driver (hde) is depreciated but the liveCD uses it.
If you have compiled the SCSI one in the kernel, then your root filesystem will be at /dev/sda4.
Your fstab will be wrong as well, but the / (root) entry is not used, so you can boot first and fix that later.
Some info on the hdd and its attachment to the PC would be useful. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
-=GGW=- $ol!d $n4>|e Veteran
Joined: 12 Apr 2004 Posts: 1616 Location: USA
|
Posted: Sun Oct 17, 2004 12:50 am Post subject: |
|
|
It is a controller card in a pci slot, because his hd if 200 gigs western digital jd2000. And he's pretty sure its an sata controler card. I didn't compile anything special into the kernel for his controller card, shoult I have? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Sun Oct 17, 2004 1:12 am Post subject: |
|
|
-=GGW=- $ol!d $n4>|e,
You need to compile the hardware driver at the very least. You must say 'Y' for builtin, not 'M', since until the module is loaded the kerenl cannot read the drive to load the module.
Look for Serial ATA under SCSI. Choose the driver for the chipset that lspci identifies that you have. Read the help in the kernel config.
You will need SCSI disc support too, since your SATA drive will appear as a SCSI device. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
-=GGW=- $ol!d $n4>|e Veteran
Joined: 12 Apr 2004 Posts: 1616 Location: USA
|
Posted: Sun Oct 17, 2004 2:09 am Post subject: |
|
|
I retried it with those built in and it did the same thing... |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54216 Location: 56N 3W
|
Posted: Sun Oct 17, 2004 10:00 am Post subject: |
|
|
-=GGW=- $ol!d $n4>|e,
Post your lspci output (from running the livecd), the lsmod output (so I can see what the liveCD is doing for your hardware) and the content of /usr/src/linux/.config, so I can see whats missing.
I tried googling for your drive and didn't get any hits. Can you check the part number or post a link please. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|