mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 10:11:09 -04:00
FreeBSD/amd64 requires 256MiB to boot UEFI, 128MB simply doesn't work.
128MiB still works for Legacy booting, however. Go ahead and do 256MiB for all amd64 boxes, since the number of such boxes < 256MiB is vanishingly small.
This commit is contained in:
parent
9fdff46b42
commit
48cb46aaaf
1 changed files with 4 additions and 4 deletions
|
|
@ -315,7 +315,7 @@ qemu_amd64_legacy()
|
|||
img=$1
|
||||
sh=$2
|
||||
|
||||
echo "qemu-system-x86_64 --drive file=${img},format=raw ${qser}" > $sh
|
||||
echo "qemu-system-x86_64 -m 256m --drive file=${img},format=raw ${qser}" > $sh
|
||||
}
|
||||
|
||||
qemu_amd64_uefi()
|
||||
|
|
@ -323,7 +323,7 @@ qemu_amd64_uefi()
|
|||
img=$1
|
||||
sh=$2
|
||||
|
||||
echo "qemu-system-x86_64 -bios ~/bios/OVMF-X64.fd --drive file=${img},format=raw ${qser}" > $sh
|
||||
echo "qemu-system-x86_64 -m 256m -bios ~/bios/OVMF-X64.fd --drive file=${img},format=raw ${qser}" > $sh
|
||||
}
|
||||
|
||||
qemu_amd64_both()
|
||||
|
|
@ -331,8 +331,8 @@ qemu_amd64_both()
|
|||
img=$1
|
||||
sh=$2
|
||||
|
||||
echo "qemu-system-x86_64 --drive file=${img},format=raw ${qser}" > $sh
|
||||
echo "qemu-system-x86_64 -bios ~/bios/OVMF-X64.fd --drive file=${img},format=raw ${qser}" >> $sh
|
||||
echo "qemu-system-x86_64 -m 256m --drive file=${img},format=raw ${qser}" > $sh
|
||||
echo "qemu-system-x86_64 -m 256m -bios ~/bios/OVMF-X64.fd --drive file=${img},format=raw ${qser}" >> $sh
|
||||
}
|
||||
|
||||
# arm
|
||||
|
|
|
|||
Loading…
Reference in a new issue