Quick and dirty – modifying Boel initrd files manually

Boel initrd files are actually compressed cramfs files. This is a menuscript for authoring and modifying these files, if needed. Assume the file in question is /tftpboot/install-initrd-i386.img: cp /tftpboot/install-initrd-i386.img /tmp/ cd /tmp/ gzip -S .img -d install-initrd-i386.img mount -o loop install-initrd-i386 /mnt mkdir initrd cd /mnt/ tar cf – . | (cd /tmp/initrd/ ; tar…