Created
December 15, 2021 03:47
-
-
Save suletm/0d4b0ec423533ef4cca3ddce11d30e25 to your computer and use it in GitHub Desktop.
Running ubuntu x86 on apple M1
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-system-x86_64 \ | |
-m 2048 \ | |
-M pc-q35-2.10 \ | |
-drive file=/opt/homebrew/Cellar/qemu/6.1.0_1/share/qemu/edk2-x86_64-code.fd,if=none,readonly=on \ | |
-drive if=virtio,file=disk.raw,format=raw,id=hd0 \ | |
-cdrom /path/to/ubuntu-20.04.3-live-server-amd64.iso \ | |
-device usb-ehci -device usb-kbd -device usb-mouse -usb \ | |
-monitor stdio |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment