Grub主题预览工具grub2-theme-preview
安装 grub2-theme-preview
由于工具是用 python 写的需要用 python 包管理器安装
$ pip install grub2-theme-preview
安装相关依赖
$ sudo apt install mtools qemu-system-x86 xorriso
预览主题
例如主题路径为/boot/grub/themes/basil/
$ grub2-theme-preview /boot/grub/themes/basil/
之后就可以调用 QEMU 预览主题了