| Installing/Changing Bootsplash screen in Debian |
|
|
|
| Written by Jordan | |
|
Have you ever wondered how Debian managed to display a nice image as well as a progress bar at boot time? Well, this article will show you how to customize your own image that Debian will use at boot time. This image is called a bootsplash.
I - Introduction
Of course, as Linux is open-source you can define you own theme. This tutorial will guide you through the entire process. In order to do so, you will need to patch your kernel because the kernel is responsible for linking the bootsplash and the display. Bootsplash makes use of the frame buffer of the graphics card so I assume you have got a decent graphics card. nVIDIA's cards are definitely the best for Linux due to the high quality of their drivers. Other vendors also are fine, especially ATI ones. The frame buffer is a software layer aiming at displaying images by sending it directly the graphics processor.
Before beginning, I would like to warn you that this tutorial was written and tested with the kernel 2.6.16.5 under Debian Sarge
II – Preparing and compiling the kernel
Go to the section called Device drivers -> Block devices and select RAM disk support. Press “y” no matter your interface. You should do the same with “Initial RAM disk (initrd) support” You should now activate the frame buffer. Go to “Device drivers -> Graphics Support” and select “Support for frame buffer devices” and press “y”. A scrolling list will thus appear in which you should select “VESA VGA grapĥics support” and press “y”. Go to the section “Device drivers -> Graphics support -> Console display driver support” and select “Video mode selection support” and press “y”. “Frame buffer console Rotation” is not compulsory For the final step of the configuration, you should go to “Device drivers -> Graphics support -> Bootsplash configuration” and activate “Bootup splash screen” and press “y”. The following screenshot shows you what you should have. ![]() Your kernel is now configured to host bootsplash. Click on the Save button and close the window.
Compiling the kernel Type the following commands: su # Enter root password
Installing the kernel I strongly advise you to type make modules_install instead of the popular make install to keep track of everything happening so that you will not be surprised by the final result. Type: cp arch/i386/boot/bzImage /boot/vmlinuz-bootsplash If you use GRUB instead, you should edit some lines in the /boot/grub/menu.lst file. Here you go: /boot/grub/menu.lst # original lines Change the lines listed below: # You should add these lines If you are using LILO, here is your configuration file: /etc/lilo.conf # original lines # Lines to be edited III – Installing and configuring the bootsplash Preparing You should add your bootsplash to the file /etc/apt/sources.list Do root this as root or with sudo echo "deb http://www.bootsplash.de/files/debian/ unstable main" >> /etc/apt/sources.list Installing Execute this command: apt-get install bootsplash You will be required to download an image and asked to select the image to be changed. You will also be asked to choose the resolution and the loader. Grub users may have the following output: kernel /boot/vmlinuz-bootsplash root=/dev/sda6 ro splash=silent vga=794 Lilo users will have this output: image=/boot/vmlinuz-bootsplash # change 2.6.8-2-386 with bootsplash vga=794 Lilo users should not forget to run lilo command in order to rewrite the Master Boot Record of the disk. Well done! The bootsplash is now installed, you only need the progress bar now. IV – Installing the progress bar Yo need another patch. Type: apt-get install sysv-rc-bootsplash This will prompt a dialog box asking to confirm that you want to patch the kernel
Complete! Your progess bar is now installed and running! Reboot your computer and enjoy! V – Conclusion Well, you have just installed the progress bar and the bootsplash under Debian. The progress bar is certainly the most entertaining feature. Need Help? Ask your questions at our forum! |
| < Prev | Next > |
|---|
| Jordan | ![]() | 723 |
| Tor | ![]() | 488 |
| TotalPenguin | ![]() | 478 |
| v0id | ![]() | 273 |
| WingedPanther | ![]() | 173 |
| Wanch | ![]() | 141 |
| Hektor | ![]() | 126 |
| EGS | ![]() | 115 |