Revision [22457]
This is an old revision of remastering made by coolpup on 2012-07-19 07:46:24.
Remastering
operating systemsHow to remaster Puppy Linux semi-automatically
How to remaster Puppy Linux manually
- copy the existing file system to a working directory, e.g.:
mkdir /mnt/home/puppyfilesystem
cp -a /initrd/pup_ro2/* /mnt/home/puppyfilesystem
- (optional, but recommended) modify the contents of the working directory to one's requirements by inspecting the contents of the pup_save file, either /initrd/pup_rw for pupmode 12 or /initrd/pup_ro1 for pupmode 13; and then copy from there the directories /root, /usr and /var:
cat /etc/rc.d/PUPSTATE
- create the SFS file of the modified file system, e.g.:
mkdir /mnt/home/puppylivediscbuild
cd /mnt/home
mksquashfs puppyfilesystem puppylivediscbuild/puppy-remastered.sfs -noappend
- (optional) copy any necessary files to /mnt/home/puppylivediscbuild from the original optical disc and create the ISO file:
cd /mnt/home
mkisofs -b isolinux.bin -c boot.cat -D -l -R -v -no-emul-boot -boot-load-size 4 -boot-info-table -o "puppy_remaster.iso" puppylivediscbuild
Remastering a Full Installation?
Unlike a frugal install, there is no need to remaster a full install to change what is there, it is changed, good or ~bad. There is no layering system used, so there is no initrd directory in the root of a full install. The remastering is only needed for convenience, if you plan on transfering the full install to another machine with a live CD.
Remastering Fluppy 2
Fluppy has 2 remaster apps. One for cd remaster and one (based on dougals script) for full installs.
Advantages of Remastering as an alternative to Savefile
"Instead of savefiles I do a manual remaster with my settings and whatever DEV tools I need and always run in pfix=ram mode. If I want to save something permanently, I simply mount a partition, save whatever I need and unmount it when I am done. This keeps too much garbage from building up (not just cookies and temp files but also other random stray files from whatever software I have tested and abandoned) Puppy is so simple to remaster and takes so little space, I see no reason not to have each version/puplet in its own directory (even duplicates for multiple users)"
Also see
http://www.youtube.com/user/sneekylinux#p/search/10/yQIqwy7_trs