On Thu, 2007-11-15 at 08:38 +0000, Jim Wight wrote:
On Wed, 2007-11-14 at 13:56 -0800, semi linux wrote:
On Nov 13, 2007 5:49 AM, David Hrbáč hrbac.conf@seznam.cz wrote:
Alain Spineux napsal(a):
On Oct 15, 2007 2:09 PM, David Hrbáč hrbac.conf@seznam.cz wrote:
Hi, anyone to point me URL on initrd.img creating? I have custom kernel and want to create initrd.img for install media. mkinitrd /tmp/initrd.img 2.6.18-8.1.14.el5.hrb -v -f create unusable file for install media.
<snip>
Not necessarily. For the changes I make I find the following sufficient:
mkdir initrd; cd initrd gunzip -c --suffix '.img' /boot/initrd-abc.img | cpio -i
and
find . -print | cpio -c -o | gzip -c9 >/boot/initrd-xyz.img
Jim
It's been awhile, but last time I did it, Jim's basic scenario is what I used. I don't recall if my cpio params were exactly the same, but after the unzipping step, "file <filename>" will give you the clues to the parameters to cpio.
<snip sig stuff>
-- Bill