Page 1 of 1

Adding a logo to UBCD

Posted: Wed Dec 02, 2009 4:56 am
by crazyboi1
Hi, is it possible to add a logo as a splash screen to the UBCD

Thanks

Posted: Thu Dec 03, 2009 6:35 am
by Icecube
Yes

Posted: Mon Dec 07, 2009 3:22 am
by crazyboi1
Thanks, do you know how?

Posted: Mon Dec 07, 2009 4:58 am
by Icecube
Download the Syslinux package and read the documentation:
http://www.kernel.org/pub/linux/utils/boot/syslinux/

You can add a background to the menu.
You need vesanenu.c32 instead of menu.c32 for this function:

/doc/menu.txt

Code: Select all

MENU BACKGROUND background

	For vesamenu.c32, sets the background image.  The background
	can either be a color (see MENU COLOR) or the name of an image
	file, which should be 640x480 pixels and either in PNG or JPEG
	format.
Or you can add a real spash menu (which will disappear after the timeout.
/doc/syslinux.txt

Code: Select all

   ++++ DISPLAY FILE FORMAT ++++

DISPLAY and function-key help files are text files in either DOS or UNIX
format (with or without <CR>).  In addition, the following special codes
are interpreted:

Code: Select all

<CAN>filename<newline>			<CAN> = <Ctrl-X> = ASCII 24
	If a VGA display is present, enter graphics mode and display
	the graphic included in the specified file.  The file format
	is an ad hoc format called LSS16; the included Perl program
	"ppmtolss16" can be used to produce these images.  This Perl
	program also includes the file format specification.

	The image is displayed in 640x480 16-color mode.  Once in
	graphics mode, the display attributes (set by <SI> code
	sequences) work slightly differently: the background color is
	ignored, and the foreground colors are the 16 colors specified
	in the image file.  For that reason, ppmtolss16 allows you to
	specify that certain colors should be assigned to specific
	color indicies.

	Color indicies 0 and 7, in particular, should be chosen with
	care: 0 is the background color, and 7 is the color used for
	the text printed by Syslinux itself.