首先将仓库克隆下来
git clone https://github.com/mgy-qyqf/HONOR-HUNTER-grub-theme.git
将“HONOR”文件夹复制到/boot/grub2/themes
或 /boot/grub/themes
下
复制zh_CN.mo
到/boot/efi/EFI/"你操作系统的名字"/locale
下
修改/etc/grub
将GRUB_TERMINAL_OUTPUT="console"
注释掉(在前面添加#
修改为:#GRUB_TERMINAL_OUTPUT="console"
)
添加GRUB_THEME="/boot/grub2/themes/HONOR/theme.txt"
或
GRUB_THEME="/boot/grub/themes/HONOR/theme.txt"
(与你放置HONOR文件夹的位置有关)
修改GRUB_TIMEOUT=0
为GRUB_TIMEOUT=5
或任何大于等于0的数
执行
sudo grub2-mkconfig -o /boot/efi/EFI/"你操作系统的名字,与上面一致"/grub.cfg
复制zh_CN.mo
到/boot/grub/locale
或/boot/grub2/locale
下
修改/etc/grub
将GRUB_TERMINAL_OUTPUT="console"
注释掉(在前面添加#
修改为:#GRUB_TERMINAL_OUTPUT="console"
)
添加GRUB_THEME="/boot/grub2/themes/HONOR/theme.txt"
或
GRUB_THEME="/boot/grub/themes/HONOR/theme.txt"
(与你放置HONOR文件夹的位置有关)
修改GRUB_TIMEOUT=0
为GRUB_TIMEOUT=5
或任何大于等于0的数
执行
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
或
sudo grub2-mkconfig -o /boot/grub/grub.cfg
(与你上面放置HONOR文件夹的位置有关)