LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-09-2006, 12:44 AM   #1
asquante
Member
 
Registered: Nov 2006
Location: horten, norway
Distribution: gentoo / slackware / suse / red hat
Posts: 30

Rep: Reputation: 15
Question gentoo: kernel panic not syncing


Hello all!
I'm trying to install gentoo now, but get same messange as in the first post:
Please append a correct "root=" boot option
kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Here's my grub.conf:
timeout 7
default 0
title Gentoo
root (hd0,0)
kernel /boot/gentoo-2.6.17 root=/dev/hda1

Here's my fstab:
/dev/hda1 / ext3 noatime,noauto,notail 0 1
/dev/hda2 none swap sw 0 0
/dev/hda3 /root reiserfs user,noatime 0 0

I use menuconfig to set up the kernel. I build reiser and ext2 / ext3 support into the kernel (not as module) and have tried everything i could think of, but still get the same error.
Any ideas will be appreciated.

mARGO
 
Old 11-09-2006, 01:00 AM   #2
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Rep: Reputation: 30
Hi asquante,

Can you post output of "fdisk -l" or partitioning information?

Is it correct? "/dev/hda1" make sure it is.

Hope, This helps you




http://www.aniruddhas.com Aniruddha
 
Old 11-09-2006, 08:07 AM   #3
asquante
Member
 
Registered: Nov 2006
Location: horten, norway
Distribution: gentoo / slackware / suse / red hat
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks!

Yes, i'm absolutely sure it's correct. I'm at work now and can't post fdisk -l, but my partitioning info is as follows:
/dev/hda1 - ext3, / meant for root system (20gb)
/dev/hda2 - swap, 2gb
/dev/hda3 - reiserfs, mounted as /root (don't wanna lose my files and settings if i fuck up the system), 20 gb

I spent several days now reading similar threads, but nothing seems to help. Passing kernel the argument "root=/dev/hda1" doesn't help, and i recompiled it just to be sure that support for the file systems is built as it should. And, yes, i remembered to copy the compiled version to /boot

Also it's not the first time i'm installing gentoo with the same specs, but i don't remember at all what was it i did to make it function.

mARGO
 
Old 11-09-2006, 08:22 AM   #4
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
> kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

This error suggests you have no HDD controller support in your kernel.

> /dev/hda3 - reiserfs, mounted as /root (don't wanna lose my files and settings if i fuck up the system), 20 gb

20 GB (I assume you meant gigabytes when writing gb - grambits) is too much for /root by far and Reiser is the crappiest fs in Linux world.

EDIT: I just checked my /root and it is less than 10 kB ... nothing important there ...

Last edited by Emerson; 11-09-2006 at 08:37 AM.
 
Old 11-09-2006, 08:23 AM   #5
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 36
-edited due misreading above post-

Why do you say reiserfs is the crappiest fs? I have used it a while and never had any problems with it.

I would also quess at the missing HDD controller now that I read your post with thought. The grub boot command seems to be ok.

Last edited by Zmyrgel; 11-09-2006 at 08:37 AM.
 
Old 11-09-2006, 08:47 AM   #6
asquante
Member
 
Registered: Nov 2006
Location: horten, norway
Distribution: gentoo / slackware / suse / red hat
Posts: 30

Original Poster
Rep: Reputation: 15
Erm.. what do you mean by missing HDD controller? I successfully chroot into the system on /dev/hda1 when i boot from livecd, it functions alright then.
If you meant the support for the file system, it is in the kernel. I double-checked it when running "make menuconfig" prior to compiling.
I keep files in root because i usually log in as root (i know it's a stupid thing to do, but i like to experiment too much m~_~m ).
I use reiserfs because i like how it functions. Never had any problem with it, so don't think it's crappy. And, anyway, does it have anything to do with the actual problem?

mARGO
 
Old 11-11-2006, 10:37 PM   #7
imagineers7
Member
 
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Rep: Reputation: 30
Hi,

It seems that the kernel is not supporting your hdd controller as it may have not been configured properly. (I assume that you tried auto Installation so it might not be your fault but it may the only case then , if you have pointed correct drives to "/" root)


You can try one thing, check if you properly save the new .config after you menuconfig your kernel.

If it has some problem , you may assume that you have compiled new kernel and still use the older one. So run a diff after menuconfig on .config and older config to know if it worked.


(Try other distro / version if it is not working)



Aniruddha
 
  


Reply

Tags
gentoo, kernel


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic - Not Syncing CamelWide Linux - Newbie 4 06-10-2009 06:31 AM
Kernel Panic (!) - not syncing Andknig Linux - General 2 09-14-2006 12:15 PM
Kernel panic not syncing alfredo Linux - Newbie 6 02-27-2006 11:12 AM
Kernel panic not syncing n6rob Linux - General 3 02-15-2006 06:13 AM
Gentoo Kernel panic - not syncing... patrickclay Linux - Distributions 2 03-10-2005 01:53 PM


All times are GMT -5. The time now is 08:07 PM.

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