Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1522880
  • 博文数量: 290
  • 博客积分: 3468
  • 博客等级: 中校
  • 技术积分: 3461
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-28 22:21
文章分类

全部博文(290)

文章存档

2016年(13)

2015年(3)

2014年(42)

2013年(67)

2012年(90)

2011年(75)

分类: LINUX

2011-05-30 20:23:56

系统环境:龙芯2F + debian 5

linux 系统启动时的黑底白字是否你让看的厌烦呢,在这里将给为你解除这一烦恼,用漂亮的图形和动态的进度条取而代之。好了,废话不多说了,下面进入正题。

# apt-get install splashy
# apt-get install splashy-themes
# update-initramfs -u -k all
或指定某一内核
# update-initramfs -u -k 2.6.27.6-loongson-2f  -t   
//确保存在initrd.img-2.6.27.6-loongson-2f 文件 若没有则需要编译内核

# reboot

进入PMON(这里以系统在硬盘的第二分为例)

Pmon> load /dev/fs/ext2@sata0b/boot/vmlinux-2.6.27.6-loongson-2f
Pmon> initrd  /dev/fs/ext2@sata0b/boot/initrd.img-2.6.27.6-loongson-2f
Pmon> g console=tty root=/dev/sda2 splash vga=789
MicrosoftInternetExplorer402DocumentNotSpecified7.8Normal0

或者(让它们自动引导):

Pmon> set al "/dev/fs/ext2@sata0b/boot/vmlinux-2.6.27.6-loongson-2f"

Pmon> set rd "/dev/fs/ext2@sata0b/boot/initrd.img-2.6.27.6-loongson-2f"

Pmon> set append  "console=tty root=/dev/sda2 splash vga=789"

Pmon> reboot



vga  的可选值:
depth—–640×480—­800×600—­1024×768—–1280×1024—–1600×1200
8bit————769————771————­773————–775—————–796
15bit———­784————787————­790————–793—————–797
16bit———­785————788————­791————–794—————–798
24bit———­786————789————­792————–795—————–799

如果你觉得这主题不够酷,想用自己的酷主题替代,没问题
1.将你的酷主题目录放到 /usr/share/splashy/themes 下面
2.把 /etc/splashy/config.xml 里的 default  改成你的酷主题的名字即可,当然别忘了更新 initrd.img

当然关于主题制作这方面的内容,去百度吧

阅读(1849) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~