|
|
发表于 2007-1-24 13:00:11
|
显示全部楼层
Post by Garylee
几前天看到的。。。
1. 先备份(请养成这个好习惯)
$ cp /boot/message ~/message.old
2. 建立一个目录,例如cpio
$ mkdir cpio
3. 复制一份来准备修改
$ cd cpio
$ cp /boot/message .
4.开始了
$ cpio -idv < message
5. 删除message
$ rm message
6. 修改 gfxboot.cfg
# penguin theme likelihood in percent; -1 = auto
penguin=100
将原先预设的-1改成100 or 0(100是永远用企鹅画面,0是用远不用企鹅画面)
7. 重新生成message
$ ls | cpio -ov > ../message
请注意不要有任何错误讯息
8. 将生成的档案复制回原位
$ su
Password:
# cp ../message /boot/message
9. 大功告成了
我的修改不成功的。到了 "cp /boot/message"这一步的时候就不行了,提示
linux-sir:~/cpio # cp /boot/message
cp: missing destination file operand after `/boot/message'
Try `cp --help' for more information.
下一步如何去做? |
|