Skip to content

Instantly share code, notes, and snippets.

@rubenerd
Created May 7, 2018 09:32
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubenerd/1b8fe3614593bb153c0f75fed4dd9228 to your computer and use it in GitHub Desktop.
Save rubenerd/1b8fe3614593bb153c0f75fed4dd9228 to your computer and use it in GitHub Desktop.
Windows NT 3.51 on QEMU
#!/bin/sh
######
## Script to launch Windows NT 3.51 on QEMU without overflow errors
_INSTALLER_ISO="install.iso"
_INSTALL_DISK1="disk1.img"
_TARGET_BLOCK="/dev/adaX"
qemu-system-i386 \
-machine type=isapc \
-cpu 486 \
-boot once=a \
-m size=32M \
-k en-us \
-soundhw sb16,adlib \
-name "qemu-nt351" \
-drive file="$_INSTALLER_DISK1",if=floppy,media=disk \
-drive file="$_TARGET_BLOCK",if=ide,index=0,media=disk,format=raw \
-drive file="$_INSTALLER_ISO",if=ide,index=1,media=cdrom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment