-   Linux - Kernel (
-   -   Kernel Initrd Crash: No CPIO Magic (

btbx 04-12-2009 12:02 PM

Kernel Initrd Crash: No CPIO Magic
I use Debian Etch with standard mkinitrd.deb package.
I had compiled the latest version of kernel

I created initrd using the following command:
mkinitrd -o initrd-

The result is compressed using gzip:
gzip initrd-

Then I copy the result to /boot:
cp initrd- /boot/initrd.img-

The new Initrd image crash during bootup with the following message:

Unpacking initramfs...<0>Kernel panic - not syncing: no cpio magic

How to solve this problem?
Is the above method a correct way to create initrd image file?

Thank you.

All times are GMT -5. The time now is 10:31 AM.