Remastering 4.3 Final with Dougal's Pupremaster
Remastering 4.3 Final with Dougal's Pupremaster
If you like remastering using Dougals re-master script (Pupremaster), which is NOT included with 4.3, there are two issues you must take care of.
First, the resulting re-mastered file will be wrongly named as pup_430.sfs. It should be pup-430.sfs, note the hyphen instead of the incorrect underscore. You must re-name to pup-430.sfs.
Secondly, the process will bork the package manager, which is a little different in 4.3.
The solution is to make a copy of the hidden directory /root/.packages before you begin the process, then use this back-up to overwrite the .packages directory in the re-mastered version.
Otherwise, the process is smooth.
First, the resulting re-mastered file will be wrongly named as pup_430.sfs. It should be pup-430.sfs, note the hyphen instead of the incorrect underscore. You must re-name to pup-430.sfs.
Secondly, the process will bork the package manager, which is a little different in 4.3.
The solution is to make a copy of the hidden directory /root/.packages before you begin the process, then use this back-up to overwrite the .packages directory in the re-mastered version.
Otherwise, the process is smooth.
Spup Frugal HD and USB
Root forever!
Root forever!
dougal's is also great if you have custom stuff in /etc and /root My first experience with a remaster was to loose hours of work in scripts in /root.DaveS wrote: like me, you have a customised JWM. Dougals script preserves it all for me.
No more....I add Dougal's to every puppy version I have.
Thom
Unlike Dougals, the standard system does seem to miss the point of re-mastering a bit does'nt it...................tlchost wrote:dougal's is also great if you have custom stuff in /etc and /root My first experience with a remaster was to loose hours of work in scripts in /root.DaveS wrote: like me, you have a customised JWM. Dougals script preserves it all for me.
No more....I add Dougal's to every puppy version I have.
Thom
Spup Frugal HD and USB
Root forever!
Root forever!
I'm not that technical, but for the life of me I can't figure out why command prompt users are "left out in the cold". I have a very simple menu system that handles a lot...and for ssh and some other stuff, it's so much easier than the desktop.DaveS wrote: Unlike Dougals, the standard system does seem to miss the point of re-mastering a bit does'nt it...................
Must be 'cause I'm old....started using this stuff way before there was an IBM PC (8 inch floppies)...and suffered shock when I had to "unlearn" CP/M
Oh Well, back to the button hook factory...maybe I can sneak in a few buggy whips right after the shift change.
Thom
Re: Remastering 4.3 Final with Dougal (Pupremaster)
Has anyone modifed Dougal's script to take care of the renaming issue and the package manager?DaveS wrote:If you like remastering using Dougals re-master script (Pupremaster), which is NOT included with 4.3, there are two issues you must take care of.
First, the resulting re-mastered file will be wrongly named as pup_430.sfs. It should be pup-430.sfs, note the hyphen instead of the incorrect underscore. You must re-name to pup-430.sfs.
Secondly, the process will bork the package manager, which is a little different in 4.3.
Would a solution be to use the default remaster script and:
Delete /tmp/root and then do a recursive copy of /root to /tmp/root and
then the same with the /tmp/etc?
What I've done is to copy /root and /etc to an external drive....and use that to preserve my settings.
I use a bootable USB drive and JRBs SFLinker...it keeps the size of the save file reasonable and offers all sorts of options beyond what I'd have with pet files.
Thom
-
- Posts: 632
- Joined: Tue 02 Oct 2007, 07:39
".i find dougal's script is great for remastering from full installs"
Are there instructions for doing that?
I managed to run pupremaster.sh [within BoxPup], but became unsure [after choosing "Simple", then a working area] when asked to supply the files to be used to create a new ISO to be used to burn a new live optical disk [choices = CD, directory, no ISO].
Surely all files needed should be supplied by the BoxPup conventional installation.
Are there instructions for doing that?
I managed to run pupremaster.sh [within BoxPup], but became unsure [after choosing "Simple", then a working area] when asked to supply the files to be used to create a new ISO to be used to burn a new live optical disk [choices = CD, directory, no ISO].
Surely all files needed should be supplied by the BoxPup conventional installation.

