Skip to content

jidro/grub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GRUB Themes

中文说明:

该仓库为各发行版之中提取出来的GRUB主题。

提示:
starfieldGRUB的图形化菜单的默认主题;
blissBliss OS启动时的GRUB主题;
deepindeepin V20启动时的GRUB 主题;
manjaro-liveManjaro系统安装启动时的GRUB主题;
ukylin优麒麟 20.04 LTS启动时的GRUB主题。

如何使用

  • ① 将喜欢的GRUB主题复制到/boot/grub/themes/目录。

    themes 目录不存在,则使用如下命令创建该目录:

    $ sudo mkdir -pv /boot/grub/themes

    并给 themes 目录分配适当的权限:

    $ sudo chown $USER /boot/grub/themes/
  • ② 在/etc/default/grub文件中找到GRUB_THEME=
    并在其后添加喜欢的主题的theme.txt
    且需取消GRUB_GFXMODE=注释,以输入背景图像分辨率,
    具体修改如下所示:

      [...]
      GRUB_THEME=/boot/grub/themes/<主题名称>/theme.txt
      GRUB_GFXMODE=<分辨率>
      [...]

    注意:
    以防万一,更改前请备份GRUB文件。

  • ③ 使用如下命令更新GRUB

    # Debian及其发行版
    $ sudo update-grub
    # 或者
    $ sudo update-grub2
    
    # Red Hat/CentOS/Fedora及其发行版
    $ sudo grub-mkconfig -o /boot/grub/grub.cfg
    # 或者
    $ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
    
    # ArchLinux及其发行版
    $ sudo grub-mkconfig -o /boot/grub/grub.cfg
  • ④ 若删除手动安装的GRUB主题,
    则需删除复制到/boot/grub/themes/目录的文件夹,
    注释或删除/etc/default/grub文件中GRUB_THEMEGRUB_GFXMODE参数
    并更新GRUB即可,
    即原路返还。

主题推荐

English description:

This repository is the GRUB theme extracted from each distribution.

Hint:
starfield is the default theme for GRUB's graphical menu;
bliss is theGRUBtheme of Bliss OS startup
deep is the GRUB theme whendeep V20starts
manjaro live is theGRUBtheme when theManjarosystem installation starts
ukylin is the GRUB theme of Ukylin 20.04 LTS startup.

How to use

  • ① Copy your favorite GRUB theme to the /boot/grub/themes/ directory.

If the themes directory does not exist, use the following command to create it:

$ sudo mkdir -pv /boot/grub/themes

Assign appropriate permissions to the themes directory:

$ sudo chown $USER /boot/grub/themes/
  • ② Find GRUB_THEME= in the /etc/default/grub file,
    and add the theme of your favorite theme Txt ,
    and cancel GRUB_ GFXMODE= Comment to input the background image resolution.
    The specific modifications are as follows:

      [...]
      GRUB_THEME=/boot/grub/themes/<Topic Name>/theme.txt
      GRUB_GFXMODE=<resolving power>
      [...]
  • ③ Use the following command to update GRUB:

# Debian and its distribution
$ sudo update-grub
# Or
$ sudo update-grub2

# Red Hat/CentOS/Fedora and its distribution
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
# Or
$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg

# ArchLinux and its distribution
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
  • ④ If you delete the manually installed GRUB theme,
    you need to delete the folder copied to the /boot/grub/themes/ directory,
    comment or delete the GRUB_THEME in the /etc/default/grub file and GRUB_ GFXMODE parameter
    and update GRUB.
    means original return.

Topic recommendation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published