Description 说明
此教程参照这位大佬
Make sure you are using grub2 in your OS for booting.
Instruction 步骤
- Clone or Download the repo here.
从这位大佬的仓库clone或下载 - Extract the your favorite theme in
themes
folder, here let's sayHuouo
.
从themes
文件夹中解压你最喜欢的主题, 这里用霍霍Huohuo
举例。 - Copy
Huohuo
into grub themes directory:
复制Huohuo
文件夹到grub主题目录:
sudo cp -r Guinaifen /usr/share/grub/themes
- Edit the grub config file:
修改grub配置文件(用你喜欢的编辑器):
sudo vim /etc/default/grub
- Edit the grub config file
修改grub配置文件
a. First comment the lineGRUB_TERMINAL_OUTPUT="console"
by adding#
at the first position.
首先注释调GRUB_TERMINAL_OUTPUT="console"
这一栏,在最前面加#
.
b. Add the theme to the bottom of the text file:
在最后一行添加:GRUB_THEME="/usr/share/grub/themes/Guinaifen/theme.txt"
- Update grub
更新grub(注意:我这里fedora的引导放在了/boot/efi/EFI/fedora/grub.cfg
, 请检查你自己的grub config 位置)
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
7.Outlook
效果图
Comments NOTHING