Revision [29960]
This is an old revision of remastering made by darkcity on 2014-02-12 07:59:17.
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
Also on the Wiki
whiteout file (.wh) - used by layered filesystem to remove read-only file
Related Webpages
Categories
CategoryTutorialCategoryInstallation
CategoryEnglish