Page 1 of 1

adding a custom logo to UBCD

Posted: Sun Jul 27, 2008 9:25 pm
by b34st1y
Hey all,


I want to add a custom logo to the initial boot screen of the UBCD. is this even possible?


any help would be greatly appreciated!

Posted: Mon Jul 28, 2008 12:51 am
by Icecube
You can add only a logo to the menu, not to the text at startup (only a text based image is possible, in color if you want).

You have to change menu.c32 to vesamenu.c32 in the config files ((/menus/).

Download syslinux from http://www.kernel.org/pub/linux/utils/boot/syslinux/.
Extract the syslinux archive to "c:\syslinux\".

Update isolinux and syslinux. Only the vesamenu.c32 part is essential, but later versions of syslinux fixes a lot of bugs.

To update isolinux for the CD version
- Copy "c:\syslinux\isolinux.bin" to "c:\ubcd\isolinux\".
- Copy "c:\syslinux\com32\menu\vasamenu.c32" to "c:\ubcd\isolinux\"
- Copy "c:\syslinux\com32\modules\chain.c32" to "c:\ubcd\isolinux\"
- Copy "c:\syslinux\memdisk\memdisk" to "c:\ubcd\isolinux\"

To update syslinux for the bootable USB key
- Copy "c:\syslinux\ldlinux.sys" to "c:\ubcd\syslinux\".
- Copy "c:\syslinux\mbr\mbr.bin" and "c:\syslinux\ldloader.bss" to "c:\ubcd\tools\ubcd2usb\".
- Copy "c:\syslinux\com32\menu\vesamenu.c32" to "c:\ubcd\syslinux\"
- Copy "c:\syslinux\com32\modules\chain.c32" to "c:\ubcd\syslinux\"
- Copy "c:\syslinux\memdisk\memdisk" to "c:\ubcd\syslinux\"

See: viewtopic.php?t=1143&highlight=vesamenu for example files.

Read the documentation of syslinux for more information.

Remaster the iso
If you don't know how to do it, see viewtopic.php?t=1343.

Posted: Mon Jul 28, 2008 10:33 am
by b34st1y
thanks!!

Posted: Mon Jul 28, 2008 10:34 am
by b34st1y
btw - how do I insert a txt / ascii image? I may end up doing that

Posted: Mon Jul 28, 2008 5:26 pm
by Icecube
Open /isolinux/startup.msg

Remove the text if you want.
Start making the picture that you want in Notepad2 or Notepad++.

See the section "What is the DISPLAY File Format?" on
http://syslinux.zytor.com/wiki/index.php/SYSLINUX for more information about how to make coloured text.

Search also for "Notepad2" in my post on
viewtopic.php?t=1398&postdays=0&postorder=asc&start=20.
It explains how you can add colors to the text easily, without to use a hex editor.

Remaster the iso.
Download some Virtual Machine (qemu, Virtualbox, VMware Virtual PC,...) and install it.
Point your virtual machine to the iso file and let the virtual machine boot from the cd.

Now you can see how your picture looks.