Revision [22488]
This is an old revision of remastering made by coolpup on 2012-07-20 02:22:57.
Remastering
operating systemsHow to remaster Puppy Linux semi-automatically==
Script location:
# which remasterpup2
/usr/sbin/remasterpup2
How to remaster Puppy Linux manually# which remasterpup2 /usr/sbin/remasterpup2
- 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
- (optional)
livedvd write (burn) the ISO file to optical disc
Appendixmkdir /mnt/home/puppyfilesystem
cp -a /initrd/pup_ro2/* /mnt/home/puppyfilesystem
cat /etc/rc.d/PUPSTATE
mkdir /mnt/home/puppylivediscbuild
cd /mnt/home
mksquashfs puppyfilesystem puppylivediscbuild/puppy-remastered.sfs -noappend
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