Difference between revisions of "Bootsplash (Русский)"

From ArchWiki
Jump to: navigation, search
(New page: Category:Русский Это документ outlines the процесс получения a graphical bootup screen by applying bootsplash patches to the Linux kernel. Hopefully ...)
 
 
(16 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Русский]]
+
#REDIRECT [[List of applications/Other (Русский)#Графические заставки при загрузке системы (bootsplash)]]
 
 
Это документ outlines the процесс получения a graphical bootup screen by applying bootsplash patches to the Linux kernel.
 
Hopefully с этим guidance and some intelligent RTFM'ing you'll получите красивую графическую boot going in a short amount of time.
 
Если вы get stuck, read what the console is saying. It will usually tell you exactly what the problem is.
 
 
 
== Патчим ядро ==
 
The first step in setting up a nice graphical bootsplash is to patch the Linux kernel with a bootsplash patch.
 
You need to download the Linux sources and the appropriate patch for your kernel from
 
http://www.kernel.org and ftp://ftp.bootsplash.org/pub/bootsplash/kernel/ like so:
 
 
 
<pre>
 
# cd /usr/src
 
# wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.21.5.tar.bz2
 
# tar jxvf linux-2.6.21.5.tar.bz2
 
# ln -s linux-2.6.21.5 linux
 
# cd linux
 
# wget ftp://ftp.bootsplash.org/pub/bootsplash/kernel/bootsplash-3.1.6-2.6.21.diff.gz
 
# gunzip bootsplash-3.1.6-2.6.21.diff.gz
 
# patch -p1 < bootsplash-3.1.6-2.6.21.diff
 
</pre>
 
 
 
 
 
Assuming вы знаете how to tune relevant kernel options, the ones specific to bootsplash are <code>FRAMEBUFFER_CONSOLE</code> and <code>FB_VESA</code>.
 
They are found in the kernel config menu at:
 
 
 
<code>Device Drivers ---> Graphics support ---> Console display driver support ---> Framebuffer Console support</code>
 
 
 
You will also need to activate ramdisk support in order for the kernel to show the nice splash before everything else:
 
 
 
<code>Device Drivers --> Block devices --> RAM disk support</code>
 
 
 
Now compile your kernel:
 
<pre>
 
# make -j2
 
# make modules_install
 
# make install
 
</pre>
 
 
 
==Использование Splash Utility==
 
 
 
Download the latest splash utilities and create a ramdisk image with your chosen theme:
 
 
 
<pre>
 
# wget ftp://ftp.bootsplash.org/pub/bootsplash/rpm-sources/bootsplash/bootsplash-3.1.tar.bz2
 
# tar jxvf bootsplash-3.1.tar.bz2
 
# cd bootsplash-3.1/Utilities
 
# make splash
 
# mv splash /usr/local/bin
 
# /usr/local/bin/splash -s -f /etc/bootsplash/themes/default/1280x800.cfg > /boot/initrd.splash
 
</pre>
 
 
 
Get more themes at http://bootsplash.org
 
 
 
==Настройка GRUB==
 
 
 
Edit [[GRUB]] to point to your new kernel, set a nice resolution, and load your ramdisk:
 
 
 
<pre>
 
title  Arch Linux
 
root  (hd0,0)
 
kernel /boot/vmlinuz root=/dev/sda1 video=vesafb:ywrap,mtrr:3,1280x800-16 vga=868 splash=verbose
 
initrd /boot/initrd.splash
 
</pre>
 
 
 
----
 
Note 1: Bootsplash запускается только при 16 bit color depth.
 
----
 
Note 2: Если вы не нашли mode of your strange resolution, используйте tool <code>vbetest</code> from the lrmi package to find out.
 
----
 
Note 3: Строка прогресса в silent mode не работает без modified init scripts.
 
----
 

Latest revision as of 16:21, 30 April 2014