View previous topic :: View next topic |
Author |
Message |
Nightshad3 n00b
Joined: 02 Oct 2007 Posts: 27 Location: The Netherlands
|
Posted: Thu Oct 04, 2007 9:51 pm Post subject: Gentoo doesn't boot... |
|
|
Hello,
I made a dualboot windows/gentoo on my other pc now, which contains s-ata drives. Windows works perfectly, but when I click gentoo, I get this error:
Quote: | powernow-k8: BIOS error - no PSB or ACPI _PSS objects
Using IPI Shortcut mode
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NDS, trying floppy.
VFS: Insert root floppy and press ENTER
|
After I pressed enter, without a floppy, I get the following error:
Quote: | end_request: I/O, dev fd0, sector 0
VFS: Cannot open root device "sda4" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
0200 4d0 (driver?)
1600 4194302: ide-cdrom
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) |
My grub.conf:
Quote: | default 0
timeout 10
title=Gentoo
root (hd0,1)
kernel /boot/kernel root=/dev/sda4
title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1 |
Fstab:
Quote: | /dev/sda2 /boot ext2 defaults,noatime 1 2
/dev/sda3 none swap sw 0 0
/dev/sda4 / ext3 noatime 0 1 |
After this error, Gentoo doesn't boot any further.
Does anyone knows the problem here? As far as I know, there's nothing wrong with grub.conf and fstab. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Thu Oct 04, 2007 10:11 pm Post subject: |
|
|
Typically what this means is that you haven't built the appropriate drivers for your root partition into your kernel. Boot the installation CD and make a note of the output of "lsmod". Then, chroot into your environment and rebuild your kernel with the appropriate drivers enabled (built-in, not as modules).
- John |
|
Back to top |
|
|
Nightshad3 n00b
Joined: 02 Oct 2007 Posts: 27 Location: The Netherlands
|
Posted: Fri Oct 05, 2007 7:48 am Post subject: |
|
|
john_r_graham wrote: | Typically what this means is that you haven't built the appropriate drivers for your root partition into your kernel. Boot the installation CD and make a note of the output of "lsmod". Then, chroot into your environment and rebuild your kernel with the appropriate drivers enabled (built-in, not as modules).
- John |
How do I do this?
Where in the kernel config can I find "lsmod"? |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Oct 05, 2007 10:45 am Post subject: |
|
|
"lsmod" is a command that lists the modules that the kernel has loaded. But, let me ask some questions, first. You're going to have to give me some details about your install.- How did you install Gentoo? You used to graphical installer from the LiveCD, right?
- Did you build your own kernel or elect to install the LiveCD kernel?
- Looking at your other posts, it looks like your computer used to boot but doesn't anymore. Is this correct or are we talking about a different computer?
- John |
|
Back to top |
|
|
Nightshad3 n00b
Joined: 02 Oct 2007 Posts: 27 Location: The Netherlands
|
Posted: Fri Oct 05, 2007 11:39 am Post subject: |
|
|
john_r_graham wrote: | "lsmod" is a command that lists the modules that the kernel has loaded. But, let me ask some questions, first. You're going to have to give me some details about your install.- How did you install Gentoo? You used to graphical installer from the LiveCD, right?
- Did you build your own kernel or elect to install the LiveCD kernel?
- Looking at your other posts, it looks like your computer used to boot but doesn't anymore. Is this correct or are we talking about a different computer?
- John |
- I used the minimal installation CD, non-graphical.
- I "build" my own kernel, but I didn't changed anything from the default.
- That isn't correct, it was my other pc. It's the first time I made a dualboot on this pc. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Oct 05, 2007 11:54 am Post subject: |
|
|
Excellent. So, boot the minimal install CD and run "lsmod" from the command line. Then you'll have a list of modules that the install CD kernel loaded to support your hardware. These module names are generally listed under the "< Help >" under each individual device driver in "make menuconfig". (One could wish that they were a little more prominent or easier to find, but, right now, it is what it is.) You probably also want to run "lspci" as well and note the name of your SATA controller.
Then, armed with this information, using the same instructions from the Handbook you used the first time, mount all of your partitions (and proc and dev) and chroot into your environment. From there you can build and install your kernel again, making sure to include the device driver that supports your SATA controller. Note that the driver for your root partition should be built in ("<*>") as opposed to built as a module ("<M>").
Build and install the newly configured kernel per the Handbook instructions and you should be fine.
- John |
|
Back to top |
|
|
Nightshad3 n00b
Joined: 02 Oct 2007 Posts: 27 Location: The Netherlands
|
Posted: Fri Oct 05, 2007 3:46 pm Post subject: |
|
|
I included the S-ATA drivers, but it still doesn't work.
I used Genkernel now and it works. Thanks anyway! |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Oct 05, 2007 5:23 pm Post subject: |
|
|
No problem. Genkernel-built kernels are perfectly fine, although the build is somewhat bloated. Glad you got it working.
- John |
|
Back to top |
|
|
|
|
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
|
|