个人工具

显示GRUBSplash图像

来自Ubuntu中文

跳转至: 导航, 搜索

如何在系统启动时显示 GRUB menu 的 Splash Image?

  • 例如 假设 hd0,1 是目前 Ubuntu 的启动硬盘分区
wget -c http://frankandjacq.com/ubuntuguide/ubuntu.xpm.gz
chmod 644 ubuntu.xpm.gz
sudo mkdir /boot/grub/images
sudo cp ubuntu.xpm.gz /boot/grub/images/
sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_backup
sudo gedit /boot/grub/menu.lst
  • 搜寻下面这一段文字
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
...
  • 将下面几行文字加到其后
splashimage (hd0,1)/boot/grub/images/ubuntu.xpm.gz
  • 保存编辑过的文件 (范例)

支持所有版本类