This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/dotfiles/scripts/windows10

26 lines
920 B
Bash
Executable File

#!/bin/sh
if ! which qemu-system-x86_64 &> /dev/null
then
echo qemu not installed
exit 1
fi
# -cdrom ~/Downloads/win10.iso \
# -boot order=d \
# -nic none\
# -usb -device usb-tablet \
# -vga qxl \
qemu-system-x86_64 \
-enable-kvm \
-m 2G \
-cpu host \
-smp `nproc` \
-display sdl,gl=on \
-audiodev pa,id=snd0 \
-device ich9-intel-hda \
-device hda-output,audiodev=snd0 \
-drive file="$HOME/.local/share/windows10.img",format=raw \