Skip to main content Link Menu Expand (external link) Document Search Copy Copied

grub2-theme-preview

探索

執行

pamac search grub2-theme-preview -a

顯示

grub2-theme-preview                                                2.3.0-2  AUR
    Preview a full GRUB 2.x theme (or just a background image)
    using KVM/QEMU

資訊

執行

pamac info grub2-theme-preview -a

顯示

Name                  : grub2-theme-preview
Version               : 2.3.0-2
Description           : Preview a full GRUB 2.x theme (or just a background
                        image) using KVM/QEMU
URL                   : https://github.com/hartwork/grub2-theme-preview
Licenses              : GPL
Repository            : AUR
Depends On            : grub qemu mtools python python-setuptools libisoburn
                        edk2-ovmf
Make Dependencies     : git
Maintainer            : American_Jesus
First Submitted       : 12/31/2016
Last Modified         : 03/17/2021
Votes                 : 14

安裝

執行

pamac build grub2-theme-preview

執行範例

假設已經安裝「Dracula」這個「GRUB佈景主題」,

放在「/boot/grub/themes/dracula」這個路徑。

執行下面指令來預覽

grub2-theme-preview /boot/grub/themes/dracula

額外一提

在「動手學 grub」這篇文章

看到一個測試指令

qemu -usb /dev/sdz

假設「grub」安裝在「/dev/sdb」,

我在「Manjaro」環境,使用「man qemu」查詢的結果,

則是要改執行下面指令

sudo qemu-system-x86_64 /dev/sdb