Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo doesn't boot...
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
Nightshad3
n00b
n00b


Joined: 02 Oct 2007
Posts: 27
Location: The Netherlands

PostPosted: Thu Oct 04, 2007 9:51 pm    Post subject: Gentoo doesn't boot... Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Oct 04, 2007 10:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
Nightshad3
n00b
n00b


Joined: 02 Oct 2007
Posts: 27
Location: The Netherlands

PostPosted: Fri Oct 05, 2007 7:48 am    Post subject: Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Oct 05, 2007 10:45 am    Post subject: Reply with quote

"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
View user's profile Send private message
Nightshad3
n00b
n00b


Joined: 02 Oct 2007
Posts: 27
Location: The Netherlands

PostPosted: Fri Oct 05, 2007 11:39 am    Post subject: Reply with quote

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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Oct 05, 2007 11:54 am    Post subject: Reply with quote

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
View user's profile Send private message
Nightshad3
n00b
n00b


Joined: 02 Oct 2007
Posts: 27
Location: The Netherlands

PostPosted: Fri Oct 05, 2007 3:46 pm    Post subject: Reply with quote

I included the S-ATA drivers, but it still doesn't work.

I used Genkernel now and it works. Thanks anyway! :D
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10590
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Oct 05, 2007 5:23 pm    Post subject: Reply with quote

No problem. Genkernel-built kernels are perfectly fine, although the build is somewhat bloated. Glad you got it working. :)

- John
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