Skip to content

Instantly share code, notes, and snippets.

@adnan360
Last active August 13, 2019 08:36
Show Gist options
  • Save adnan360/440fbe66fa16bfcb62e456f7d5f5e9be to your computer and use it in GitHub Desktop.
Save adnan360/440fbe66fa16bfcb62e456f7d5f5e9be to your computer and use it in GitHub Desktop.
Bash file to run React OS with QEMU
#!/bin/bash
# Bash file to run React OS with QEMU
# ----
# This is an experimental command.
# Some things might not work. e.g. audio
# Install qemu, qemu-kvm or libvirt.
# Save this somewhere, download React OS boot ISO, prepare image:
# qemu-img create ReactOS.img 5G
# and run with `bash /path/to/run-reactos-qemu.sh`
/usr/bin/qemu-system-x86_64 \
-monitor stdio \
-soundhw ac97 \
-machine accel=kvm \
-m 1024 \
-cdrom ReactOS.iso \
-hda ReactOS.img \
-boot once=d,menu=off \
-net nic,model=ne2k_pci \
-net user \
-rtc base=localtime \
-name "ReactOS"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment