I took the initrd.gz and pup_420.sfs from the puppy 4.2 rc3 iso. The idea was to combine them to make a new "humungous initrd.gz" to put into the root/tftpboot folder of the smoothwall, replacing the initrd.gz file that is there which boots the cutdown 4.1.2.
The initrd.gz for 4 series puppys appears to contain just one file when un-gzipped (gunzip?) or opened with pupzip (i.e. clicked on), its actually compressed with a thing called cpio to squeeze a few more megs of compression.
I made a mnt/home/hinit folder and placed the initrd.gz and pup_420.sfs files from the 4.2 iso in it, and then made a new subdirectory called "/mnt/home/hinit/tmp" and changed directory to it
Code: Select all
mkdir ./tmp
cd tmp
Code: Select all
zcat ../initrd.gz | cpio -idv
Code: Select all
cp ../pup_420.sfs ./
Code: Select all
rm ../initrd.gz
Code: Select all
find . | cpio -o -H newc | gzip -9 > ../initrd.gz
Code: Select all
cd ../
scp -pvC -P 222 ./initrd.gz root@smoothwall:/home/tftpboot/initrd.gz
Code: Select all
could not find ramdisk image: initrd.gz
Im at a loss, and I know soon I will be called over to demonstrate my work so far. The cutdown 4.1.2 is fine, but it doesnt actually contain any applications and will do little to run a cybercafe. I need 4.2 (with PWidgets!) if Im going to keep this contract.
Can anyone shed any light?