<?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=Omega0x013</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=Omega0x013"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Omega0x013"/>
	<updated>2026-04-29T21:42:47Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Running_Alpine_in_Live_mode_in_QEMU&amp;diff=17683</id>
		<title>Running Alpine in Live mode in QEMU</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Running_Alpine_in_Live_mode_in_QEMU&amp;diff=17683"/>
		<updated>2020-06-01T15:03:18Z</updated>

		<summary type="html">&lt;p&gt;Omega0x013: remove &amp;#039;o&amp;#039; to change &amp;#039;loosing&amp;#039; to &amp;#039;losing&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To just give Alpine Linux a try in diskless mode, qemu can be used to boot the .iso file without any need for a virtual HDD image or further configuration.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|qemu -m 512 -cdrom alpine-3.2.0-x86_64.iso}}&lt;br /&gt;
&lt;br /&gt;
Issue {{Cmd|grsec nomodeset}} at boot prompt to avoid being forced into graphical mode and losing access.&lt;br /&gt;
&lt;br /&gt;
== Letting the .iso image load an apkovl ==&lt;br /&gt;
&lt;br /&gt;
This works by mounting a persitent filesytem under /media and selecting it to store the &#039;&#039;&#039;apkovl&#039;&#039;&#039; and the &#039;&#039;&#039;apkcache&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Preparing a KVM with a virtual drive:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir -p /media/usb/images&lt;br /&gt;
qemu-img create -f raw /media/usb/images/mykvm.config 32M&lt;br /&gt;
qemu-system-x86_64 -enable-kvm -m 384 \&lt;br /&gt;
-name mykvm \&lt;br /&gt;
-cdrom /media/usb/images/alpine-3.2.0-x86_64.iso \&lt;br /&gt;
-drive file=/media/usb/images/mykvm.config,if=virtio \ &lt;br /&gt;
-net lan \&lt;br /&gt;
-boot d &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And inside the KVM (running alpine linux):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
fdisk /dev/vda  #creating a partition&lt;br /&gt;
mkdosfs /dev/vda1&lt;br /&gt;
mkdir -p /media/vda1&lt;br /&gt;
echo &amp;quot;/dev/vda1 /media/vda1 vfat rw 0 0&amp;quot; &amp;gt;&amp;gt; /etc/fstab&lt;br /&gt;
mount -a&lt;br /&gt;
setup-alpine  # (select vda1 for saving configs)&lt;br /&gt;
lbu commit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next reboot then loads the generated apkovl and apkcache found on /dev/vda1 -- completely &#039;&#039;running-from-ram&#039;&#039; based on the latest official ISO.&lt;br /&gt;
&lt;br /&gt;
[[Category:Virtualization]]&lt;/div&gt;</summary>
		<author><name>Omega0x013</name></author>
	</entry>
</feed>