Revision [26044]
This is an old revision of remastering made by darkcity on 2013-02-17 06:35:29.
cn::de::es::fr::gr::hr::it::ja::kr::nl::pl::pt::ru::se::us::vn:: |
HomePage > ComponentHowTo Components and HowTos > HowToConfigure Configure
Remastering
Remaster Puppy with your customizations and defaults.
How to remaster Puppy Linux semi-automatically
Script location:
# which remasterpup2 /usr/sbin/remasterpup2
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
Appendix
http://www.youtube.com/user/sneekylinux#p/search/10/yQIqwy7_trs
http://www.murga-linux.com/puppy/viewtopic.php?p=466256#466256 Fluppy has two scripts
http://www.murga-linux.com/puppy/viewtopic.php?t=55381&sid=d2125bd8d8a56c5810404f3b374fe5e6 remasterpup3
http://www.murga-linux.com/puppy/viewtopic.php?p=536927#536927 shinobar version
http://bkhome.org/blog/?viewDetailed=02829 xz compression support