| woverin  
 
 
 
 
 Group: Members
 Posts: 115
 Joined: Nov. 2003
 | 
|  | Posted: May 06 2004,16:15 |  |  Custimizing boot logo
 ================
 Requirement
 Any image editor eg.  Xpaint(comes with DSL), GIMP
 lss16toppm and ppmtolss16 syslinux ( apt-get install syslinux)
 
 After you follow meo's remastering howto
 you can edit boot splash by
 
 mkdir /mnt/bootimg
 mount -rwo loop boot.img /mnt/bootimg
 cd /mnt/bootimg
 you will see serveral files in here
 logo.16 is the file that we need.
 However, you can not edit logo.16 directly, you need to convert it to ppm format. You must have lss16toppm and ppmtolss16.
 
 lss16toppm <logo.16> logo.ppm
 cp logo.16 /tmp       #back up the logo in case you corrupt the file
 rm logo.16               #delete the existing one - we'll use the new one
 use your favorite image edit to replace the original logo or you can create a new one
 the maximum resolution is 640x480
 size should not more than 50kb, otherwise it won't work.
 16 color
 after you finish edit or create a new one, convert it back to .16 format
 ppmtolss16 < logo.ppm > logo.16
 rm logo.ppm
 cd /home/damnsmall
 unmount /mnt/bootimg
 -------------------------------------------------
 
 Customizing boot message
 ====================
 mkdir /mnt/bootimg     #omit this step if you did the logo customizing
 mount -rwo loop boot.img /mnt/bootimg
 cd /mnt/bootimg
 now look for miniroot.gz
 cp miniroot.gz /tmp   #in case you mess up
 mkdir /mnt/bootmsg
 gunzip miniroot.gz
 not you should get miniroot
 mount -rwo loop /mnt/bootmsg
 cd /mnt/bootmsg
 scite linuxrc              #edit your desired msg and save change.
 cd /mnt/bootimg
 umount /mnt/bootmsg
 gzip miniroot                      #compress miniroot back
 umount /mnt/bootimg
 
 put boot.img back to the newcd/KNOPPIX dir
 |