Created
August 16, 2023 09:52
-
-
Save alexalouit/0242a231e6fd182cb6225eb57144d1e1 to your computer and use it in GitHub Desktop.
QEMU + macOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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