Skip to content

Instantly share code, notes, and snippets.

@brandonros
Last active December 24, 2021 04:39
Show Gist options
  • Save brandonros/5c6b42865c5b2ff5bbb068bc670a7a28 to your computer and use it in GitHub Desktop.
Save brandonros/5c6b42865c5b2ff5bbb068bc670a7a28 to your computer and use it in GitHub Desktop.
#!/bin/sh
# download from https://dl-cdn.alpinelinux.org/alpine/edge/releases/aarch64/netboot/
qemu-system-aarch64 \
-M virt,highmem=off \
-m 512M \
-cpu host \
-accel hvf \
-kernel ~/Downloads/alpine-edge-aarch64/vmlinuz-lts \
-initrd ~/Downloads/alpine-edge-aarch64/initramfs-lts \
-append "console=ttyAMA0 ip=dhcp alpine_repo=http://dl-cdn.alpinelinux.org/alpine/edge/main/" \
-nographic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment