- 1、本文档共12页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
用bootsplash制作和修改Linux全图像启动界面
用bootsplash制作和修改Linux全图像启动界面#1 用bootsplash制作和修改Linux全图像启动界面只是想更改开机画面的读者直接跳到第5步阅读。1. 下载所需内核补丁,工具和主题:http://www.bootsplash.de2. 给内核打补丁,并加上所需要的内核参数。cd /usr/src/linuxmake mrproperpatch -p1make 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 然后是编译内核了:makemake modules_install make install再把生成的内核拷贝到/boot下:cp /usr/src/linux/arch/i386/boot/bzImage /bootcp /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目录。执行命令:makecp fbresolution fbmngplay fbtruetype splash /sbin/4. 建立目录/etc/bootsplash/themes,解压Theme-Linux.tar.bz2到这个目录下,目前的目录结构应该是:/etc/bootsplash/themes/Linuxln -s Linux current5. 使用splash程式:/sbin/splash -s -f /etc/bootsplash/themes/Linux/config/bootsplash-1024x768.cfg /boot/myinitrd.img这时候,就需要修改刚才的menu.lst或gurb.conf文件了,修改参照如下:title Magic Linuxroot (hd0,6)kernel /boot/lfs-bootsplash root=/dev/hda7 ro vga=791 splash=silentinitrd /boot/myinitrd.img目前重启,就能看到可爱的小企鹅了,按F2,会变成verbose模式。6. 加个进度条这一步需要修改启动脚本。打开文件/etc/rc.d/init.d,在最后加入:代码:CODE: [Copy to clipboard]--------------------------------------------------------------------------------progressbar(){? ? if [ $# != 1 ]? ?? ?? ?? ???then? ?? ?? ?? ?? ? echo Usage: progressbar {progress}? ?? ?? ?? ?? ?
您可能关注的文档
- 生物专业英语 第十一章.ppt
- 生物专题四1.ppt
- 生物专题一2.ppt
- 生殖细胞的产生.ppt
- 生物化学 第八章 酶学概论.ppt
- 生物专题四2.ppt
- 生物催化剂的修饰与改造.ppt
- 生物信息学讲义,第六章.ppt
- 生物信息学两两序列比对.ppt
- 生物化学 第14章 基因重组和基因工程(临本).ppt
- 人教新目标版英语九年级 中考模拟学情评估(三)(含答案).pdf
- 上海市风华中学2024-2025学年高三上学期9月阶段测试英语试题(无答案).pdf
- 统编版2024-2025学年语文六年级上册期末检测卷(有答案).pdf
- 人教新目标版英语九年级第二学期全册学情评估(含答案).pdf
- 内蒙古自治区巴彦淖尔市杭锦后旗第六中学2024-2025学年八年级上学期阶段性测试历史试题(解析版).pdf
- 湖南省娄底市涟源市部分学校2024-2025学年高一上学期9月月考语文试题 Word版无答案.pdf
- 湖南省衡阳市常宁市2023-2024学年七年级上学期期末考试英语试题.pdf
- 湖南省娄底市涟源市部分学校2024-2025学年高一上学期9月月考语文试题 Word版含解析.pdf
- 江苏省泰州市姜堰区城西实验学校2024-2025学年部编版九年级上学期月考历史试卷(原卷版).pdf
- 内蒙古伊金霍洛旗2022-2023学年七年级上学期期末考试英语试题.pdf
最近下载
- 第十一单元第二十一节德彪西教学课件-2021-2022学年高中音乐人音版必修音乐鉴赏.pptx
- 人教中图版(2019)信息技术必修2 1.2 认识信息社会 教案(表格式).docx
- 高性能低表面处理环氧涂料的制备和性能研究.docx VIP
- 永临结合及转换方案-投标200页简易版.docx
- 【语文】人教部编版语文八年级上册:古诗文理解性默写(完整版).pdf VIP
- 基本乐理音程介绍PPT课件.pptx
- GB_T27065-2015_合格评定产品、过程和服务认证机构要求.doc
- 环氧改性有机硅树脂低表面能涂料的研制.doc VIP
- 0~3岁婴幼儿心理发展与教育(高职)全套教学课件.pptx
- 语文一年级上册核心素养教案全册.pdf VIP
文档评论(0)