#!/bin/bash # Selects an *.iso image to use with QEMU # This is designed to run in a terminal window, on my system this # script has an .xsh extension with .xsh files associated to Konsole. # Change the following to reflect location of image files... cd /mnt/hda11/qemu while true; do clear echo "" echo "Select CD Image to mount..." select cdname in *.iso do break; done if [ -z "$cdname" ]; then exit else # the following is to run my Win95 install, edit for system being run qemu -hda win95b.img -hdb data.img -cdrom "$cdname" -m 96 -dummy-net -localtime fi done