A New Remaster tool OR should its name be “Re-Creation

A home for all kinds of Puppy related projects
Post Reply
Message
Author
gcmartin

A New Remaster tool OR should its name be “Re-Creation

#1 Post by gcmartin »

JamesBond does it again!!!

He has taken yet another of his GIANT steps with a very simple, and useful tool approach.

For some in the forum, this is unnecessary....But, for any of the rest of us, this is a great accomplishment as it removes some complexity and reduces effort to something very simple and easily understood.

[url=http://murga-linux.com/puppy/viewtopic. ... 965#625965]What he did.....

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

#2 Post by jamesbond »

The tool is general enough to be packaged as a pet, but it will not work without modification in other pups.

Fatdog64 600 holds entire copy of the OS in RAM, including initrd. Thus, one only needs the kernel (vmlinuz) to build a remaster ISO.

Others pup don't, they lose initrd as soon as they boot up, hence in addition to vmlinuz, a copy of the original initrd is required; and if you have zdrv.sfs, you also need those ...

Thus, no pet at this stage. I welcome anyone who's interested to look at /usr/sbin/fatdog-remaster.sh from Fatdog64 600 and modify that as needed.

But in principle the process is the same - make a temporary aufs mount of existing aufs branches; put tmpfs on top of it (so that one can modify the content without modifying the running system); and then mksquashfs of that aufs mount. Add initrd, add zdrv.sfs, add vmlinuz, and you've got yourself a remaster.

cheers!
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

Post Reply