正確步驟如下:
請先參考 Changing the GRUB background -SUSE Wiki
1. 未免出錯,請先備份
$ cp /boot/message ~/message.old2. 建立一個新的目錄,例如cpio
$ mkdir cpio3. 複製一份message檔來準備修改
$ cd cpio$ cp /boot/message .
4.開始個別列檔
$ cpio -idv <>$ rm message6. 修改 gfxboot.cfg
$ gedit gfxboot.cfg找到以下這一行
# penguin theme likelihood in percent; -1 = auto
penguin=100
將原先預設的-1或者0改成你喜歡的機率大小。(100則固定會出現)
7. 重新生成message
$ ls | cpio -ov > ../message請注意不要有任何錯誤訊息
8. 將生成的檔案複製回原位
$ sudo cp ../message /boot/messagePassword:
大功告成了
重新開機看看吧!
ps.若要反覆編輯時,我們建立的cpio目錄裡面的資料要移除乾淨(包含隱藏檔),不然會有error message.
本文參考自黑眼珠的文章 http://blog.xuite.net/swyear/blackeyes/13648915#
沒有留言:
張貼留言