diff --git a/src/qemu32.sh b/src/qemu32.sh index ab047f451..aa3847569 100755 --- a/src/qemu32.sh +++ b/src/qemu32.sh @@ -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 - diff --git a/src/qemu64.sh b/src/qemu64.sh index a62c29071..7ebe2d370 100755 --- a/src/qemu64.sh +++ b/src/qemu64.sh @@ -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