<?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=Shtdbg</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=Shtdbg"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Shtdbg"/>
	<updated>2026-05-01T16:34:41Z</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=15493</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=15493"/>
		<updated>2018-10-22T21:38:44Z</updated>

		<summary type="html">&lt;p&gt;Shtdbg: /* Create the Virtual Machine */ -localtime is deprecated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Before You Start==&lt;br /&gt;
&lt;br /&gt;
* First [http://alpinelinux.org/downloads download the latest Alpine CD image].&lt;br /&gt;
* Install qemu on your system (e.g. &amp;lt;tt&amp;gt;yum -y install qemu&amp;lt;/tt&amp;gt; on a Fedora based system)&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 alpine.qcow 8G}}&lt;br /&gt;
&lt;br /&gt;
The following command starts qemu with the alpine iso image as cdrom and boot device, the default network configuration, 256 MB memory, and the disk image that was created in the previous step. &lt;br /&gt;
&lt;br /&gt;
{{Cmd|qemu -cdrom alpine-2.3.6-x86_64.iso -hda alpine.qcow -boot d -net nic -net user -m 256 -rtc base=localtime}}&lt;br /&gt;
&lt;br /&gt;
{{Tip|Add option &amp;lt;tt&amp;gt;--enable-kvm&amp;lt;/tt&amp;gt; if your hardware support this.}}&lt;br /&gt;
&lt;br /&gt;
Log in as root (no password) and run: {{Cmd|setup-alpine}}&lt;br /&gt;
At the question on how to use the disk select &#039;&#039;&#039;sys&#039;&#039;&#039;.&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;tt&amp;gt;-boot c&amp;lt;/tt&amp;gt;) without cdrom.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|qemu alpine.qcow -boot c -net nic -net user -m 256 -localtime}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Virtualization]]&lt;/div&gt;</summary>
		<author><name>Shtdbg</name></author>
	</entry>
</feed>