用bootsplash制作和修改Linux全图像启动界面.doc

用bootsplash制作和修改Linux全图像启动界面.doc

  1. 1、本文档共12页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
用bootsplash制作和修改Linux全图像启动界面

用bootsplash制作和修改Linux全图像启动界面 #1 用bootsplash制作和修改Linux全图像启动界面 只是想更改开机画面的读者直接跳到第5步阅读。 1. 下载所需内核补丁,工具和主题: http://www.bootsplash.de 2. 给内核打补丁,并加上所需要的内核参数。 cd /usr/src/linux make mrproper patch -p1 make menuconfig 对于2.6.x内核: CODE: [Copy to clipboard] -------------------------------------------------------------------------------- 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 然后是编译内核了: make make modules_install make install 再把生成的内核拷贝到/boot下: cp /usr/src/linux/arch/i386/boot/bzImage /boot cp /usr/src/linux/System.map /boot/System.map-2.6.14 3. 安装bootsplash-3.0.7里面的工具 解压bootsplash-3.0.7.tgz,并进入bootsplash-3.0.7/Utilities目录。执行命令: make cp fbresolution fbmngplay fbtruetype splash /sbin/ 4. 建立目录/etc/bootsplash/themes,解压Theme-Linux.tar.bz2到这个目录下,目前的目录结构应该是:/etc/bootsplash/themes/Linux ln -s Linux current 5. 使用splash程式: /sbin/splash -s -f /etc/bootsplash/themes/Linux/config/bootsplash-1024x768.cfg /boot/myinitrd.img 这时候,就需要修改刚才的menu.lst或gurb.conf文件了,修改参照如下: title Magic Linux root (hd0,6) kernel /boot/lfs-bootsplash root=/dev/hda7 ro vga=791 splash=silent initrd /boot/myinitrd.img 目前重启,就能看到可爱的小企鹅了,按F2,会变成verbose模式。 6. 加个进度条 这一步需要修改启动脚本。打开文件/etc/rc.d/init.d,在最后加入: 代码: CODE: [Copy to clipboard] -------------------------------------------------------------------------------- progressbar() { ? ? if [ $# != 1 ] ? ?? ?? ?? ???then ? ?? ?? ?? ?? ? echo Usage: progressbar {progress} ? ?? ?? ?? ?? ?

文档评论(0)

shuwkb + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档