<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PolarianDev</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PolarianDev"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/PolarianDev"/>
	<updated>2026-05-01T10:09:55Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Install_Alpine_in_QEMU&amp;diff=23092</id>
		<title>Install Alpine in QEMU</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Install_Alpine_in_QEMU&amp;diff=23092"/>
		<updated>2023-03-30T20:12:47Z</updated>

		<summary type="html">&lt;p&gt;PolarianDev: /* Create the Virtual Machine */ fixed typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Before You Start==&lt;br /&gt;
&lt;br /&gt;
* Download the [http://alpinelinux.org/downloads latest Alpine image].&lt;br /&gt;
* Install QEMU on your system (e.g. &amp;lt;code&amp;gt;sudo apt install qemu&amp;lt;/code&amp;gt; on Ubuntu, &amp;lt;code&amp;gt;yum -y install qemu&amp;lt;/code&amp;gt; on Fedora)&lt;br /&gt;
&lt;br /&gt;
If you are using alpine linux, you will like need to install:&lt;br /&gt;
&lt;br /&gt;
  # apk add qemu qemu-img qemu-system-x86_64 qemu-ui-gtk&lt;br /&gt;
&lt;br /&gt;
==Create the Virtual Machine==&lt;br /&gt;
&lt;br /&gt;
Create a disk image if you want to install Alpine Linux.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|qemu-img create -f qcow2 alpine.qcow2 8G}}&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|1=qemu-system-x86_64 -m 512 -nic user -boot d -cdrom alpine-standard-3.10.2-x86_64.iso -hda alpine.qcow2 -display gtk -enable-kvm}}&lt;br /&gt;
&lt;br /&gt;
{{Tip|Remove option &amp;lt;code&amp;gt;-enable-kvm&amp;lt;/code&amp;gt; if your hardware does not support this.}}&lt;br /&gt;
&lt;br /&gt;
Log in as &amp;lt;code&amp;gt;root&amp;lt;/code&amp;gt; (no password) and run: {{Cmd|setup-alpine}}&lt;br /&gt;
Follow the [[Alpine_setup_scripts#setup-alpine|setup-alpine installation steps]].&lt;br /&gt;
&lt;br /&gt;
Run &amp;lt;code&amp;gt;poweroff&amp;lt;/code&amp;gt; to shut down the machine.&lt;br /&gt;
&lt;br /&gt;
== Booting the Virtual Machine ==&lt;br /&gt;
After the installation, QEMU can be started from disk image (&amp;lt;code&amp;gt;-boot c&amp;lt;/code&amp;gt;) without CDROM.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|qemu-system-x86_64 -m 512 -nic user -hda alpine.qcow2}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Virtualization]]&lt;/div&gt;</summary>
		<author><name>PolarianDev</name></author>
	</entry>
</feed>