Skip to content

Instantly share code, notes, and snippets.

@alexalouit
Created August 16, 2023 09:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexalouit/0242a231e6fd182cb6225eb57144d1e1 to your computer and use it in GitHub Desktop.
Save alexalouit/0242a231e6fd182cb6225eb57144d1e1 to your computer and use it in GitHub Desktop.
QEMU + macOS
$ brew install qemu
$ qemu-img create -f qcow2 pbs-os.qcow2 15G
$ qemu-img create -f qcow2 pbs-data.qcow2 2000G
# installation
# 2GB RAM
# -cdrom /Users/user/Downloads/proxmox-backup-server_3.0-1.iso
$ sudo qemu-system-x86_64 \
-m 1G \
-smp 1 \
-drive file=/Volumes/data/pbs-os.qcow2,if=virtio \
-drive file=/Volumes/data/pbs-data.qcow2,if=virtio \
-nic user,model=virtio-net-pci,hostfwd=tcp::8007-:8007 \
-vga virtio \
-display default,show-cursor=on \
-usb \
-device usb-tablet \
-cpu host \
-machine type=q35,accel=hvf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment