定制 grub splash image

Posted 11 months, 1 week ago at 11:32 am. 0 comments

ad 468x60

安装 imagemagick,并且打包 jpg(640*480 16 色以下) 为 xpm.gz 格式。

sudo aptitude install imagemagick
convert ubuntugrub.jpg ubuntugrub.xpm
gzip ubuntugrub.xpm

拷贝

sudo mkdir /boot/grub
sudo mv ubuntugrub.xpm.gz /boot/grub/

在 menu.lst 的前面加入

splashimage=(hd0,0)/boot/grub/ubuntugrub.xpm.gz

最好是命名为 splash.xpm.gz,通过符号连接来指定图片

cd /boot/grub
sudo ln -s my_image.xpm.gz splash.xpm.gz

更新 grub

sudo update-grub.

安装官方 grub splashimage 包

这样就不用自己做图了。在 /boot/grub/splashimages 目录有一些做好的 .xpm.gz 文件

sudo apt-get install grub-splashimages

建立符号链接

$cd /boot/grub
$sudo ln -s splashimages/debsplash.xpm.gz splash.xpm.gz
$sudo update-grub

Popularity: 19% [?]

Tags: , , , ,
ad 468x60

No Replies

Feel free to leave a reply using the form below!


Leave a Reply