Ubuntu12.04简单几步grub2启动背景换图片,菜单变彩色。漂亮
发表于 : 2012-04-27 14:39
1)、先安装Ubuntu12.04四月26日发布的正式版。
2)、sudo apt-get install grub2-splashimages。安装grub2的背景图片套件。
3)、到/usr/share/images/grub下选定你自己喜欢的图片并把图片文件名记下来。等会好用到。
4)、sudo gedit /etc/grub.d/05_debian_theme,修改05_debian_theme
在# Next try to use the background image and colors specified by desktop-base.
if set_background_image "${WALLPAPER的位置插入背景图片的路径和名称如我的是=/usr/share/images/grub/B-1B_over_the_pacific_ocean.tga}" "${COLOR_NORMAL=在这插入购入grub启动时你喜欢的菜单颜色组合,我的是white/black}" "${COLOR_HIGHLIGHT=light-green/cyan}"; then
exit 0
fi
5)、运行下命令行:sudo grub-mkconfig -o /boot/grub/grub.cfg
6)、重启。看看效果吧,很漂亮的哦。
最后要讲下,其他版可以参考;在修改有关文件是最好备份下
要求版主将此帖置顶
2)、sudo apt-get install grub2-splashimages。安装grub2的背景图片套件。
3)、到/usr/share/images/grub下选定你自己喜欢的图片并把图片文件名记下来。等会好用到。
4)、sudo gedit /etc/grub.d/05_debian_theme,修改05_debian_theme
在# Next try to use the background image and colors specified by desktop-base.
if set_background_image "${WALLPAPER的位置插入背景图片的路径和名称如我的是=/usr/share/images/grub/B-1B_over_the_pacific_ocean.tga}" "${COLOR_NORMAL=在这插入购入grub启动时你喜欢的菜单颜色组合,我的是white/black}" "${COLOR_HIGHLIGHT=light-green/cyan}"; then
exit 0
fi
5)、运行下命令行:sudo grub-mkconfig -o /boot/grub/grub.cfg
6)、重启。看看效果吧,很漂亮的哦。
最后要讲下,其他版可以参考;在修改有关文件是最好备份下
要求版主将此帖置顶