Also note: this involves editing initrd.gz, so if you're booting from a CD you'll have to re-burn it with the new initrd.gz file. USB and Frugal users can just drop in the new version.
First, put initrd.gz somewhere on a Linux filesystem (I tend to use /tmp/NewDir). Open a terminal there and do this to extract it:
Code: Select all
mkdir initrd-tree
cd initrd-tree/
zcat ../initrd.gz | cpio -i -d
Code: Select all
noram) NORAM="yes";; prevents pup_xxx.sfs from loading to ram
Code: Select all
if [ $RAMSIZE -gt 230000 ];then #256MB system. note, only checking physical ram.
Code: Select all
if [ $RAMSIZE -gt 230000 ] && [ ! "$NORAM" = "yes" ];then #256MB system. note, only checking physical ram.
Code: Select all
rm ../initrd.gz
find . | cpio -o -H newc | gzip -9 > ../initrd.gz
By the way, up where you edited line 771/772, you can change the "230000" to set the minimum amount of ram before Puppy automatically loads the pup_xxx.sfs file into ram when not using the pfix=noram option. That's good to know if you're making a puplet that's bigger than the standard Puppy.