New comment by Animeshz on void-packages repository https://github.com/void-linux/void-packages/issues/11243#issuecomment-1540508132 Comment: @hartwork yeah it does work, though I had to introduce some changes, namely, ```diff diff --git a/grub2_theme_preview/__main__.py b/grub2_theme_preview/__main__.py index 15c31b1..d40ecaa 100644 --- a/grub2_theme_preview/__main__.py +++ b/grub2_theme_preview/__main__.py @@ -525,8 +525,8 @@ def _inner_main(options): run_command.append('-full-screen') if is_efi_host: run_command += [ - '-bios', - omvf_image_path, + '-drive', + 'if=pflash,format=raw,file=' + omvf_image_path ] print('INFO: Please give GRUB a moment to show up in QEMU...') ``` With the old `-bios` option, it was `qemu: could not load PC BIOS '/usr/share/qemu/edk2-x86_64-code.fd'`. I believe I found this format of specifying uefi image from [this article](https://krinkinmu.github.io/2020/10/11/efi-getting-started.html), in the "Testing" part. --- Example: ![23-05-09-22h06m43s](https://github.com/void-linux/void-packages/assets/26714676/e02a6d23-b8f6-4ae8-8822-974f191608a6)