- Install QEMU
brew install qemu
- Download:
- QEMU_EFI.fd https://www.sevarg.net/images/2021-qemu-m1/QEMU_EFI.fd
- Ubuntu ARM 64 ISO https://ubuntu.com/download/server/arm
- Create a vm workspace
./create-workspace.sh <vm-name>
- Go to the vm workspace dir
cd vms/<vm-name>
- Run
./create-disk.sh
- Run
./install.sh
and go through the installation process - Run
./run.sh
the vm is up and running - Configure network https://adonis0147.github.io/post/qemu-macos-apple-silicon/
- Start ssh server
sudo service ssh start
- Create ssh-key
ssh-keygen
- Configure remote in VSCode