LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   boot (https://www.linuxquestions.org/questions/linux-newbie-8/boot-284561/)

nr5 01-31-2005 01:54 PM

boot
 
When I boot i get an error message (Just installed Gentoo):

Code:

sh-2821: reiserfs_read_super: can not find reiserfs on ramdisk(1,0)
Kernel panic: VFS: Unable to mount root fs on 01:00

My path IS correct /dev/sda3 !!

LILO seams to be working too...

Code:

boot=/dev/sda
default=gentoo

image=/boot/kernel-2.4.28-gentoo-r5
label=gentoo
read-only
root=/dev/sda3

Im thinking it might be that the kernel cant find my two SCSI drives correctly...??

I opened the kernel options :

Code:

make menuconfig
and I think I have tried to to enable almost everything that has SCSI in it... but still I get the same error....

My partitions are :

Code:

sda1 : boot
sda2 : swap
sda3 : root

Im not sure what to do any more, im giving up on hope :cry:

If anyone had a similar problem please help!
And do remember, I am a Noob :)

Thx!

Oliv' 01-31-2005 02:03 PM

and what about ReiserFS module :confused: is it at least in ramdisk as a module or better: compiled in the kernel?

nr5 01-31-2005 02:05 PM

To be honest, I have no idea how to find out :) Im just following the gentoo install manual...
How can I find that out?

Thx!

Oliv' 01-31-2005 02:10 PM

Well simply do the following:
Code:

cd /usr/src/linux
root@Olinux-lfs:/usr/src/linux# grep REISER .config
CONFIG_REISERFS_FS=m

and if you have a "m" or "y" that should be OK... and if you have "is not set" (for CONFIG_REISERFS_FS option), you'll have to add REISERFS support (that's in filesystem section ;)) and then recompile your kernel

nr5 01-31-2005 02:27 PM

Okay, this is what I got after typing:

grep RAISER .config

Code:

CONFIG_REISERFS_FS=y
CONFIG_REISERFS_CHECK=y
# CONFIG_REISERFS_PROC_INFO is not set

Is this good or bad? What do I do next? :confused: :study:

Oliv' 01-31-2005 02:34 PM

Well this is good... so it comes from your ramdisk which is maybe corrupted or something like that...
Could you post a more complete message (I mean 4 or 5 lines before "sh-2821: reiserfs_read_super: can not find reiserfs on ramdisk(1,0) Kernel panic: VFS: Unable to mount root fs on 01:00" )

nr5 01-31-2005 02:48 PM

Code:


IP: routing cache hagh table of 4096 buckets, 32Kbytes
TCP: Hash tables configurated (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0
ds: no socket drivers loaded!
VFS: Can not open root device "803" or 08:03
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 08:03

This error is not exactellt the same as the one above, thats because I had alot of other things in LILO then I showed you above. This is as it is now with the LILO config as above.

Thx!!!

Oliv' 02-01-2005 08:03 AM

do you use devfs filesystem??? I mean: have you for example a directory like /dev/scsi/host0/... if yes, that probably comes from that...

wpn146 02-01-2005 09:34 AM

Quote:

Originally posted by nr5
Okay, this is what I got after typing:

grep RAISER .config

Code:

CONFIG_REISERFS_FS=y
CONFIG_REISERFS_CHECK=y
# CONFIG_REISERFS_PROC_INFO is not set

Is this good or bad? What do I do next? :confused: :study:

Yes, that is good, but have you recompiled the kernel? I am not that familiar with gentoo, but the kernel installed might not match what it puts into the source tree .config file. Most distro kernels are highly modularized because the distro maker has no idea what kind of equipment you will be running it on. I kind of suspect reiserfs is a module and you can't load the module because it needs the reiserfs support there before it can read the root filesystem where the module resides. Catch 22.


All times are GMT -5. The time now is 03:00 AM.