0% found this document useful (0 votes)
242 views1 page

Install Alpine in QEMU

This document provides instructions for installing Alpine Linux in QEMU virtualization software. It first instructs the user to download the latest Alpine image and install QEMU on their system. It then guides them through creating a virtual machine by generating a disk image, launching QEMU with the ISO image, RAM allocation, and disk image. The user is instructed to run the setup process, follow the installation steps, and shut down to complete installation. Finally, it explains how to boot the virtual machine from the disk image without the ISO attached.

Uploaded by

Bengt Frost
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
242 views1 page

Install Alpine in QEMU

This document provides instructions for installing Alpine Linux in QEMU virtualization software. It first instructs the user to download the latest Alpine image and install QEMU on their system. It then guides them through creating a virtual machine by generating a disk image, launching QEMU with the ISO image, RAM allocation, and disk image. The user is instructed to run the setup process, follow the installation steps, and shut down to complete installation. Finally, it explains how to boot the virtual machine from the disk image without the ISO attached.

Uploaded by

Bengt Frost
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Install Alpine in QEMU

wiki.alpinelinux.org/wiki/Install_Alpine_in_QEMU

Before You Start


Download the latest Alpine image.
Install QEMU on your system (e.g. sudo apt install qemu on Ubuntu, yum -y
install qemu on Fedora)

Create the Virtual Machine


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

qemu-img create -f qcow2 alpine.qcow2 8G

The following command starts QEMU with the Alpine ISO image as CDROM, the default
network configuration, 512MB RAM, the disk image that was created in the previous step,
and CDROM as the boot device.

qemu-system-x86_64 -m 512 -nic user -boot d -cdrom alpine-standard-3.10.2-x86_64.iso


-hda alpine.qcow2

Tip: Add option -enable-kvm if your hardware support this.

Log in as root (no password) and run:

setup-alpine

Follow the setup-alpine installation steps.

Run poweroff to shut down the machine.

Booting the Virtual Machine


After the installation, QEMU can be started from disk image ( -boot c ) without CDROM.

qemu-system-x86_64 -m 512 -nic user -hda alpine.qcow2

1/1

You might also like