Re: Kernel Panic: VFS cannot open a root device

From: Fawad Lateef
Date: Sun Jul 17 2005 - 21:47:25 EST


On 7/18/05, porranenhuma@xxxxxxxxx <porranenhuma@xxxxxxxxx> wrote:
> I already done that things , and I still getting these errors ... I dont
> no what to do , and I'm getting desesperated...
>
> '>'
> '>'You should compile in the filesystem (reiserfs?) into the kernel (*
> instead
> '>'of
> '>'M), or put the correct module in initrd (usually done by mkinitrd).
>
> '>'After that run lilo, and it should boot just fine.
> '>'
> '>'Norbert
> '>'
> '>'Op zaterdag 16 juli 2005 20:57, schreef u:
> '>'> > Hi , i have kernel 2.4.29 at slack 10.1 and when I upgrade my kernel
> '>'to
> '>'> > 2.6.11 I get these erros on booting
> '>'> >
> '>'> > VFS: Cannot open a root device "301" or unknow block
> '>'> > please append a correct "root" boot option
> '>'> > KERNEL PANIC : not syncing; VFS; Unable to mount root fs on
> '>'> > unknown-block (3,1)
> '>'> >
> '>'> > I have compiled my kernel with my IDE support and also with my file
> '>'> > system support with built-in option.
> '>'> >
> '>'> > My LILO.CONF
> '>'> > image = /boot/vmlinuz-2.6.11
> '>'> > root = /dev/hda1
> '>'> > label = 2.6.11
> '>'> > initrd = /boot/initrd.gz
> '>'> > read-only
> '>'> >

I saw this prob when my boot device/partition in the bootloader config
was wrong or the filesystem of my root partition is not compiled as a
kernel image rather compiled as module, so plz try to solve this prob
by selecting your desired filesystem in kernel configuration as Y
rather than M ...... I hope this will work

> '>'> > I'm booting with my image of kernel 2.4.29..... i'm 5 days tryng
> to solve
> '>'> > this problem ...

Upgrading from 2.4.xx kernel series to 2.6.xx series what I found is
that the filesystem must be compiled into the kernel image not as a
module b/c in 2.4.xx filesystem compiled as module also work ........

And another thing is that I never succedded in booting the 2.6.xx
kernel __successfully__ compiled from 2.4.xx series (distribution with
default 2.4.xx series kernel like Fedora Core 1 or Redhat Linux 9) and
found that my mouse won't work on 2.6.xx series kernel, but the
distribution with 2.6.xx kernel series by default works fine .....


--
Fawad Lateef
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/