---+ Setting up a Custom Splash Screen for the Boot Menu I found the file <i>800px-Cape_Coast_Castle_Balcony_02_Sept_2012.jpg </i>on the Internet and I converted it into a png file using <a href="http://localhost/do/edit/UCC_Course/ImageMagick?topicparent=UCC_Course.SplashScreen;nowysiwyg=0" rel="nofollow" title="ImageMagick (this topic does not yet exist; you can create it)">ImageMagick</a>: _sudo apt-get install imagemagick_ <font size="2"> _convert 800px-Cape_Coast_Castle_Balcony_02_Sept_2012.jpg 800px-Cape_Coast_Castle_Balcony_02_Sept_2012.png_ </font> <font size="2">Then copy the file to /usr/share/backgrounds (need to be super user).</font> <font size="2">After this we tell the system about this background image by editing _/etc/default/grub_ and adding GRUB_BACKGROUND:</font> <font size="2">GRUB_TIMEOUT=10<br />GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`<br />GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"<br />GRUB_CMDLINE_LINUX=""<br /><font color="#000099">GRUB_BACKGROUND="/usr/share/backgrounds/800pxCape_Coast_Castle_Balcony_02_Sept_2012.png"</font><br /># Uncomment to enable <a href="http://localhost/do/edit/UCC_Course/BadRAM?topicparent=UCC_Course.SplashScreen;nowysiwyg=0" rel="nofollow" title="BadRAM (this topic does not yet exist; you can create it)">BadRAM</a> filtering, modify to suit your needs<br /># This works with Linux (no patch required) and with any kernel that obtains<br /># the memory map information from GRUB (GNU Mach, kernel of <a href="http://localhost/do/edit/UCC_Course/FreeBSD?topicparent=UCC_Course.SplashScreen;nowysiwyg=0" rel="nofollow" title="FreeBSD (this topic does not yet exist; you can create it)">FreeBSD</a> …)<br />#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"</font> <font size="2">Finally we edit _/etc/grub.d/05_debian_ _theme as follows:</font> <font size="2">echo "if background_image `make_system_path_relative_to_its_root "${1}"`; then"<br />if [ -n "${2}" ]; then<br /> echo " set color_normal=${2}"<br />fi<br />if [ -n "${3}" ]; then<br /> echo " set color_highlight=${3}"<br />fi<br />if [ -z "${2}" ] && [ -z "${3}" ]; then<br /><font color="#000099"># echo " true"<br /> echo " set color_normal=black/black"<br /> echo " set color_highlight=yellow/dark-gray"<br />fi</font><br />echo "else"<br />set_default_theme " "<br />echo "fi"</font> -- %USERSIG{UliRaich - 2016-02-18}% ---++ Comments %COMMENT%
This topic: Embedded_Systems
>
WebHome
>
SystemInstallation
>
SplashScreen
Topic revision: r1 - 2016-02-18 - uli
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback