使用 bootsplash 配置内核支持图形化启动界面。网站http://www.bootsplash.org/有详细介绍。为了支持图形化启动界面,我们需为内核打补丁。到http://www.bootsplash.de/files/下载与内核对应的补丁文件bootsplash-3.1.6-2.6.8.diff。
$ cd ~/
$ mkdir bootsplash
$ cd bootsplash
$ wget http://www.bootsplash.de/files/bootsplash-3.1.6-2.6.8.diff
$ sudo cp bootsplash-3.1.6-2.6.8.diff /usr/src
$ cd /usr/src/linux
$ sudo patch –p1 < ../bootsplash-3.1.6-2.6.8.diff |
接着配置内核,选中以下选项,以下所有选项不能以内核模块形式编译,都要直接编译进内核:
Device Drivers --->
Block devices --->
<*> RAM disk support
(4096) Default RAM disk size (kbytes) (NEW)
[*] Initial RAM disk (initrd) support
Graphics support --->
<*> VGA 16-color graphics support
[*] VESA VGA graphics support
Console display driver support --->
<*> Framebuffer Console support
Logo configuration --->
[ ] Bootup logo #该选项一定不要选中
Bootsplash configuration ---> #该选项在打了内核补丁后才会出现。
[*] Bootup splash Screen
File systems --->
Miscellaneous filesystems --->
<*> Compressed ROM file system support |
配置内核后要重新编译内核
$ sudo make
$ sudo cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage-bootsplash
l 用apt安装bootsplash |
接下来要安装bootsplash工具。把下面这句加到/etc/apt/source.list里。