GRUB 背景( Splash )只不过是一张图像,在 Linux 系统启动的时候显示为背景。如果你觉得默认的空白屏相当无趣,同时又想按照自己的意愿来修改它,那么赶紧阅读下方的每个步骤吧。 -- MANMOHAN MIRKAR
本文导航
-开始前需要哪些准备工作 …… 11%
-使用 GUI 修改 Grub 的 Splash 背景 …… 13%
-使用命令行修改 Grub 的 Splash 背景 …… 62%
编译自: https://www.howtoforge.com/tutorial/how-to-change-the-linux-splash-screen/
作者: MANMOHAN MIRKAR
译者: GHLandy
# grub.conf
generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means
that # all kernel and initrd paths are relative to /boot/, eg. # root
(hd0,0) # kernel /vmlinuz-version ro root=/dev/sda2 # initrd
/initrd-[generic-]version.img #boot=/dev/sda default=0 timeout=5
splashimage=(hd0,0)/grub/UxTechno.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux (2.6.32-220.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-220.el6.x86_64 ro root=UUID=1d8c5075-1a5b-4fdc-ba15-0458b65c6012 rd_NO_LUKS rd_NO_LVM.UTF-8 rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb
crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM initrd
/initramfs-2.6.32-220.el6.x86_64.img
# rpm -qa|grep -i ImageMagick
# yum install ImageMagick
# rpm -qa|grep -i ImageMagick
ImageMagick-6.5.4.7-5.el6.x86_64
# convert -depth 8 -colors 14 -resize 640x480 uxtechno_logo.jpg uxtechno_logo.xpm
# gzip uxtechno_logo.xpm
# cp uxtechno_logo.xpm.gz /boot/grub/
splashimage=(hd0,0)/grub/uxtechno_logo.xpm
欢迎光临 51学通信论坛2017新版 (http://bbs.51xuetongxin.com/) | Powered by Discuz! X3 |