Using Alpine Linux on QEMU

Eric Semeniuc

Eric Semeniuc

September 13, 2019

  1. Get QEMU
sudo pacman -S qemu
  1. Get Alpine Linux
  1. Run QEMU
qemu-system-x86_64 -boot d -cdrom alpine-standard-3.10.2-x86_64.iso -m 512 -enable-kvm -nic user,ipv6=off

Flags: -boot d: boot from CDROM -cdrom: load iso image -m 512: allocate 512MB RAM -enable-kvm: speeds up emulation on Linux hosts -nic user,ipv6=off: uses the “user” network interface, disables ipv6

  1. Enable the network adapter
ifconfig eth0 up
  1. Test network connection

Note: ICMP ping doesn’t work in QEMU

Alpine QEMU screenshot