0.cd /boot/grub
1.yum install ImageMagick
2.convert -resize 640x480! -colors 14 abc.png splash.xpm
3. more splash.xpm
static char *10[] = {
"640 480 14 1"
4.gzip -9 splash.xpm
本文介绍如何通过一系列命令更改GRUB启动菜单的背景图片。首先切换到grub目录, 安装ImageMagick用于图片处理, 然后使用convert命令调整图片大小并转换为splash.xpm文件, 最后查看该文件并进行gzip压缩。
0.cd /boot/grub
1.yum install ImageMagick
2.convert -resize 640x480! -colors 14 abc.png splash.xpm
3. more splash.xpm
static char *10[] = {
"640 480 14 1"
4.gzip -9 splash.xpm
761

被折叠的 条评论
为什么被折叠?