Kernel Panic: VFS cannot open a root device

From: GlupFire
Date: Sat Jul 16 2005 - 15:55:19 EST





> 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 googled this problem, and I think is a kind of bug, and i tryed to patch
> the kernel with Alan Cox patch 2.6.11-ac7.bzip and I get these ::
> bzip2 -dc /usr/src/patch-2.6.11.ac7.bzip | patch -p1 -s
> 1 out of hunk FAILED --saving rejects to file Makefike.rej
>
> and I cat the file Makefile.rej
>
> ***************
> *** 1,8 ****
> VERSION = 2
> PATCHLEVEL = 6
> SUBLEVEL = 11
> - EXTRAVERSION =
> - NAME=Woozy Numbat
>
> # *DOCUMENTATION*
> # To see a list of typical targets execute "make help"
> --- 1,8 ----
> VERSION = 2
> PATCHLEVEL = 6
> SUBLEVEL = 11
> + EXTRAVERSION = ac7
> + NAME=AC
>
> # *DOCUMENTATION*
> # To see a list of typical targets execute "make help"
>
> I'm stuck! The patch dont work fine ( I think the patch is not installed
> succesfully on my kernel )
> I'm booting with my image of kernel 2.4.29..... i'm 5 days tryng to solve
> this problem ...
> any kind of help is wellcome... sorry for my english.
>

-
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/