首先在你的 apt 源里加上这两行:
CODE: deb http://debian.bootsplash.de unstable main deb-src http://debian.bootsplash.de unstable main |
然后用 apt-get update 更新一下软件列表。
接下来,先安装 bootsplash 的内核补丁
CODE: apt-get install kernel-patch-bootsplash |
然后重新编译内核:
CODE: apt-get install debhelper modutils kernel-package libncurses5-dev apt-get install linux-source-2.6.12 apt-get install fakeroot vi /etc/kernel-pkg.conf # 输入我的名字和邮件地址 cd /usr/src # 创建目录 tar -xjvf linux-source-2.6.12.tar.bz2 cd linux-source-2.6.12 # 如果这是你的内核源码 ../kernel-patches/all/apply/bootsplash # 给内核打补丁 cp /boot/config-2.6.12-1-686 .config # 将当前配置设定为默认配置 make menuconfig # 按自己的喜好来定制 make-kpkg clean # 必须执行这步 fakeroot make-kpkg --append_to_version -686 --initrd --revision=2.6.12-10 --stem linux kernel_image modules_image cd .. dpkg -i *.deb |
注意:在上面定制内核选项时,要选择下列项目:
CODE: 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 |
新内核编译并安装以后,就已经支持 BootSplash,下面就可以安装 BootSplash 的包和主题:
CODE: apt-get install bootsplash bootsplash-theme-debian sysv-rc-bootsplash |
注意:安装 sysv-rc-bootsplash 包时,要确定你的 sysv-rc 的包 2.86.ds1-1(stable) 版本的,如果是 testing 版本安装可能会失败。
| 论坛热门帖子: | [lch203] 写得蛮好的linux学习笔记(10-21) [黑马制造] 学习java的30个目标(10-19) [笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19) [udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18) [沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18) |
| TAG标签: | 安装 内核 kernel 编译 support root CODE: 2.6.12-686 |
注册
个人空间
