-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
A resounding success, thank you Foppe!
Here are the only things I would add to that article (For a debian-10
DispVM):
1. Uncomment Debain sources repo in /etc/apt/sources.list && sudo
apt-get update
2. You must export NAME and EMAIL variables for dch/debchange program
3. Replace dquilt with quilt command (Maybe this seems obvious for some
but I've never done any kind of Debian/RPM packaging so it wasn't for me)
-
https://askubuntu.com/questions/656122/what-is-dquilt-and-how-do-i-get-it
4. dpkg-buildpackage will tell you any Debian packages required to
build, just install the packages it tells you to with apt-get
5. If there is an error from dpkg-buildpackage talking about .swp files
then make sure you delete any .swps your text editing program created
(Due to not exiting properly)
After that you will have a Debian (.deb) package, problem is Dom0 is
Fedora and does not use QEMU directly but instead QEMU inside Xen
(qemu-xen):
1. mkdir deb
2. cp <seabios_package_name>.deb deb
3. dpkg -x <seabios_package_name>.deb (Extract Debian package)
4. Go into usr/share/seabios in current directory
5. You only need one file: vgabios-stdvga.bin
- Copy that file to Dom0
Now to use the new vgabios-stdvga.bin:
Note: /usr/share/qemu does not exist in Dom0 (It's contained to a stub
domain for security reasons)
Note: /usr/share/qemu-xen/qemu (which has a vgabios-stdvga.bin) does
nothing, ignore it (I moved the qemu folder to qemu.old then tried
starting HVMs and there were no problem)
Important: Before beginning, backup your stub domain:
- cp /usr/lib/xen/boot/stubdom-linux-rootfs stubdom-linux-rootfs-backup
1. What you need to do is modify the the stub domain
- Follow this documentation except don't modify the init script on
step 2 as it says:
https://www.qubes-os.org/doc/windows-debugging/#debugging-hvms-in-the-qubes-r40
2. After extracting the stub domain into the stubroot folder on step 1
you will edit it on step 2 by doing:
- cd stubroot/share/qemu
- Replace the vgabios-Foppe de Haan <0spstdvga.bin in that folder with
the one you created
3. Proceed to step 3 of the aforementioned documentation to put your
newly modified stub domain into action
You're done! The new resolution will now appear in HVMs, tested working
on Windows 7 (Without Qubes GUI driver installed) and Windows 10
(Doesn't support Qubes GUI driver).
Important: If you are using an already created Windows 7 qube then I
noticed a glitch where the slider for changing your resolution doesn't
update to account for the additional resolution you've just added. This
can be fixed by going to:
Control Panel\Appearance and Personalization\Display\Screen Resolution >
Advanced Settings > List All Modes > Select your new resolution
Your resolution will now change. Once you do that the resolution slider
will also update with your new resolution and you will be able to use
that too.
Note: You will have to reapply your new vgabios-stdvga.bin every time
Dom0 receives an updates for qemu-xen, so keep it around
I may submit a patch containing all the standard resolutions mentioned
in the Wikipedia article from earlier to SeaBIOS. I don't see any reason
why they shouldn't be there by default. Looks like somebody submitted a
couple here recently but hardly all the standard ones there should be:
Patches (Oldest to newest):
https://mail.coreboot.org/hyperkitty/list/sea...@seabios.org/thread/BTTYP2LBOXN6RGATJEQPAXO244ZYHYPM/
https://mail.coreboot.org/hyperkitty/list/sea...@seabios.org/thread/Z6FPBB7WAX4EJ4ZGFSHKJ2GOBKDDBVPN/
https://mail.coreboot.org/hyperkitty/list/sea...@seabios.org/thread/QLBBA35ZIPDF5FYNDZHSBQMV5ORVVYW3/
Made it into SeaBIOS 1.13.0 (Announcement):
https://mail.coreboot.org/hyperkitty/list/sea...@seabios.org/message/CHTK23PNYHHVS7VA4L5RTYFGJ5Q7Y2UJ/
-----BEGIN PGP SIGNATURE-----
iHUEARYIAB0WIQQBj7nebfoT+xj7VVL5uQ1E+D3V8gUCXjkxTwAKCRD5uQ1E+D3V
8vqNAQCioGdWoxHcxyafLq/WFQjazHK6KLVoCXJAWwyD9fpyRAD9FxtnAtoyI3xu
lnZbw222D8FtRyrbLj3oihlBcuhejQQ=
=N2+8
-----END PGP SIGNATURE-----