* Re: Package Request: Tianocore/OVMF
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11243@inbox.vuxu.org>
2021-03-22 13:18 ` Package Request: Tianocore/OVMF hartwork
@ 2023-05-09 7:27 ` Animeshz
2023-05-09 9:39 ` hartwork
` (5 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: Animeshz @ 2023-05-09 7:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 336 bytes --]
New comment by Animeshz on void-packages repository
https://github.com/void-linux/void-packages/issues/11243#issuecomment-1539601187
Comment:
@hartwork The qemu seems to include all the necessary files for UEFI firmware to boot, can you please review it? https://github.com/void-linux/void-packages/pull/29074#issuecomment-1009308697
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Package Request: Tianocore/OVMF
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11243@inbox.vuxu.org>
2021-03-22 13:18 ` Package Request: Tianocore/OVMF hartwork
2023-05-09 7:27 ` Animeshz
@ 2023-05-09 9:39 ` hartwork
2023-05-09 16:35 ` Animeshz
` (4 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: hartwork @ 2023-05-09 9:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 633 bytes --]
New comment by hartwork on void-packages repository
https://github.com/void-linux/void-packages/issues/11243#issuecomment-1539794899
Comment:
@Animeshz `/usr/share/qemu/edk2-x86_64-code.fd` looks like it could be the right file but I don't be able to test this myself economically with an installation of Void. If someone could confirm that `G2TP_OVMF_IMAGE=/usr/share/qemu/edk2-x86_64-code.fd grub2-theme-preview [..]` works on Void in practice and without it it doesn't, I can add that patch to the auto-detection at https://github.com/hartwork/grub2-theme-preview/blob/master/grub2_theme_preview/__main__.py#L375-L384 for Void.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Package Request: Tianocore/OVMF
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11243@inbox.vuxu.org>
` (2 preceding siblings ...)
2023-05-09 9:39 ` hartwork
@ 2023-05-09 16:35 ` Animeshz
2023-05-09 16:38 ` Animeshz
` (3 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: Animeshz @ 2023-05-09 16:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1151 bytes --]
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).
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Package Request: Tianocore/OVMF
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11243@inbox.vuxu.org>
` (3 preceding siblings ...)
2023-05-09 16:35 ` Animeshz
@ 2023-05-09 16:38 ` Animeshz
2023-05-09 16:50 ` Animeshz
` (2 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: Animeshz @ 2023-05-09 16:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1276 bytes --]
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).
![23-05-09-22h06m43s](https://github.com/void-linux/void-packages/assets/26714676/e02a6d23-b8f6-4ae8-8822-974f191608a6)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Package Request: Tianocore/OVMF
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11243@inbox.vuxu.org>
` (4 preceding siblings ...)
2023-05-09 16:38 ` Animeshz
@ 2023-05-09 16:50 ` Animeshz
2023-05-09 16:51 ` Animeshz
2023-05-09 16:58 ` Animeshz
7 siblings, 0 replies; 8+ messages in thread
From: Animeshz @ 2023-05-09 16:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1295 bytes --]
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).
---
Example:
![23-05-09-22h06m43s](https://github.com/void-linux/void-packages/assets/26714676/e02a6d23-b8f6-4ae8-8822-974f191608a6)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Package Request: Tianocore/OVMF
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11243@inbox.vuxu.org>
` (5 preceding siblings ...)
2023-05-09 16:50 ` Animeshz
@ 2023-05-09 16:51 ` Animeshz
2023-05-09 16:58 ` Animeshz
7 siblings, 0 replies; 8+ messages in thread
From: Animeshz @ 2023-05-09 16:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1318 bytes --]
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)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Package Request: Tianocore/OVMF
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11243@inbox.vuxu.org>
` (6 preceding siblings ...)
2023-05-09 16:51 ` Animeshz
@ 2023-05-09 16:58 ` Animeshz
7 siblings, 0 replies; 8+ messages in thread
From: Animeshz @ 2023-05-09 16:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1174 bytes --]
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Package Request: Tianocore/OVMF
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11243@inbox.vuxu.org>
@ 2021-03-22 13:18 ` hartwork
2023-05-09 7:27 ` Animeshz
` (6 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: hartwork @ 2021-03-22 13:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 437 bytes --]
New comment by hartwork on void-packages repository
https://github.com/void-linux/void-packages/issues/11243#issuecomment-804053620
Comment:
It seem like #11392 has not been merged — correct? @jcgruenhage If that's true, please re-open this issue so that https://github.com/hartwork/grub2-theme-preview has a chance to work on EFI hardware running Void Linux (while it already works fine on Gentoo, Arch, Debian, Fedora). Thank you!
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-05-09 16:58 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11243@inbox.vuxu.org>
2021-03-22 13:18 ` Package Request: Tianocore/OVMF hartwork
2023-05-09 7:27 ` Animeshz
2023-05-09 9:39 ` hartwork
2023-05-09 16:35 ` Animeshz
2023-05-09 16:38 ` Animeshz
2023-05-09 16:50 ` Animeshz
2023-05-09 16:51 ` Animeshz
2023-05-09 16:58 ` Animeshz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).