Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: Ben on March 01, 2011, 10:45:12 PM
-
Hi there,
I tried to find some info about how to add a customized splash screen image for TC booting process, but cannot find it.
Can someone tell the steps or point out where I can find it?
Thanks
-
Are you talking about a splash screen for grub-0.97-splash?
The image has to be 640x480, 14 colors max, saved in xpm format and then gzipped. On the Gimp menu, use
Image | Mode | Indexed
select "Generate optimum palette and set maximum number of colors to 14.
The grub line is something like this:
splashimage=(hd0,0)/boot/grub/tc_3.4.1_lem_splash_14.xpm.gz
I tried to upload an example but got a message indicating upload directory is full. Probably just as well, as the TC wallpaper/logo looks like crap in that format (needs more than 14 colors).
-
thanks a lot.
-
I guess the suggested solution worked for you. I believe there is a wiki page for grub2 however (off the top of my head) I was not able to make it work off the bat. I had to modify my grub.cfg from another source. As I recall the image for grub 2 does not have to be 640x480 but as a start I used 640x480 and once it worked I never experimented (minimise the heartache). I can't remember what other heartache was involved but give it a try and complain later. Oh don't forget to run grub-install when done, grub2 seems to require a rerun of grub-install when grub.cfg changes.
tc@box:/mnt/sda1/boot$ identify wallpaper.jpeg
wallpaper.jpeg JPEG 640x480 640x480+0+0 8-bit DirectClass 22.5KB 0.010u 0:00.000
Snippet from my grub.cfg (from the wiki page with mods):
if loadfont /boot/grub/unicode.pf2 ; then
set gfxmode="640x480x16"
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod jpeg
if background_image /boot/wallpaper.jpeg ; then
set color_normal=white/black
set color_highlight=magenta/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi