HOWTO Customize your Boot Image

How to do things, solutions, recipes, tutorials
Message
Author
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#16 Post by rcrsn51 »

Isolinux.bin is a file. In your example, isolinux is a directory. Open up some other Puppy ISO's and see what they look like.

Also, the warning message about the html directory indicates that some of its contents will be lost. Better to package it as a tarball.

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

Re: Problems encountered - need help

#17 Post by CatDude »

Hi
gcmartin wrote:....Can someone help by suggesting what this mkisofs command should be?
Try this:

Code: Select all

mkisofs -o newcustomiso.iso -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table ISOplaceholder
CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

gcmartin

Re: Problems encountered - need help

#18 Post by gcmartin »

CatDude wrote: ... Try this:

Code: Select all

mkisofs -o newcustomiso.iso -l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table ISOplaceholder
CatDude.
Thanks CatDude and everyone.

@CatDude; you just kicked a winning goal. And, I learned something as well.

User avatar
oldyeller
Posts: 889
Joined: Tue 15 Nov 2011, 14:26
Location: Alaska

Re: problems need help

#19 Post by oldyeller »

Helllo,
Steve

I am use lupu528 not frugal or full just savefile. the ppmtolss is not found by bash in this puppy everything else works ok.

Not sure on how to this command or naother to work to change the ppm to lss

Thanks to anyone who can help

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

Re: problems need help

#20 Post by steve_s »

oldyeller wrote:Helllo,
Steve

I am use lupu528 not frugal or full just savefile. the ppmtolss is not found by bash in this puppy everything else works ok.

Not sure on how to this command or naother to work to change the ppm to lss

Thanks to anyone who can help
Wow, really sorry for the late reply on this one, oldyeller...I'll have to check out the latest lupu to see what the deal is with ppmtolss...

Check out some information here, please to see if there is a workout that can be figured out...

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

Mofiications for Lupu 5.2.8

#21 Post by steve_s »

Well, it does seem that Puppy Linux 5.2.8, aka Lupu 5.2.8 is missing some of the stuff we need to do this.

So here is how we fix that.

First, install the pet file that I’ve attached to this post. It will install gif2lss, ppmtolss16 and lss16toppm to /usr/bin for you.

Next, follow all the instructions in the first post through #3.

Then proceed:

4. Modify the ppm image. Gimp can easily open up ppm images.

Code: Select all

cd /ISO/
gimp logo16.ppm
Now, do what you want to with gimp. Let's say you want to add some text. Click on the Text button in the tools menu (looks like a big "A") and put some text on the image.

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 5.2.8 is 640x388, so it might be wise to have your new one the same size).

When you are all finished save it as a gif file.

5. Now let's do some reorganizing:

Code: Select all

mv logo.16 logo-old.16
And then convert the new gif image to the old format and name:

Code: Select all

gif2lss logo16.gif > 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/
Notice: that mkisofs command is one line, all the way to the end of ISO/.

Now you have your new iso (called newcustomiso.iso) in your / folder.

Enjoy!
**Note: I have used the attached tools in Lupu5.2.8 to modify and save the splash image. I have NOT yet gone through the whole process (essentially step #6) using 5.2.8 as I had with 4.2.1. So, please, feel free to try it for us and confirm whether or not it works.**
Attachments
lostsplashtools.pet
Tools to take the place of the ones lost in Lupu 5.2.8
(11.6 KiB) Downloaded 542 times

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#22 Post by RSH »

Hello,

i have "fixed" the .pet because i think the file inside the pet should be named "ppmtoolss16". The name of the file inside the pet is "ppmtolss16". I have just created a link to it. Do not know if this is an original "fault" so it is compatible in this way.

RSH
Attachments
lostsplashtools.pet
(11.54 KiB) Downloaded 501 times
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#23 Post by steve_s »

No, the name is ppmtolss16, but if it works better for anyone with that fix then thank you for that.:-)

User avatar
oldyeller
Posts: 889
Joined: Tue 15 Nov 2011, 14:26
Location: Alaska

Mofiications for Lupu 5.2.8

#24 Post by oldyeller »

