[CentOS] PXE-Kernel crashes with "RAMDISK: incomplete write ..." after modifiying initrd.img

Thu Mar 26 16:43:52 UTC 2009
Tru Huynh <tru at centos.org>

On Thu, Mar 26, 2009 at 05:27:10PM +0100, Frank Thommen wrote:
> > What cpio options did you use to re-create modules/modules.cgz and then 
> > the initrd.img?
> I used `cpio -ovF <file>` and `cpio -ov -H crc -F <file>` (I found the 
> latter on http://sial.org/howto/linux/initrd/).  However I could not 
> find any "officially looking" information about how the 
> initrd.img/modules.cgz is created.

find ./ | cpio -H newc -o | | gzip -c9 > /path/to/my/initrd.img

Tru Huynh (mirrors, CentOS-3 i386/x86_64 Package Maintenance)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20090326/50e8238a/attachment-0003.sig>