On Mon, Mar 07, 2005 at 04:18:51PM -0700, Bill Geddes wrote: > I am interested if anyone can point out the trick to building a new > initrd.img file. I have untarred the boel_binaries in a special
I dunno if I did it right, but here's one way: make a new file, fill it from /dev/zero $ dd if=/dev/zero of=/tmp/bar bs=1024 count=16384 $ mke2fs /tmp/bar mke2fs 1.35 (28-Feb-2004) /tmp/bar is not a block special device. Proceed anyway? (y,n) y [... excerpted] $ mkdir /tmp/barmount $ sudo mount /tmp/bar /tmp/barmount -o loop $ $ [copy files into /tmp/barmount ] $ sudo umount /tmp/barmount $ gzip -9 /tmp/bar > /tmp/barinitrd.img This makes initrd an ext2 filesystem instead of a Compresed ROM filesystem, but it should work alright. Then again, I never got my system to do the autoinstall, but I don't think it was because my initrd.img was bad. -ben -- Ben Hartshorne email: [EMAIL PROTECTED] http://ben.hartshorne.net
pgpC69cIPhfFp.pgp
Description: PGP signature
