Make a new Boot Screen and some explanation about the boot menu
See also BootSplash.
This is how to make a splash/boot screen and menu for Puppy.
Keep in mind you must remaster the cd for this to work.
Boot Screen
First off, you will need the gif2lss program.
Okay, now you need to make an image. It should be 640*400 with 16 colors.
Make sure it is saved as a 16 color gif, not as a 32 color or 256 color gif that happens to have only 16 colors.
It has to use a palette. You can make it shorter or taller if you want, to leave room for the message.
Save it somewhere as goofy.gif.
Next, you need to do this:
#gif2lss goofy.gif > goofy.16
Okay, now you just replace the goofy.16 that comes with Puppy.
It is on the cd (as in with image.gz and usr_cram.fs, not inside them).
Menu
To make the menu, you edit the isolinux.cfg file on the cd (as in with image.gz and usr_cram.fs, not inside them).
Here is an example:
default 1
DISPLAY BOOT.MSG
prompt 1
label 0
localboot 0x80
label 1
kernel vmlinuz
append root=/dev/ram0 initrd=image.gz ramdisk_size=50490 PFILE=pup001-none-262144
label 2
kernel vmlinuz
append root=/dev/ram0 initrd=image.gz ramdisk_size=50490 PFILE=ask
label 3
kernel vmlinuz
append root=/dev/ram0 initrd=image.gz acpi=off ramdisk_size=50490 PFILE=pup001-none-262144
label 4
kernel vmlinuz
append root=/dev/ram0 initrd=image.gz acpi=off ramdisk_size=50490 PFILE=ask
label 5
kernel vmlinuz
append root=/dev/ram0 initrd=image.gz PFILE=cd
timeout 100
The default line is the default boot option that will be chosen if the user presses enter or it times out.
The line with BOOT.MSG calls the boot screen. If you don't want it, get rid of this and don't include goofy.16
and BOOT.MSG.
The labels are what will happen if you choose those options.
localboot 0x80
This goes back to the harddrive and boots from there. That means that if you have windows on the harddrive,
it will boot that. If you use lilo to dual boot, the lilo menu will come up. Same with grub.
kernel vmlinuz
append root=/dev/ram0 initrd=image.gz ramdisk_size=50490 PFILE=pup001-none-262144
This will boot from the pupfile pup001. You can change the pup001 to whatever you want. You can also change it to
PFILE=ask
without any numbers after it, and it will ask the user which pupfile (if any) to use. If you leave it blank,
it won't use a pupfile at all.
The part that goes
ramdisk_size=50490
is the size that the ramdisk should be. This is the size of image.gz when it is decompressed. If you change
image.gz, you need to get it's size. To decompress it, you can use gunzip.
The numbers after the pupfile (262144 in the example) are the size of the pupfile.
In this line
append root=/dev/ram0 initrd=image.gz acpi=off ramdisk_size=50490
The part that says acpi=off turns off acpi. I don't know what this is, but someone must have needed it once,
because it was there. Normal people don't use it though.
At the end, it has
timeout 100
This is how long (in tenths of a second) the menu will stay up before defaulting and continuing.
Pizzasgood
CategoryHowto
There are no comments on this page. [Add comment]