HOWTO: Change the boot logo/screen
The boot logo is a file called logo.16
It is in the boot.img. To view the boot.img : ( as root )
Code:
cp /cdrom/KNOPPIX/boot.img /tmp/
mkdir /mnt/bootimg
mount -o loop /tmp/boot.img /mnt/bootimg
Now, in /tmp/bootimg you should have :
boot.msg f1 ldlinux.sys logo.16 miniroot.gz syslinux.cfg vmlinuz
these files are for Syslinux and you should read the docs there about the display format ( relating to the f1 file and others )
the logo.16 file is a lss16 format image.
you should have the program ppmtolss16 , which turns a ppm image into a lss16 format image suitable for booting.
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.
use the programs giftopnm or pngtopnm to change your gif or png 16 color image into pnm format, then pnmtolss16, which you can put in /tmp/bootimg.
then you can
Code:
unmount /mnt/bootimg
and then use that boot image when making the ISO file for your CD
re: HOWTO: change the boot logo/screen
Thanks for the howto, Eadz. I've just gone thru it myself and have some comments:
1 - Follow the steps above to get to logo.16. Then use lss16toppm exists to convert it. The command format is:
lss16toppm <logo.16 >logo16.ppm
2 - The Gimp loaded a ppm file fine.
3a - The Gimp apparently doesn't save ppms, and wants to make it a PNM if you tell it to detect format from the file extension .ppm
3b - The pnmtolss16 command isn't in the Knoppix install, and I also couldn't find it even mentioned on google. This led to a lot of wandering thru the weeds, trying to find a fast path between what The Gimp could save and lss16. Since I'm unfamiliar with lss16, pnm and ppm (and most of the other zillion formats found by grepping for 'to' or '2' in /usr/bin), and since some file formats are lossy, I don't know if I've picked wisely. I ended up going .bmp to .ppm via /usr/bin/bmptoppm then /usr/bin/ppmtolss16
3c - the command format for these is:
bmptoppm <logo16.bmp >logo16.ppm
ppmtolss16 <logo16.ppm >logo.16
I imagine something streamlined like
bmptoppm logo16.bmp | ppmtolss16 >logo.16
would work.
4. Now, I'm off to finish my iso build. I'll report back if my edited boot logo fails for some reason.
Last of all, there's a typo in the 2nd code block:
unmount /mnt/bootimg should be umount, without the 'n'