Re: Kernel panic while upgrading from 2.4.20-6 to 2.4.22

From: Joshua Schmidlkofer
Date: Mon Dec 29 2003 - 19:06:06 EST


On Mon, 2003-12-29 at 11:31, Marcelo Tosatti wrote:
> On Wed, 24 Dec 2003, Elwin Eliazer wrote:
>
> > ds: no socket drivers loaded!
> > VFS: Cannot open root device "LABEL=/" or 00:00
> > Please append a correct "root=" boot option
> > Kernel panic: VFS: Unable to mount root fs on 00:00
>
> If you want to use the vanilla kernel, you need to use "root=/dev/xxx"
> instead "LABEL=/".
>

You can also use the mkinitrd that comes with redhat:

# cd /usr/src/linux-2.4.22

# make config
# make dep
# make bzImage
# make modules
# make modules_install
# cp System.map /boot/System.map-2.4.22
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.22
# mkinitrd /boot/initrd-2.4.22.img 2.4.22

If you get errors, it will most likely be SCSI or something.

Try:

--omit-raid-modules or --omit-scsi-modules.

man mkinitrd.

js


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