mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Always disable S3 on WIndows
This should prevent fresh installs from failing during the multiple reboots
This commit is contained in:
parent
f8aee430ec
commit
ace30551fc
1 changed files with 1 additions and 3 deletions
2
quickemu
2
quickemu
|
@ -523,9 +523,7 @@ function vm_boot() {
|
||||||
|
|
||||||
# Disable S3 support in the VM to ensure Windows can boot with SecureBoot enabled
|
# Disable S3 support in the VM to ensure Windows can boot with SecureBoot enabled
|
||||||
# - https://wiki.archlinux.org/title/QEMU#VM_does_not_boot_when_using_a_Secure_Boot_enabled_OVMF
|
# - https://wiki.archlinux.org/title/QEMU#VM_does_not_boot_when_using_a_Secure_Boot_enabled_OVMF
|
||||||
if [ "${secureboot}" == "on" ]; then
|
|
||||||
GUEST_TWEAKS="${GUEST_TWEAKS} -global ICH9-LPC.disable_s3=1"
|
GUEST_TWEAKS="${GUEST_TWEAKS} -global ICH9-LPC.disable_s3=1"
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "${disk_size}" ]; then
|
if [ -z "${disk_size}" ]; then
|
||||||
disk_size="64G"
|
disk_size="64G"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue