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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-09-2006, 12:44 AM
|
#1
|
|
Member
Registered: Nov 2006
Location: horten, norway
Distribution: gentoo / slackware / suse / red hat
Posts: 30
Rep:
|
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
|
|
|
|
11-09-2006, 01:00 AM
|
#2
|
|
Member
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310
Rep:
|
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
|
|
|
|
11-09-2006, 08:07 AM
|
#3
|
|
Member
Registered: Nov 2006
Location: horten, norway
Distribution: gentoo / slackware / suse / red hat
Posts: 30
Original Poster
Rep:
|
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
|
|
|
|
11-09-2006, 08:22 AM
|
#4
|
|
Senior Member
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 2,756
Rep: 
|
> 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.
|
|
|
|
11-09-2006, 08:23 AM
|
#5
|
|
Senior Member
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006
Rep:
|
-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.
|
|
|
|
11-09-2006, 08:47 AM
|
#6
|
|
Member
Registered: Nov 2006
Location: horten, norway
Distribution: gentoo / slackware / suse / red hat
Posts: 30
Original Poster
Rep:
|
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
|
|
|
|
11-11-2006, 10:37 PM
|
#7
|
|
Member
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:08 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|