The GUI version of the Debian Installer (d-i for short) comes with a pinkish banner with Offical debian logo and GNU/Linux text embossed. If you are going to use live-installer tool to create a Debian Blend you may as well like to have your own d-i banner for your blend. Here are the quick steps:
- Open GIMP image editor tool and create a new image of size 800x75 pixels. 800 corresponds to vga=788, which is the default command line option for vga, passed in boot menu.
- Create the banner that suites your tastes and save the image as banner.png
- Select menu->image->Flatten Image to flatten the image (i.e., remove Alpha) and save it again.
#!/bin/shThen, go ahead and build your Debian blend with debian-installer option enabled in your live-helper configuration. If all goes well, you should see your custom banner in d-i (Graphical install option).
# This is an binary hook for live-helper(7) to overwrite the banner
# in the graphical Debian Installer. To enable it, coppy or symlink
# this hook into your config/binary_local-hooks directory and add a
# replacement banner.png at:
# config/binary_local-includes/binary/install/banner.png
# The file should be a PNG image of dimensions 800 x 75.
set -e
TARGET_INITRD=”binary/install/gtk/initrd.gz”
REPACK_TMPDIR=”unpacked-initrd”
# cpio does not have a “extract to directory”, so we must change directory
mkdir -p ${REPACK_TMPDIR}
cd ${REPACK_TMPDIR}
gzip -d ../${TARGET_INITRD}
cd ..
rm -rf ${REPACK_TMPDIR}