Skip to content

VC365/grub-qemu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

grub-qemu is a lightweight program for a full-fledged preview of grub. When I was using grub-emu on Fedora, it wasn't very good. I was looking for something lightweight while still having my system's grub theme loaded automatically, when the idea for this project came to my mind.

preview

  • QEMU has a problem with the 1366x768 resolution, which has been fixed in grub-qemu and the resolution is now 1360x768.

Feature

  • Automatically use theme and fonts.
  • Automatically set system resolution.
  • Suitable for Grub theme development.
  • Simple user interface.
  • Ability to manually import themes, grub, resolution,...

Installation

Requirements

  • qemu-system-x86
  • qemu-desktop
  • grub

Using the installer script

chmod a+x installer.sh
./installer.sh install

Using AUR

paru -S grub-qemu
# or
yay -S grub-qemu

Manual Installation

git clone https://aur.archlinux.org/grub-qemu.git
cd grub-qemu
makepkg -si

Usage

grub-qemu --help
Usage: grub-qemu [--qemu "Argument"] [--custom-grub "Directory"] [--custom-theme "Directory"]
      [--custom-resolution "res"] [--enable-kvm] [--disable-full-screen] [--disable-theme] [-v] [-h]
Options:
  -q, --qemu "Argument"           Use custom argument for QEMU.
  -c, --custom-grub "Directory"   Use custom grub.
  -t, --custom-theme "Directory"  Use custom theme (Automatically use font).
  -r, --custom-resolution "res"   Use custom resolution (Example 1366x768).
  --enable-kvm                      Enable KVM for QEMU.
  --disable-full-screen             Disable full screen mode.
  --disable-theme                   Disable theme grub.

  -h, --help                        Show this help message.
  -v, --version                     Show version.
                 Credit : VC365 (https://github.com/VC365)

Preview

Full Screen mode preview1

Gnome preview2

Author

VC365