cheatsheets devlog projects

Installing Alpine using Qemu

2022-09-17 1

The commands to quickly get a alpine image going.


qemu-img create -f raw alpine.img 500M
qemu-system-x86_64 -m 512 -nic user -boot d -cdrom alpine-standard-3.16.2-x86.iso -drive file=alpine.img,format=raw

# Inside alpine now:
# Choose to use a disk and the way to use it is sys.


# Outside alpine, alpine is shutdown, this is the reboot
qemu-system-x86_64 -m 512 -nic user -hda alpine.img