[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot load initrd with kernel 2.4.20



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kurt Huwig wrote:
| Hi!
|
| Using Woody and a vanilla 2.4.20, I cannot boot with an initial ramdisk.
| The kernel was built by
|
| make-kpkg --initrd --config menuconfig --append-to-version -fwrs
| kernel_image
|
| I tried both lilo:
|
| image=/boot/vmlinuz-2.4.20-fwrs
|     label=linux
|     read-only
|     initrd=/boot/initrd.img-2.4.20-fwrs
|
| and grub
|
| kernel /boot/vmlinuz-2.4.20-fwrs root=/dev/hda2 ro
| initrd /boot/initrd.img-2.4.20-fwrs
|
| but with the same effect:
|
| RAMDISK: Couldn't find valid RAM disk image starting at 0.
| Freeing initrd memory: 860k freed
| cramfs: wrong magic
|
| Booting the 2.4.18-bf2.4 kernel from the distribution works fine.
|
| The following options were used when building the kernel:
|
| - Loopback device support
| - RAM disk support (4096 Default RAM disk size)
| - Initial RAM disk (initrd) support
| - Compressed ROM file system support
| - ROM file system support
|
| After booting the kernel
|
| mount -o loop /boot/initrd.img-2.4.20-fwrs /mnt
|
| works fine without any additional modules being loaded.

Ok, I found it. I needed the 'kernel-patch-initrd-cramfs'.

Kurt
- --
Kurt Huwig             iKu Systemhaus AG        http://www.iku-ag.de/
Vorstand               Am Römerkastell 4        Telefon 0681/96751-0
k.huwig@iku-ag.de      66121 Saarbrücken        Telefax 0681/96751-66
GnuPG 1024D/99DD9468 64B1 0C5B 82BC E16E 8940  EB6D 4C32 F908 99DD 9468
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+cLSlTDL5CJndlGgRAgtBAJ9J+DMigsjOg+uk2YJfcEzgbs5D9QCggU1d
DT7e2uJSDSSENX3dlRat8qA=
=fDoT
-----END PGP SIGNATURE-----



Reply to: