LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 04-12-2009, 11:02 AM   #1
btbx
Member
 
Registered: Jun 2007
Posts: 67

Rep: Reputation: 15
Question Kernel Initrd Crash: No CPIO Magic


I use Debian Etch with standard mkinitrd.deb package.
I had compiled the latest version of kernel 2.6.29.1

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

The result is compressed using gzip:
gzip initrd-2.6.29.1

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

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.
 
  


Reply

Tags
cpio, crash, initrd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux Kernel Magic SysRq keys in openSUSE for crash recovery LXer Syndicated Linux News 0 09-28-2008 11:30 PM
kernel panic - no cpio magic mavs Debian 1 10-24-2007 06:21 PM
Trouble using initrd : no cpio magic Linux.tar.gz Slackware 10 04-17-2007 08:43 AM
Kernel panic - not syncing: no cpio magic StanleyP Linux - Newbie 2 09-20-2006 05:35 PM
CPIO:bad Magic anoop_chandran Linux - Software 1 11-24-2001 02:13 AM


All times are GMT -5. The time now is 09:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration