Install Alpine in QEMU

From Alpine Linux
Revision as of 15:59, 17 June 2011 by Fab (talk | contribs) (Created page with "[http://wiki.qemu.org/Index.html QEMU] is a very flexible open source machine emulator and virtualizer. QEMU is able to virtualize x86, PowerPC, and S390 guests. =Before You Sta...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

QEMU is a very flexible open source machine emulator and virtualizer. QEMU is able to virtualize x86, PowerPC, and S390 guests.

Before You Start

Create the Virtual Machine

Create a disk image if you want to install Alpine Linux.

qemu-img create alpine.qcow 8G

The following command starts qemu with the alpine iso image as cdrom and boot device, the default network configuration, 256 MB memory, and the

qemu -cdrom alpine-2.2.1-x86_64.iso -hda alpine.qcow -boot d -net nic -net user -m 256 -localtime

Tip: Replace qemu with qemu-kvm if your hardware support this.

After the installation qemu can be started from disk image (-boot c) without cdrom.

qemu alpine.qcow -boot c -net nic -net user -m 256 -localtime

Live mode

If your just want to give Alpine Linux a try, qemu can be used without a disk image.

qemu -m 512 -cdrom alpine-2.2.1-x86_64.iso