如何给Debian Linux添加启动logo (Boot Splash)

1.添加必要的Source List
用你自己喜欢的文本编辑器添加如下两行到 /etc/apt/sources.list

 
deb http://www.bootsplash.de/files/debian unstable main
deb-src http://www.bootsplash.de/files/debian unstable main

2.更新并安装usplash包

 $ su
 # apt-get update && apt-get install usplash usplash-theme-debian
 # mkdir /var/lib/usplash
 # mkfifo /var/lib/usplash/usplash_fifo

(如果initrd.img文件已经存在)
# dpkg-reconfigure linux-image-$(uname -r)
(不存在的话就用下面的命令)
# mkinitramfs -k -o /boot/initrd.img-$(uname -r)

3.用文本编辑器修改/boot/grub/menu.lst

  Edit your menu.lst

    

  

  

    

  

 
nano /boot/grub/menu.lst


 
Here's mine.  The BOLD text was added.
title    Debian GNU/Linux, kernel 2.6.20-rc1-rt6-k8
root    (hd0,1)
kernel    /boot/vmlinuz-2.6.20-rc1-rt6-k8 root=/dev/sda2 ro vga=0x31a quiet splash
initrd    /boot/initrd.img-2.6.20-rc1-rt6-k8
savedefault
 
*NOTE*  You will also need a vga=XXX on the kernel line to start the framebuffer.  
Use one of the following:
vga=785 – 640×480
vga=788 – 800×600
vga=791 – 1024×768
vga=794 – 1280×1024  

Splashy & Usplash both have a behavior that makes them less than desireable (to me anyway) and that is that they both go away before your login manager gets started so you have a splash screen but only up until a point, then it drops out, you're back to text mode for a few seconds and then your login manager starts. It looks totally ridiculous IMHO.
 
Perhaps a former Ubuntuer can answer me this question: Is usplash behavior the same on Ubuntu or does the usplash continue until your log in manager starts? Ideally a splash screen would not go away until your login manager is started. It should be seamless or it just looks unprofessional.
 
I still like bootsplash far better.  I know I know, splashy & usplash are in userspace while bootsplash requires a kernel patch and the jpg decoder runs in kernelspace which is less than ideal but it works and looks sooo much better. Additionally you still have a background image that the kernel messages scroll against even if you cancel the splash image.
 
Now the debian-edu-artwork-usplash image is…well….less than attractive.  I found some of the above info here which also includes documentation on how to make your own usplash images. I don't have an artistic bone in my body so I won't be doing any of that but perhaps someone else has the time/ambition to do so.
 
It would be nice to get some feedback on this since I mucked around for some time before getting it to work. Hopefully I did not forget any steps. Rolling Eyes

发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Canonical URL by SEO No Duplicate WordPress Plugin