Updated the helper QEMU scripts to use more RAM. This needs further investigation since 64MB should be enough.

This commit is contained in:
Ivan Davidov 2016-07-30 20:42:50 +03:00
parent a97748a7e7
commit d9e9aa5311
2 changed files with 7 additions and 5 deletions

View File

@ -7,11 +7,12 @@
# have hard disk image, you can use it as overlay device and persist all your
# changes. See the '.config' file for more information on the overlay support.
cmd="qemu-system-i386 -m 128M -cdrom minimal_linux_live.iso -boot d -vga std"
if [ "$1" = "-hdd" -o "$1" = "-h" ] ; then
echo "Starting QEMU with attached ISO image and hard disk."
qemu-system-i386 -m 64M -cdrom minimal_linux_live.iso -hda hdd.img -boot d -vga std
$cmd -hda hdd.img
else
echo "Starting QEMU with attached ISO image and no hard disk."
qemu-system-i386 -m 64M -cdrom minimal_linux_live.iso -boot d -vga std
echo "Starting QEMU with attached ISO image."
$cmd
fi

View File

@ -7,7 +7,8 @@
# have hard disk image, you can use it as overlay device and persist all your
# changes. See the '.config' file for more information on the overlay support.
cmd="qemu-system-x86_64 -enable-kvm -m 128M -cdrom minimal_linux_live.iso -boot d -vga std"
cmd="qemu-system-x86_64 -m 128M -cdrom minimal_linux_live.iso -boot d -vga std"
if [ "$1" = "-hdd" -o "$1" = "-h" ] ; then
echo "Starting QEMU with attached ISO image and hard disk."
$cmd -hda hdd.img