Smart gives you customising options...eg editing /root and /etc
Even if you only make the pup_xxx.sfs you need parts of the original sfs such as /var , /mnt and such...the script is to make a fresh bootable puppy cd not a full install image....from which of course you could make a fresh full install...so the result has to be in the format of the original puppy iso.
mike
well if you choose to make an iso some parts need to come from the original iso or cd such as initrd.gz.Surely all files needed should be supplied by the BoxPup conventional installation
Even if you only make the pup_xxx.sfs you need parts of the original sfs such as /var , /mnt and such...the script is to make a fresh bootable puppy cd not a full install image....from which of course you could make a fresh full install...so the result has to be in the format of the original puppy iso.
mike
I used ISOMaster to extract the files from the BoxPup ISO file, and used those to complete the remaster, but once done, BoxPup wouldn't load and run from the CD.
"Kernel panic" mentioned...
Not enough RAM [256MB] to hold the contents of the 389.2MB pup_413.sfs file?
Ah well, it was an interesting exercise.
"Kernel panic" mentioned...
Not enough RAM [256MB] to hold the contents of the 389.2MB pup_413.sfs file?
Ah well, it was an interesting exercise.

In such a case its not loaded to ram but mounted from the cd (or hard drive).Not enough RAM [256MB] to hold the contents of the 389.2MB pup_413.sfs file?
Another reason for failure.....I tend to test isos using qemu rather than burning cd's. Kernel panic usually suggests missing files or corruption. Was there plenty of room to build the remaster such as a hard drive rather than in the puppy file system.
mike
1. "Was there plenty of room to build the remaster such as a hard drive rather than in the puppy file system"
Yes, there was plenty of room; I put the files on an 8GB spare ext3 Linux partition on the internal IDE HDD.
There are 2.5GiB free even after the files have been put on there.
Should I hold off deleting those files?
BoxPup is on a separate 3GiB ext3 partition.
[I notice the free space on that has dropped from 1.5GiB to 859MiB]
The files extracted from the ISO are on a 24GiB FAT32 partition with 6GiB free.
Yes, there was plenty of room; I put the files on an 8GB spare ext3 Linux partition on the internal IDE HDD.
There are 2.5GiB free even after the files have been put on there.
Should I hold off deleting those files?
BoxPup is on a separate 3GiB ext3 partition.
[I notice the free space on that has dropped from 1.5GiB to 859MiB]
The files extracted from the ISO are on a 24GiB FAT32 partition with 6GiB free.
Hmm, I see something interesting.
1. I booted using a Puppy-4.31.1 live CD+pupsave.
2. Ran SpaceMonger->[under WINE] and displayed the space usage of the contents of the BoxPup partition on sda3.
3. There's a HUGE space usage by:
/mnt/sda3/mnt/sda8/puppylivecdbuild
But that should be [and isn't] on sda8.
Don't know how that went wrong, but it doesn't [or shouldn't] matter, because there's still enough free space on sda3.
I'll now delete that folder and all its contents.
1. I booted using a Puppy-4.31.1 live CD+pupsave.
2. Ran SpaceMonger->[under WINE] and displayed the space usage of the contents of the BoxPup partition on sda3.
3. There's a HUGE space usage by:
/mnt/sda3/mnt/sda8/puppylivecdbuild
But that should be [and isn't] on sda8.
Don't know how that went wrong, but it doesn't [or shouldn't] matter, because there's still enough free space on sda3.
I'll now delete that folder and all its contents.
-
- Posts: 282
- Joined: Wed 16 Dec 2009, 21:38
- Location: Earth
Added compatibility with 4.3x versions.
Use at own risk.
Use at own risk.
- Attachments
-
- pupremaster.gz
- (9.63 KiB) Downloaded 860 times