Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-12-2007, 06:34 PM   #1
LQ Newbie
Registered: Jan 2007
Posts: 1

Rep: Reputation: 0
Installing gentoo: kernel panic

I previously had slackware 10.2 and windows xp on my computer, with lilo as my bootloader. I decided it was time to update my slackware, but rather than update it, I decided to switch to gentoo instead. I also decided to get rid of XP, as I was rarely using it anymore. Anyway, I was following the gentoo handbook install guide, and everything seemed to be going perfectly. I finally finished setting everything up and rebooted. Grub loaded fine, but when I tried to boot gentoo I recieved a kernel panic. The last three lines of output were:

Cannot open root device sda2 or unkown block (0,0)
Please append correct "root=" boot option
Kernel panic - not syncing. VFS: Unable to mount root fileystem on unknown-block (0,0)

My partition scheme looks like this ( I use a 250G sata hard drive ):
/dev/sda1 = /boot
/dev/sda2 = /
/dev/sda3 = extended
/dev/sda5 = /usr
/dev/sda6 = /opt
/dev/sda7 = /home
/dev/sda8 = swap

My grub.conf file looks like this:
timeout 30
default 0
fallback 1
title Gentoo
root (hd0,0)
kernel /boot/kernel-2.6.18-gentoo-r6 root=/dev/sda2
initrd /boot/initrd-2.6.18-gentoo-r6.img

While I consider myself an intermediate linux user, I am completely new to grub, so that is a possibilty as to where the problem lies. Any help would be greatly appreciated.

Edit: Oh yeah, all my partitions use ext3, and I have support for that compiled into the kernel.

Last edited by umbraphasmatis; 01-12-2007 at 06:40 PM.
Old 01-12-2007, 10:38 PM   #2
LQ Newbie
Registered: Jan 2007
Distribution: Arch and Slackware
Posts: 10

Rep: Reputation: 0
Stolen from the Gentoo handbook...

Try this...
kernel /boot/kernel root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda2

I never got the hang of using an initrd so I really cant attest to the validity of this. Hope this helps


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gentoo: kernel panic not syncing asquante Linux - Newbie 6 11-11-2006 10:37 PM
Receiving Kernel Panic - Gentoo justanothersteve Linux - General 6 07-27-2006 11:23 AM
Gentoo Kernel panic - not syncing... patrickclay Linux - Distributions 2 03-10-2005 01:53 PM
Kernel Panic in Gentoo palmem Linux - General 1 11-06-2004 01:16 PM
Grub w/ Gentoo 2.6.3 - Kernel Panic smehi Linux - Newbie 3 03-21-2004 11:39 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration