Posts Tagged ‘Dpup’

http://www.mediafire.com/?sharekey=30b9bc328d1964e80de7269564b75e8837d66a8000c00b8cea4ac78345cbe4ce

Following (unofficial) steps (latest tested with Puppy 5.1.1) were used to create the puppies with updated kernels found at https://pateo.wordpress.com/

N.B. Rename any existing save .sfs/.2fs files on your existing HD if exists using any linux rescue disc otherwise interferes with new .iso

boot puppy
reboot create save file
add dev sfs to boot
reboot
untar source to any existing {HD} (preferably linux FS – may work with NTFS)
Refer to the kernel version notes provided by Barry at http://puppylinux.com/sources (id=puppy pw=linux) and patch source per instructions
Perform any other personal patches as required
In {HD} partition where source extracted, mkdir remasterinit remasteriso remastersfs folders
Mount the base puppy iso by clicking on it then copy all files to remasteriso
Mount the sfs by clicking on it then copy all files to remastersfs
cd remasterinit
zcat remasteriso/initrd.gz | cpio -i -d
rm -r remastersfs/lib/firmware
mkdir remastersfs/lib/firmware
mv /lib/modules /lib/modules.old
mv /lib/firmware /lib/firmware.old
cd /lib
ln -s remastersfs/lib/modules/ modules
ln -s remastersfs/lib/firmware/ firmware
cd {HD} source
make clean
make mrproper
copy DOTConfig file provided by Barry at Puppylinux.com to source folder and rename to .config
make menuconfig (kernel hacking – timers stats, usb sleep, sound generic ac97)
make bzImage
make modules
make modules_install
cp -r -p {source}/arch/x86/boot/bzImage /remasteriso/vmlinuz
copy remastersfs/lib/modules/{new kernel} remasterinit/lib/modules/{new kernel}
===================================
[for puppy]
rm remastersfs/lib/modules/{new kernel}/modules.*
cp -r -p remasterinit/lib/modules/{old kernel}/modules.* remasterinit/lib/modules/{new kernel}/ [overwrite existing files]
edit remasterinit/lib/modules/modules.dep and replace old kernel path with new kernel path
[for dpup – last tested 484 beta 4]
cp -r -p remasterinit/lib/modules/{old kernel}/modules.* remasterinit/lib/modules/{new kernel}/ [overwrite existing files]
cp -r -p remastersfs/lib/modules/{old kernel}/modules.* remastersfs/lib/modules/{new kernel}/ [overwrite existing files]
edit remasterinit/lib/modules/modules.dep and replace old kernel path with new kernel path
===================================
cd remasterinit/lib/modules/{new kernel}
replicate folders/files per {old kernel} and gzip .ko files
rm -r remasterinit/lib/modules/{old kernel}
cd remasterinit
find . | cpio -o -H newc | gzip -9 > {HD}/initrd.gz
cp -r -p {HD}/initrd.gz remasteriso/
cd remastersfs
rm -r remastersfs/lib/modules/{old kernel}
mksquashfs . hd/{new sfs name}.sfs
cp {HD}/{new sfs name}.sfs /remasteriso
cd /remasteriso
mkisofs -D -R -o {HD}/{yourpuppyname.iso} -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table .