Code maturity level options ---> [*] Prompt for development and/or incomplete code/drivers Processor type and features ---> [*] MTRR (Memory Type Range Register) support Block Devices -> [*] Loopback device support [*] RAM disk support (4096) Default RAM disk size [*] Initial RAM disk (initrd) support Console Drivers -> [*] VGA text console [*] Video mode selection support Console Drivers -> Frame-buffer support -> [*] Support for frame buffer devices [*] VESA VGA graphics console [*] Use splash screen instead of boot logo
对于2.6.x内核: 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
第四步
a> make mkproper 清除旧的设定 b> make dep 产生依赖 c> make bzImage 编译内核 d> make modules modules_install 编译模块 e> cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage-2.4.20
第五步 安装bootsplash的工具软件和主题图片
# tar jxvf /patch/bootsplash-3.0.7.tar.bz2 # tar jxvf /patch/Theme-NewLinux.tar.bz2 # cd bootsplash-3.0.7/Utilities # make all # cp fbmngplay fbresolution fbtruetype splash /sbin # cd ../../ 下面这几步必须要做,不然在用splash命令时就会出现类似下面的错误:splash:/etc/bootsplash/themes/Linux/images/silent-800x600.jpg不存在。这个其实是由于主题的配置文件中做了绝对路径设定。
[/code:1:7b9eb010fc] [code:1:7b9eb010fc] # This is the configuration file for the 800x600 bootsplash picture. # # This file is necessary to specify the coordinates of the text box on # the splash screen. # # Comments are welcome by oliver@dediziert.org
# config file version version=3
# should the picture be displayed? state=1
# fgcolor is the text forground color. # bgcolor is the text background (i.e. transparent) color. fgcolor=7 bgcolor=0
# (tx, ty) are the (x, y) coordinates of the text window in pixels. # tw/th is the width/height of the text window in pixels. tx=0 ty=0 tw=800 th=600
####predefine area for the text info text_x=260 text_y=545 text_size=20 text_color=0xeef4ff ####
# name of the picture file (full path recommended) jpeg=/etc/bootsplash/themes/NewLinux/images/bootsplash-800x600.jpg silentjpeg=/etc/bootsplash/themes/NewLinux/images/silent-800x600.jpg
http://www.bootsplash.org/config.html # name of the picture file (full path recommended) jpeg=/etc/bootsplash/themes/NewLinux/images/bootsplash-800x600.jpg silentjpeg=/etc/bootsplash/themes/NewLinux/images/silent-800x600.jpg