mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
* minor correction in freedos * freedos fix - boot problems needed smm on
This commit is contained in:
parent
5bc27ee469
commit
09a707846c
2 changed files with 8 additions and 2 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 87be39d8b8fc18b2d19012e602c19597e640fb1f
|
||||
Subproject commit 3ede604a11b7a666f91bb19705d32d73fb0bd4d7
|
8
quickemu
8
quickemu
|
@ -476,6 +476,12 @@ function vm_boot() {
|
|||
NET_DEVICE="rtl8139"
|
||||
fi
|
||||
|
||||
if [ "${guest_os}" == "freedos" ] ; then
|
||||
# fix for #382
|
||||
SMM="on"
|
||||
fi
|
||||
|
||||
|
||||
if [ -z "${disk_size}" ]; then
|
||||
disk_size="16G"
|
||||
fi
|
||||
|
@ -933,7 +939,7 @@ function vm_boot() {
|
|||
args+=(-drive media=cdrom,index=1,file="${fixed_iso}")
|
||||
fi
|
||||
|
||||
if [ -n "{iso}" ] && [ "${guest_os}" == "freedos" ]; then
|
||||
if [ -n "${iso}" ] && [ "${guest_os}" == "freedos" ]; then
|
||||
# FreeDOS reboots after partitioning the disk, and QEMU tries to boot from disk after first restart
|
||||
# This flag sets the boot order to cdrom,disk. It will persist until powering down the VM
|
||||
args+=(-boot order=dc)
|
||||
|
|
Loading…
Reference in a new issue