2009年8月29日 星期六

ubuntu9.04美化GRUB2開機畫面

用synaptic安裝grub2,再把grub解除安裝,重開機可能會grub開機錯誤,拿出live cd重建grub後,grub2就會正常了,參考來源:http://www.xxlinux.com/linux/article/accidence/install/20081231/14759.html

grub2支援背景圖片,中文開機選單,如下:


sudo chmod u+w
/boot/grub/grub.cfg
sudo vi
/boot/grub/grub.cfg
改完
sudo chmod u-w /boot/grub/grub.cfg

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd0,4)
search --fs-uuid --set 391ed808-6c1e-4617-9a4e-7efbdb0eb3de
if font /usr/share/grub/unicode.pff ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe

insmod jpeg

terminal gfxterm
background_image /boot/grub/xxxx.jpeg
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
##set menu_color_normal=cyan/blue
##set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
set root=(hd0,4)
search --fs-uuid --set 391ed808-6c1e-4617-9a4e-7efbdb0eb3de
....................

沒有留言: