Click to See Complete Forum and Search --> : Gentoo unable to mount root


Wolface
10-05-2003, 07:25 AM
Im trying a gentoo installation on a Presario 906us laptop.
Started from stage2 compiled all the stuff, everything went just fine. My partitions ended up like this:

/dev/hda6 ----/swap
/dev/hda7 --- /boot --- ext3
/dev/hda8 ----/home --- ext3
/dev/hda9 ----/ ----raiserfs

I made sure the kernel supports raiserfs (I compiled the kernel 3 times !) and tried lilo boot.
during boot I get this message:
-----------------
VFS: Cannot open root device "" or 03:09
please append a correct "root=" boot option
Kernel panic: VFS: unable to mount root fs on 03:09
------------------
after tweaking lilo for 13 hours (and the 2nd kernel compile) I decided to try grub and Im sure I have the config ok since I booted manually on grub using TAB completition.

Now.... this means I cannot have raiserfs mixed with ext3 and I have to recompile the ------- gentoo installation again? or what could possibly be the problem?...maybe im getting insane

any help is VERY much appreciate.... been sitting here for 2 1/2 days :(

viperlin
10-05-2003, 08:14 AM
search the gentoo forums, there are a lot of little things that do this, like don't forget to add that option to /etc/fstab when using a reiserfs partition (see gentoo install guide)

Wolface
10-05-2003, 08:51 AM
:D being there all morning (haven't slept....where's the coffe?..)
and they dont have an answer at the time:

http://forums.gentoo.org/viewtopic.php?t=84893&postdays=0&postorder=asc&start=25

though they have narrowed down to (maybe) some option on the kernel configuration; Most of them solved the problem by using premade kernel configs. But I still want: 1)my custom kernel 2)find the real source of the problem ;)

It's clear that lilo or grub is not the problem and it is also clear the filesystem doesn't matter. people with ext3 is having the same problem.
.... where's the coffe :p

hard candy
10-05-2003, 09:56 AM
My grub config:
title=Gentoo-2.6
root (hd1,0)
kernel (hd1,0)/boot/bzImage root=/dev/hdb2 hdc=ide-scsi hdd=ide-scsi apci=off
pci=noacpi vga=794
Also, in the kernel config , is the "virtual file system " option checked? And is "kernel automounting" unchecked?

Wolface
10-05-2003, 03:31 PM
My grub config is more or less the same and all the numbers are fine... but, is kernel automounting a problem?

Im going to disable that (and compile for 8th time) and see what happens. be right back....


ps: thank u guys for the answers

Wolface
10-06-2003, 02:44 PM
I think I found common solutions for this problem, which is very popular in gentoo forums, soon I'll post what I found.