Worked hard to get your brand new custom Puppy Linux iso all set up? Want to change your boot image (the image that you see when you boot your cd/usb for the first time)? Here's how.
This how-to is done with Puppy 4.3.1. (**NOTE: HERE ARE MODIFICATIONS TO DO THIS IN PUPPY LINUX 5.2.8, aka LUPU 5.2.8 ) Instructions are easier to explain via commands executed in a console/terminal; feel free to substitute a gui command for any that are appropriate, but I am going to explain all this using the command line (with a couple of exceptions).
Note: this instructional uses the Gimp graphics editor to modify the image. A different graphics editor may be used as long as it has the ability to modify as gimp does as is explained in these instructions.
1. Create a folder to use to set all this up.
Code: Select all
cd /
mkdir ISO/
Also open up the /ISO/ folder in another window.
Drag and drop all the files/programs from the mounted customiso.iso folder to the /ISO/ folder. Puppy rox filemanager will ask you if you want to copy, move or link these folders? Select copy. Wait till it is done copying.
You now have all the files copied to the new folder.
Close out the window that has the mounted iso in it. Then click back on customiso.iso and Puppy will automatically unmount it.
3. In your /ISO/ folder you will have the files boot.cat, boot.msg, help.msg, initrd.gz, isolinux.bin, isolinux.cfg, logo.16, pup-431.sfs and vmlinuz. For this tutorial we are focusing on the logo.16 file.
The logo.16 file is a lss16 format image. Puppy naturally has the needed programs for this (except for Gimp; you will need to have Gimp installed or as an sfs. Search the forums for it), but there are certain limitations: the image must be less than 640x480 or less. 640x400 leaves room at the bottom for the boot prompt. It also must be 16 colors.
This tutorial will simply modify the image that comes with Puppy 4.3.1, but you can use this info to do all sorts of things.
Change logo.16 to a ppm image.
Code: Select all
cd /ISO/
lss16toppm <logo.16 >logo16.ppm
4. Modify the ppm image. Gimp can easily open up ppm images.
Code: Select all
cd /ISO/
gimp logo16.ppm
All kinds of things you can do with gimp; search this forum and the internet. Gimp is my favorite graphics tool (in case you've never seen any of my other posts).
But whatever you do, remember the limitations: it has to be 640x480 (probably better at 640x388) and it has to be 16 colors.
Change the color index in Gimp: Image>Mode>Indexed and change the colors from 256 to 16 and click Convert.
Change the size in Gimp: Image>Scale Image and change it to the necessary size (you'll notice that the one that comes with Puppy 4.3.1 is 640x388, so it might be wise to have your new one the same size).
When you are all finished save it as a ppm file.
Note: if you have any issues with saving it as a ppm file, just save it as a bmp file, then run this:
Code: Select all
bmptoppm <logo16.bmp >logo16.ppm
Code: Select all
mv logo.16 logo-old.16
Code: Select all
ppmtolss16 <logo16.ppm >logo.16
Now you have your new image ready to go. You can either move or delete the original logo.16 (now named logo-old.16) if you don't want it in the new iso image.
6. Create your new, now truly custom, iso file.
Code: Select all
cd /
mkisofs -o newcustomiso.iso -l -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table ISO/
Now you have your new iso (called newcustomiso.iso) in your / folder.
Enjoy!
PS. Original instruction on how to convert logo.16 was from here. And original instruction on manually creating an iso file came from my thread "Puppy Gamer's Unite" a la master MU.