|
|
isolinux 图像文件 lss 的更改参数
We also modified the various message files to reflect UB specific information. Finally, we modified the splash.lss file so that we have a nice pretty UB graphic in place of the RedHat graphic.
The graphic is in a somewhat odd format, called LSS16. As the name indicates, it is limited to 16 colors. To edit the graphic, first convert it to a PPM:
lss16toppm < splash.lss > splash.ppm
Next, edit the file using The Gimp. Save the resulting file as an indexed gif with no more than 14 colors (plus black and white, for a total of 16). Then, convert the file to a pnm/ppm:
giftopnm < splash.gif > splash.ppm
Before taking the next step and converting the ppm file to an LSS, ensure that the LANG environment variable is set to en_US. RedHat 9's default LANG variable is en_US.UTF-8, which will cause the LSS conversion to fail. To actually convert the ppm to a n lss, use this command:
ppmtolss16 < splash.ppm > splash.lss
A note on the .msg files on the floppy: These are the message files displayed when the appropriate key (as indicated in the syslinux.cfg file) is pressed. The color codes in these files refer to the index of the graphic contained in splash.lss. |
|