Linux Bootsplash :: howto

Linux Bootsplash :: howto

offline
  • gamzzy 
  • Legendarni građanin
  • Pridružio: 24 Apr 2003
  • Poruke: 10725
  • Gde živiš: Novi Sad

Linux Bootsplash
Author: darky
Language: english
Date: 05.08.2004
Version: 1.0


Warning: This HOWTO comes with no explicit or implicit warranty whatsoever. Use at you own risk!

1) Requirements
2) Patch the Kernel
3) Install Bootsplash
4) Apply Theme
5) Configure Lilo or Grub

1. Requirements

If you liked to have a Bootsplash, you need the Kernel Patch for your Kernelversion, and the Splash Utility, or directly as Package for your distribution:
Slackware 10
Slackware 9.1
Debian
SuSE 9.1

2. Patch the Kernel

To Patch the Kernel, first change to the Directory with the Kernel Sources, mostly /usr/src/linux-2.6.x. Then copy the bootsplash-3.1.x-2.6.x.diff into the directory with the sources. Now enter:
# patch -p1 < bootsplash-3.1.x-2.6.x.diff
If this happened without errors, then you have successfully patched your Kernel.

Now it goes to the Kernel configuration, I assume this is already finished so far, I will only list the for bootsplash necessary lines.

You must activate the following things in the Kernel:
Code maturity level options --->
[*] Prompt for development and/or incomplete code/drivers
Processor type and features --->
[*] MTRR (Memory Type Range Register) support
Device Drivers --->
Block devices --->
<*> Loopback device support
<*> RAM disk support
(4096) Default RAM disk size
[*] Initial RAM disk (initrd) support
Graphics support --->
[*] Support for frame buffer devices
[*] VESA VGA graphics support
Console display driver support --->
[*] Video mode selection support
<*> Framebuffer Console support
Bootsplash configuration --->
[*] Bootup splash screen

Now compile the Kernel as always.


3) Install Bootsplash

now install the package or the Sources for your distribution, for Slackware use:
# installpkg bootsplash-3.1-i486-2.tgz
Open now /etc/rc.d/rc.local and add the line
. /etc/rc.d/rc.bootsplash
4) Apply Theme

Download first a Theme e.g. of www.bootsplash.de
After this copy it in your Bootsplash/Themes directory:
# cd /etc/bootsplash/themes/
# tar -xjvf /dir/Theme-Themename.tar.bz2
# rm current
# ln -sf Themename current

Now you need to create /boot/initrd-2.6.x,
you must decide for a resolution:
# splash -s -f /etc/bootsplash/themes/current/config/bootsplash-800x600.cfg > /boot/initrd-2.6.x
# splash -s -f /etc/bootsplash/themes/current/config/bootsplash-1024x768.cfg > /boot/initrd-2.6.x
# splash -s -f /etc/bootsplash/themes/current/config/bootsplash-1280x1024.cfg > /boot/initrd-2.6.x
# splash -s -f /etc/bootsplash/themes/current/config/bootsplash-1400x1050.cfg > /boot/initrd-2.6.x

5. Configure Lilo or Grub

For Lilo edit yours /etc/lilo.conf file that it corresponds to the specified example:
label="Linux"
root = "/dev/hdb1"
image="/boot/vmlinuz-2.6.7"
initrd="/boot/initrd-2.6.7"
append="splash=silent"
read-only
vga="791"

For Grub the same:
title Linux
root (hd1,0)
kernel (hd1,0)/boot/vmlinuz-2.6.7 append="splash=silent" vga=791 root=/dev/hdb1
initrd /boot/initrd-2.6.7

Now restart Lilo or Grub, and type:
shutdown -r now
and and be lucky with your new bootsplash



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
Ko je trenutno na forumu
 

Ukupno su 844 korisnika na forumu :: 10 registrovanih, 2 sakrivenih i 832 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: DPera, dule10savic, Kriglord, LUDI, Motocar, radionica1, ruger357, saputnik plavetnila, VJ, Živković