I have seen a few posts asking how to remaster a full install of Puppy-431, so i decided to have a go at it myself.
In the past i have successfully used Dougals remaster script, as described here: How to remaster a Puppy live cd from a full hd install?
unfortunately this method did not work (for me at least), so i looked for alternative ways of doing things.
Using a variation on the methods described in the following thread: HOW-TO: Do a full manual remaster without Unleashed
i managed to successfully remaster a FULL Install of Puppy-431.
###### THE FOLLOWING IS UNDERTAKEN ENTIRELY AT YOUR OWN RISK ######
(although there isn't really that much of one, as far as i can see)
Requirements:
- A FULL install of Puppy-431 (i used: pup-431.iso)
Another Linux partition on which to build the remaster.
Either the LiveCD or a copy of the pup-431.iso
what do you need to do now ?
If you have added extra icons on the desktop, you will need to edit: /root/Choices/ROX-Filer/globicons
adding something like this:
Code: Select all
<rule match="/usr/bin/gimp">
<icon>/usr/local/lib/X11/pixmaps/gimp48.png</icon>
</rule>
otherwise the icons will not display in the remaster.
If you have also added your own wallpaper/background image,
you will need to go to: /usr/share/backgrounds
and either delete or rename the original default.jpg image.
Next rename your current wallpaper/background image to default.jpg,
then just to be on the safe side, reload it via the wallpaper/background chooser in the menu.
As i personally had added wbar into my FULL install,
i needed to edit BOTH: /root/.jwmrc and /etc/xdg/templates/_root_.jwmrc
by adding the following:
Code: Select all
<Group>
<Class>wbar</Class>
<Name>wbar</Name>
<Option>nolist</Option>
</Group>
As shown in the image In This Post
Right then, enough of the preliminaries,
the following is the way i went about things. (change paths to suit your setup)
All of the following was done from the FULL install.
Step 1.
Creating our working directories.
- I created TWO directories on the Linux partition (in my case, that is sdb8)
/mnt/sdb8/SFS
/mnt/sdb8/ISO
My FULL install is on sda13 (not important, just for your information.)
Getting the required files.
- Put the LiveCD (puppy-431) into a drive and mount it,
now copy all of the files into /mnt/sdb8/ISO
When its finished copying them, you can unmout the LiveCD again, and remove it from the drive.
Whilst you are at it, delete the file /mnt/sdb8/ISO/boot.cat
Putting together the new pup-431.sfs file.
- Open TWO ROX-Filer windows,
one at /mnt/sdb8/SFS and the other at /mnt/sdb8/ISO
Click on the file /mnt/sdb8/ISO/pup-431.sfs
in the ROX-Filer window that opens, click on the "Eye" icon to show hidden files (IMPORTANT)
Next select all Ctrl + a (or click on the icon next the the Eye)
now hold down the Ctrl key and left clck on each of the following directories (to unselect them)
root
usr
var
let go of the Ctrl key and left click (and hold down) on one of the remaining highlighted directories,
now Drag & Drop them into /mnt/sdb8/SFS and choose Copy from the popup menu.
When its finished copying them, you can once again click on the file /mnt/sdb8/ISO/pup-431.sfs
that will unmount it.
We do not require /mnt/sdb8/ISO/pup-431.sfs any more, so go ahead and delete it.
Getting the remainder of the required files.
- With TWO ROX-Filer windows open,
one at /mnt/sdb8/SFS and the second at the / of your FULL install.
In this second ROX-Filer window, click on the "Eye" icon to show hidden files (IMPORTANT)
Now hold down the Ctrl key and left clck on each of the following directories (to select them)
root
usr
var
let go of the Ctrl key and left click (and hold down) on one of the highlighted directories,
now Drag & Drop them into /mnt/sdb8/SFS and choose Copy from the popup menu.
When its finished copying them,
you can left click anywhere away from any directories in the / of your FULL install. (to unselect the directories)
in here you will find files from any packages you have installed,
files similar to these: (these are what i put into my FULL install)
- gimp-2.4.0-rc3.files
imlib2-1.4.0.files
patched-wbar-1.3.3.files
stripped-python2.5+wbarconf-0.0.1.files
you will see exactly what files were installed (and where they were installed to)
Most files get installed into /root and /usr although some may be installed elsewhere,
my gimp for example also put some in /etc
Also i edited some files earlier, one of which was /etc/xdg/templates/_root_.jwmrc
so i need to copy that (and the gimp files) into their respective directories in /mnt/sdb8/SFS
YOU need to check that you have copied ALL of the files mentioned in your particular whatever-package.files
into their respective directories in /mnt/sdb8/SFS (or whatever yours is called)
Step 5.
Creating the new pup-431.sfs file.
- In a ROX-Filer window at /mnt/sdb8 (or whatever your partition is)
right click away from any icons, and select: Window > Terminal Here
and enter the following command: (change SFS to whatever your directory is called)You will end up with a new file: /mnt/sdb8/pup-431.sfsCode: Select all
mksquashfs SFS pup-431.sfs
Creating a new ISO file.
- Copy (or move) the file /mnt/sdb8/pup-431.sfs into /mnt/sdb8/ISO
Once again
In a ROX-Filer window at /mnt/sdb8 (or whatever your partition is)
right click away from any icons, and select: Window > Terminal Here
and enter the following command:In the above command, 431firm.iso is the name i gave my new ISO fileCode: Select all
mkisofs -D -R -o 431firm.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table ISO
and ISO (at the end) is the name of the directory containing all of the files for the new ISO.
you can now either burn a new LiveCD or make a manual frugal install.
NOTE:
The command suggested by MU failed for me,
the resulting ISO contained files that had had permission/owner and/or name changes. (see naming-permissions-oddity.png)
Image frugal-from-full.jpg is a screenshot of a frugal install made from the remaster,
i know you wouldn't have desktop icons with wbar, it was just for this test.
Hope this is helpful
CatDude
.