View previous topic :: View next topic |
Author |
Message |
illynova n00b
Joined: 02 Jul 2005 Posts: 14 Location: Chicago
|
Posted: Sun Dec 11, 2005 12:43 am Post subject: kernel panic on reboot - cannot sync? |
|
|
I get the following error after configuring the grub boot loader, and rebooting
Quote: |
Root-NFS: No NFS server availabvle, giving up
VFS: Unable to mount root fs via NFS, trying floopy
VFS: Insert root floppy and press ENTER
`VFS: Cannot open root device "sda3" or unknown-block(2,0)
Please append a correct "Root=" boot option
Kernel panic - not syncing: VFS: Unable to mount rot fs on unknown-block(2,0)
|
This is my grub.conf file
Quote: |
default 0
timeout 30
title=Gentoo Linux 2.6.12-r10
root (hd0,0)
kernel /boot/kernel-2.6.12-gentoo-r10 root=/dev/sda3
|
device.map
Quote: |
(fd0) /dev/fd0
(hd0) /dev/sda
|
I have a SATA hard drive, I set it up just like the gentoo handbook except i replaced hda with sda.
Ideas? This is getting a little frustrating (I've never delved into the lower level parts of linux before), but I don't want to give up... this is the last phase before I have a working system.
Thank you! _________________ "The last time the French asked for 'more proof' it came marching into Paris under a German flag." |
|
Back to top |
|
|
Ma3oxuct Guru
Joined: 18 Apr 2003 Posts: 523
|
Posted: Sun Dec 11, 2005 1:44 am Post subject: |
|
|
Did you enable SATA support in your kernel?
You will find SATA support under Device Drivers --> SCSI --> Low-Level Drivers
Last edited by Ma3oxuct on Sun Dec 11, 2005 1:45 am; edited 1 time in total |
|
Back to top |
|
|
illynova n00b
Joined: 02 Jul 2005 Posts: 14 Location: Chicago
|
Posted: Sun Dec 11, 2005 1:44 am Post subject: |
|
|
After looking around, it appears I may not have installed SATA drivers for the kernel.
However, I don't know which one to compile.... using lsmod, I turn up this line:
Not sure where to go...
I have a Seagate barracuda (i think thats the product name? its seagate, regardless) 7200RPM SATA hard drive on an Nvidia nForce 4 motherboard. _________________ "The last time the French asked for 'more proof' it came marching into Paris under a German flag." |
|
Back to top |
|
|
Ma3oxuct Guru
Joined: 18 Apr 2003 Posts: 523
|
Posted: Sun Dec 11, 2005 1:51 am Post subject: |
|
|
Do lspci you should find a line that looks somthing like this (it is what I have on my PC):
Code: | 00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3) |
Once you find of which one you have, just
Code: | cd /usr/src/linux && make menuconfig |
Then scroll to device drivers,
SCSI devices,
Low-Level Drivers,
Choose accordingly.
If you need help, just post the output of lspci.
EDIT: I just noticed that you probably have the same controller as I have.
Choose Serial ATA (SATA) support with a (*), and then NVIDIA SATA support also with (*). |
|
Back to top |
|
|
illynova n00b
Joined: 02 Jul 2005 Posts: 14 Location: Chicago
|
Posted: Sun Dec 11, 2005 2:24 am Post subject: |
|
|
thanks! that fixed it.
I'm getting this error now on kernel boot
Starting eth0
Bring up eth0
{dhcp}
* No loaded modules provide "dhcp" ({dhcp}_start)
ERROR: Problem starting needed services.
"netmount" was not started _________________ "The last time the French asked for 'more proof' it came marching into Paris under a German flag." |
|
Back to top |
|
|
Ma3oxuct Guru
Joined: 18 Apr 2003 Posts: 523
|
Posted: Sun Dec 11, 2005 3:21 am Post subject: |
|
|
Did you emerge dhcpcd? If not you should do that. If that does not do the trick (after you restart ofcourse), then post the output of
|
|
Back to top |
|
|
illynova n00b
Joined: 02 Jul 2005 Posts: 14 Location: Chicago
|
Posted: Sun Dec 11, 2005 5:00 am Post subject: |
|
|
i figured it out. Apparently I had typed in { instead of (
Silly me.
Thanks for all the help guys. I really appreciate it. _________________ "The last time the French asked for 'more proof' it came marching into Paris under a German flag." |
|
Back to top |
|
|
|