Personal tools

Slackware 11 & bootsplash

From linux360

Jump to: navigation, search

Slackware 11 ( Kernel 2.6.17.13 & 2.6.17.13-smp ) & Bootsplash

Instalare bootsplash pentru Slackware ( kernel 2.6.x )

[~] Instalam bootsplash

$ cd /tmp

$ wget http://ftp.scarlet.be/pub/linuxpackages/Slackware-11.0/Console/bootsplash/bootsplash-11.0-i486-2kta.tgz

$ installpkg bootsplash-11.0-i486-2kta.tgz

$ rm -rf bootsplash-11.0-i486-2kta.tgz

in cazul in care folositi slapt-get puteti sa il instalati cu slapt-get :

$ slapt-get --install bootsplash

[~] Facem patch la kernel

$ cd /root

$ wget ftp://ftp.openbios.org/pub/bootsplash/kernel/bootsplash-3.1.6-2.6.15.diff

$ cd /usr/src/linux-2.6.x ( ex: cd /usr/src/linux-2.6.17.13/ )

$ patch -p1 < /root/bootsplash-3.1.6-2.6.15.diff

Acuma recompilam kernelu cu support de bootsplash.

$ make menuconfig


  1. Setarile din kernel trebuie facute in felu urmator :
 Under Device Drivers > Block Devices
 <*> RAM disk
 [*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
 Under Device Drivers > Graphics Support
 <*> Support for frame buffer devices
 [*] VESA VGA graphics support
 [*] Video mode selection support
 <*> Framebuffer Console support
 [*] Select compiled-in fonts
 [*] VGA 8x8 font
 [*] VGA 8x16 font
 [M]Logo configuration
 [ ] Bootup logo (Il dezactivam)
 [*] Bootup splash screen 
  1. Acestea sunt setarile care trebuie sa le faceti in make menuconfig

Salvam setarile facute si recompilam kernelu

$ make ; make install ; make modules_install

Dupa ce este recompilat kernelu:

$ /sbin/depmod -ae -F System.map

$ cp /arch/i386/boot/bzImage /boot/vmlinuz

[~] Acuma facem initrd pentru bootsplash

$ /sbin/splash -s -f /etc/bootsplash/themes/Linux/config/bootsplash-1024x768.cfg >> /boot/initrd.splash

( acesta este doar un exemplu, modificati comanda dupa themesu dumneavoastra )

[~] Acuma mai trebe editat in /etc/lilo.conf

$ pico /etc/lilo.conf (sau: vi /etc/lilo.conf )

la linia cu vga trebuie sa fie vga = 791

[~] Sunt 2 exemple de bootsplash primu este bootsplash normal iar al doilea bootsplash cu slient.

  1. Primu exemplu de bootsplash normal.
 vga = 791
 # Linux with bootsplash
 image = /boot/vmlinuz
 root = /dev/hda4
 label = Slacware
 initrd = /boot/initrd.Linux
 read-only
  1. Acesta este primu exemplu cu bootsplash normal.


  1. Al doilea exemplu de bootsplash cu slient.
 vga = 791
 # Linux with bootsplash
 image = /boot/vmlinuz
 root = /dev/hda4
 label = Slacware
 initrd = /boot/initrd.Linux
 append="splash=silent"
 read-only
 # End of linux with bootsplash
  1. Acesta este al doilea exemplu.

Dupa accea salvezi lilo.conf si ca sa fi sigur ca nu o sa ai nici o eroare la bootloader folosesti urmatoarea comanda

$ /sbin/lilo

  1. Exemplu
 root:~> /sbin/lilo
 Added Slacware *
 root:~>
  1. Acesta este exemplu de verificare pentru lilo.

Daca ati urmat pasi urmatori trebuie sa functioneze bootsplash fara nici o problema.