Code: Select all
rm -rf /boot/initrd-tree
mkdir /boot/initrd-tree
cd /boot/initrd-tree
gzip -dc < /path/to/initrd.img | cpio -i
Code: Select all
mkinitrd -o /path/to/new/initrd.img
Code: Select all
mkisofs -o /path/to/new.iso -R -J -V "Volume ID" -hide-rr-moved -v -d -N -no-emul-boot -boot-load-size 4 -boot-info-table -sort isolinux/iso.sort -b isolinux/isolinux.bin -c isolinux/isolinux.boot -p "Preparer ID" -publisher "Publisher ID" -A "Application ID" .
I'm going to tweak the absolute linux initrd with that, it's very close to what I have in mind, certainly sipler that the slackware initrd. Anyone can give it a try though. The files to tweak are basically usr/lib/setup/setup and usr/lib/setup/slackinstall I think.