SuSE Linux: Version 7.3
The so called framebuffer device must be active in order to be able to display graphics on the console.
The following resolutions are possible:
785 or 786 or 0x311 or 0x312 | 640 x 480 pixels |
788 or 789 or 0x314 or 0x315 | 800 x 600 pixels |
791 or 792 or 0x317 or 0x318 | 1024 x 768 pixels |
794 or 0x31a or 795 or 0x31b | 1280 x 768 pixels |
A table containing the relevant information is also available in the following article:
"Configure an unsupported graphic card using the framebuffer device" (http://sdb.suse.de/en/sdb/html/wessels_easy_fbdev.html)
Create a JPEG image with the resolution of your choice. (In this article we used an example with 1024 x 768 pixels).
The splash screen images are located in the directory:
/usr/share/splash/
First steps
To be able to restore the original state if necessary, create a backup copy of the original files. Proceed as follows:
mv /usr/share/splash/bootsplash-1024x768.jpg /usr/share/splash/bootsplash-1024x7 cp /usr/share/splash/bootsplash-1024x768.cfg /usr/share/splash/bootsplash-1024x7 cp /usr/share/splash/splash.dsc /usr/share/splash/splash.dsc.backup
Now copy your new image file to the directory: /usr/share/splash/
cp newimage.jpg /usr/share/splash/bootsplash-1024x768.jpg
Make sure the file permissions are set as follows:
tux:~ # ls -l /usr/share/splash/bootsplash-1024x768.jpg -rw-r--r-- 1 root root 73184 Nov 13 11:37 /usr/share/splash/bootsplash-1024x
In case different permissions are set, modify these by entering:
chmod 644 /usr/share/splash/bootsplash-1024x768.jpg chown root.root /usr/share/splash/bootsplash-1024x768.jpg
In order to define the border width, edit the file /usr/share/splash/bootsplash-1024x768.cfg
In the default SuSE splash screen, a white square is superimposed on the splash screen in order to "hide" the penguin. If you do not wish this effect, edit the file /usr/share/splash/splash.dsc
Modify the entry
master:killall -2 fbmngplay; echo "hide penguin" >/proc/splash
to
master:killall -2 fbmngplay
Activating the splash screen
Edit the file /etc/lilo.conf
Enter the value for your resolution (1024 x 768 pixels in this example) for the parameter "vga=":
vga=791
Now execute the following commands:
mk_initrd lilo
In case you wish to change the font color on this console, edit the file /etc/init.d/boot.local and append the following:
# The color is expressed as a hexadecimal figure in # the sequence RGB (red, green, blue). # # e.g.: # 000000 black # ff0000 red # 00ff00 green # 0000ff blue # ffffff white fontcolor="000000" echo -e "\033]R\033]P0$fontcolor\033]P4$fontcolor" > /dev/tty0
Have fun with your experiments :-)!