搜尋此網誌

2013年8月15日 星期四

Debian 7.1下改grub2的開機桌布

上課打混用...


0.先裝套件
#apt-get  install grub2-splashimages
#ls  -l /usr/share/images/grub

1.修改設定
#vi /etc/default/grub

加入
GRUB_BACKGROUND="/usr/share/images/grub/Lake_mapourika_NZ.tga"
要確定下面這行有被註解
GRUB_TERMINAL=console


2.這個順便修改一下,加入紅色那行,約在132之後
# vi /etc/grub.d/00_header
if loadfont `make_system_path_relative_to_its_root "${GRUB_FONT_PATH}"` ; then
  set gfxmode=${GRUB_GFXMODE}
  set gfxpayload=keep
  load_video
  insmod gfxterm

3.更該配色...(不過好像改不太出來...)
#vi /etc/grub.d/05_debian_theme
set menu_color_normal=green/yellow
set menu_color_highlight=yellow/red


4.更新grub2,再重新開機...至少圖片賞心悅目多了...
#update-grub



參考網站:
https://wiki.debian.org/Grub2
http://forum.ubuntu.org.cn/viewtopic.php?t=257189
http://wiki.ubuntu-tw.org/index.php?title=GRUB2%E4%B8%AD%E6%96%87%E6%8C%87%E5%8D%97%E7%AC%AC%E4%BA%8C%E7%89%88%28%E4%B8%8A%EF%BC%89

沒有留言:

張貼留言