Hi Steve S,

Sorry it took so long for me to get back on here, have already download the pet and will give it a try. As soon as I get me a new comp. Using my wife's and she loves windows. HA HA

Thanks well let you know in a couple of weeks.

User avatar
oldyeller
Posts: 889
Joined: Tue 15 Nov 2011, 14:26
Location: Alaska

#25 Post by oldyeller »

Hi Steve

The pet that you made did not work so I tried the one that RSH and it woked just fine. Thanks to you both for your help

espertalhao04
Posts: 70
Joined: Sat 12 May 2012, 00:49

#26 Post by espertalhao04 »

hey guys
sorry for being "late" but i have found that if you open logo.16 with mtpaint, you can edit it (keep it at a size that is something like 640x <480, to give space for the output messages)...
there's no need to do all those things...
and you can even place another image, if you edit the first line of file boot.msg, and replace boot.16 for the name of the image (open with geany!!!)...
you can also translate boot.msg and help.msg (both with geany!!!!) for any language (that can have chars written in a console <-- need confirmation about charsets)...
you can even change the text colors!!!
just need to practice...
as soon as i can get something, i'll show you some results...
asus a6000: intel m 1.6ghz, 2gb ram ddr, no hdd, usb 2.0 pendrive running puppy linux 4.3.1

espertalhao04
Posts: 70
Joined: Sat 12 May 2012, 00:49

#27 Post by espertalhao04 »

to convert to lss16, just save as lss16 using mtpaint...
use also mtpaint to index it to 16...
asus a6000: intel m 1.6ghz, 2gb ram ddr, no hdd, usb 2.0 pendrive running puppy linux 4.3.1

espertalhao04
Posts: 70
Joined: Sat 12 May 2012, 00:49

#28 Post by espertalhao04 »

hey guys...
i've been successful in changing my boot splash!!!
this is what i've done:
1-http://bestfreewallpapers.net/mediagall ... 8163333326
2-download the image and save it (this is the one i've used)
3-open it with mtpaint:
a-go to "image" and choose "scale canvas"
a1-on new you choose 640 and you can put a value lower or equal to 480 (recommended: 388)
a2-you might need to unselect the option "fiz aspect ratio"
b-go to "image" and click on "convert to indexed"
b1-on "indexed color to use", you put 16
b2-on "palette", choose "pnn quantitize"
b3-on "dither", choose "dithered"
b4-click on the button "settings"
b5-on "colour space", choose "rgb"
c-go to "file" and choose "save as..."
c1-on "file format", choose "lss16"
c2-(this is not a must) name your file of "logo.16.lss" (to distinguish which file is the new image)
4-open the file "boot.msg" using geany (or any equivalent file editor that supports special chars):
a-in the first line, change "logo.16" to the name of the image (ex: "logo.16.lss")
b-you can change the text color by writing after char "SI" the number of the color. the number of the color can be taken from the image. the color value MUST BE IN HEX (ex:SI0a). the color code will match the color indexed in the image!!!

now you have your new splash configured and ready to use!!!
p.s.:
this was tested using mtpaint 3.31, geany 0.18 and done in puppy linux 4.3.1
the results where quite great!!!
i hope it works to you!!!
asus a6000: intel m 1.6ghz, 2gb ram ddr, no hdd, usb 2.0 pendrive running puppy linux 4.3.1

espertalhao04
Posts: 70
Joined: Sat 12 May 2012, 00:49

#29 Post by espertalhao04 »

here is the result of my boot image (using kemu and the file boot.msg was changed):

Image
asus a6000: intel m 1.6ghz, 2gb ram ddr, no hdd, usb 2.0 pendrive running puppy linux 4.3.1

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

#30 Post by steve_s »

espertalhao04 wrote:here is the result of my boot image (using kemu and the file boot.msg was changed):
Nice! 8)

espertalhao04
Posts: 70
Joined: Sat 12 May 2012, 00:49

#31 Post by espertalhao04 »

hey dude...
if you want to try my changes, i can provide you the iso (puppy linux 4.3.1) and a compressed file with my changes!!!
i am thinking about doing it to the part with the boot options, but i'm not sure of what i'd do...
any sugestion and how-to is really wellcome ...
i've tryed to insert the image as background but it didn't worked...

.tar.gz compressed file with changes!
https://hotfile.com/dl/156261134/b852e3 ... ar.gz.html

.iso bootable file (puppy linux 4.3.1)
https://hotfile.com/dl/156261449/391b7f ... d.iso.html

any sugestion, error, request, how-to or anything, you can ask to me...
i'll try as much as possible...
if something is wrong, tell me...
asus a6000: intel m 1.6ghz, 2gb ram ddr, no hdd, usb 2.0 pendrive running puppy linux 4.3.1

espertalhao04
Posts: 70
Joined: Sat 12 May 2012, 00:49

#32 Post by espertalhao04 »

if someone can make a better dithering with that image (to create a high quality color-gradient), please, tell me how to do it!!!
the dithering quality is quite poor and horrible...
asus a6000: intel m 1.6ghz, 2gb ram ddr, no hdd, usb 2.0 pendrive running puppy linux 4.3.1

midmen
Posts: 4
Joined: Wed 20 Jun 2012, 18:25

#33 Post by midmen »

I am new to this so I appreciate your help and understanding. I was able to open my boot.msg file using Geany (see below). Once opened I was able to make the changes to my splash image. My question has to do with understanding what do the letters in the black boxes do? I believe I read that SI sets the color of the text. What do the others do and where could I find information that explains how to change certain code in my Puppy?

Thank you.

[/img]
Attachments
image-1.png
(30.8 KiB) Downloaded 613 times

espertalhao04
Posts: 70
Joined: Sat 12 May 2012, 00:49

#34 Post by espertalhao04 »

i don't know what they exactly mean...
but the box CAN is for the image...
the box SI(hex value of 2 chars, from 00 to 0f) is the text color...
but the text color changes according to the colors in the image...
for example:
SI0a is one of the light gray...
with that logo.16 (the one i created)...
with the original, is orange...
to know the exact color, you open the logo.16 with mtpaint...
at left, you have the color pallete...
you choose what color you want...
and then write it in hex, next to SI...
this is how it is my boot.msg (i have different from the iso, i made it even more personal):

FF CANlogo.16.lss
SI08Wait SI0e5SI08 seconds to boot, press SI0e<F2>SI08 for options.SI08
SUB

note: all that is in uppercase, is the black chars in a box (except the F2)...
the boot.msg example is for puppy 4.3.1, and you must use slack or warry, cause you have the option to click on <F3>...
you can change the image name, but you must have an image in lss16...
in this topic i have a step by step explanation of how to convert any image to lss16 with mtpaint...
any help, or question, just ask...
asus a6000: intel m 1.6ghz, 2gb ram ddr, no hdd, usb 2.0 pendrive running puppy linux 4.3.1

espertalhao04
Posts: 70
Joined: Sat 12 May 2012, 00:49

#35 Post by espertalhao04 »

i don't know what they exactly mean...
but the box CAN is for the image...
the box SI(hex value of 2 chars, from 00 to 0f) is the text color...
but the text color changes according to the colors in the image...
for example:
SI0a is one of the light gray...
with that logo.16 (the one i created)...
with the original, is orange...
to know the exact color, you open the logo.16 with mtpaint...
at left, you have the color pallete...
you choose what color you want...
and then write it in hex, next to SI...
this is how it is my boot.msg (i have different from the iso, i made it even more personal):

FF CANlogo.16.lss
SI08Wait SI0e5SI08 seconds to boot, press SI0e<F2>SI08 for options.SI08
SUB

note: all that is in uppercase, is the black chars in a box (except the F2)...
the boot.msg example is for puppy 4.3.1, and you must use slack or warry, cause you have the option to click on <F3>...
you can change the image name, but you must have an image in lss16...
in this topic i have a step by step explanation of how to convert any image to lss16 with mtpaint...
any help, or question, just ask...
asus a6000: intel m 1.6ghz, 2gb ram ddr, no hdd, usb 2.0 pendrive running puppy linux 4.3.1

Post Reply