<?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=Shelly</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=Shelly"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Shelly"/>
	<updated>2026-04-28T07:47:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Xen_Dom0&amp;diff=18037</id>
		<title>Xen Dom0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Xen_Dom0&amp;diff=18037"/>
		<updated>2020-08-27T08:18:20Z</updated>

		<summary type="html">&lt;p&gt;Shelly: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide will show you how to have your &#039;sys&#039; install of Alpine run as a Xen Dom0. You can start either from an existing standard install or install a new copy of Alpine with the Alpine Xen ISO.&lt;br /&gt;
&lt;br /&gt;
== Install Xen ==&lt;br /&gt;
=== New installation ===&lt;br /&gt;
==== Writing the medium ====&lt;br /&gt;
{{Warning|This will erase &#039;&#039;&#039;everything&#039;&#039;&#039; on the drive you point it at. Check and double check that &amp;lt;code&amp;gt;/dev/sdx&amp;lt;/code&amp;gt; is the correct USB device you want to write to, using the commands &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;blkid&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
First download Alpine&#039;s [https://www.alpinelinux.org/downloads/ Xen install ISO], and either [[Burning ISOs|burn the ISO to a CD/DVD]] or write it to a USB storage device with the following command, where &amp;lt;code&amp;gt;3.12.0&amp;lt;/code&amp;gt; should be replaced with the release number of your downloaded ISO and &amp;lt;code&amp;gt;/dev/sdx&amp;lt;/code&amp;gt; should be replaced with the drive letter of your USB:&lt;br /&gt;
&amp;lt;pre&amp;gt;dd if=alpine-xen-3.12.0-x86_64.iso of=/dev/sdx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installation ====&lt;br /&gt;
Now boot from your CD or USB, and type &#039;root&#039; when prompted for a username. After you have logged in run &amp;lt;code&amp;gt;setup-xen-dom0&amp;lt;/code&amp;gt;, then continue with a standard [[Install to disk|Alpine installation]] until you get to the prompt asking to choose your network card.&lt;br /&gt;
What you&#039;ll want to do is select what is to be your internet-facing interface, and when asked to bridge it type &#039;yes&#039;. Then you can configure the networking settings of your bridge device, &amp;lt;code&amp;gt;br0&amp;lt;/code&amp;gt;, as you would have configured your internet-facing interface.&lt;br /&gt;
{{Note|You cannot bridge a WiFi interface in the automatic installation script due to incompatible protocols. Make sure you pick an ethernet interface for this.}}&lt;br /&gt;
Now continue with your installation to disk until you reach the &#039;reboot&#039; prompt. There are a few more things to do before you can boot without errors:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# xen-hypervisor isn&#039;t installed by default with Xen so we must install it manually&lt;br /&gt;
apk add xen-hypervisor&lt;br /&gt;
apk add bridge&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can safely reboot after removing your install medium, making sure to pick the &amp;lt;code&amp;gt;Alpine Linux v3.12, with Xen 4.13.1 and Linux lts&amp;lt;/code&amp;gt; boot option in your GRUB menu, with 3.12 and 4.13.1 replaced with your Linux and Xen version numbers, respectively.&lt;br /&gt;
&lt;br /&gt;
After this, [[Enable Community Repository|enable the Alpine community repository]] and install the firmware to be used for Xen&#039;s virtual machines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apk add seabios ovmf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to configure GRUB.&lt;br /&gt;
&lt;br /&gt;
=== Existing installation ===&lt;br /&gt;
First you must [[Enable Community Repository|enable the Alpine community repository]], then install Xen and the seabios (BIOS) and ovmf (UEFI) firmwares for its virtual machines.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# apk add xen xen-hypervisor seabios ovmf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will install Xen Hypervisor, xl cli command and all the required packages. The next step is to modify your GRUB configuration to properly boot Xen.&lt;br /&gt;
&lt;br /&gt;
The next step is to load the necessary kernel modules for Xen, we will add them to /etc/modules, so they will be loaded automatically on boot:&lt;br /&gt;
&amp;lt;pre&amp;gt;echo &amp;quot;xen-netback&amp;quot; &amp;gt;&amp;gt; /etc/modules&lt;br /&gt;
echo &amp;quot;xen-blkback&amp;quot; &amp;gt;&amp;gt; /etc/modules&lt;br /&gt;
echo &amp;quot;tun&amp;quot; &amp;gt;&amp;gt; /etc/modules&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then lastly we add the Xen daemons to the default runlevel.&lt;br /&gt;
&amp;lt;pre&amp;gt;rc-update add xenconsoled&lt;br /&gt;
rc-update add xendomains&lt;br /&gt;
rc-update add xenqemu&lt;br /&gt;
rc-update add xenstored&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now reboot.&lt;br /&gt;
&lt;br /&gt;
== GRUB configuration ==&lt;br /&gt;
Once running a Xen kernel we will need to edit its command-line options and enable the setting of a default GRUB entry by inserting this at the bottom of &amp;lt;code&amp;gt;/etc/default/grub&amp;lt;/code&amp;gt;:&lt;br /&gt;
{{Cat|/etc/default/grub|&amp;lt;nowiki&amp;gt;# We need to set the amount of RAM we allocate to our Dom0 Alpine install so that&lt;br /&gt;
# our future virtual machines are left with enough memory.&lt;br /&gt;
GRUB_CMDLINE_XEN_DEFAULT=&amp;quot;dom0_mem=1024M,max:1024M&amp;quot;&lt;br /&gt;
&lt;br /&gt;
GRUB_DEFAULT=&amp;quot;saved&amp;quot;&lt;br /&gt;
GRUB_SAVEDEFAULT=&amp;quot;true&amp;quot;&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
You can replace 1024M with the amount of memory you want to allocate to your Dom0 operating system.&lt;br /&gt;
After this you need to run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;grub-mkconfig -o /boot/grub/grub.cfg&lt;br /&gt;
grub-set-default &amp;quot;$(grep ^menuentry /boot/grub/grub.cfg | grep Xen | cut -d \&#039; -f 2 | head -1)&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
What this does is set your default entry in GRUB to the first entry containing &#039;Xen&#039;. Run this every time you upgrade Alpine or Xen.&lt;br /&gt;
&lt;br /&gt;
== Loop Devices ==&lt;br /&gt;
If you plan to use more than 8 DomU&#039;s, you may need to increase the amount of loop-devices in your Dom0.&lt;br /&gt;
&lt;br /&gt;
In Alpine Linux, you will need to add the &#039;&#039;max_loop&#039;&#039; option to the &#039;&#039;loop&#039;&#039; module, then add the loop module to your initramfs.&lt;br /&gt;
&lt;br /&gt;
Start by populating &amp;lt;code&amp;gt;/etc/modprobe.d/loop.conf&amp;lt;/code&amp;gt; with the module options:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# touch /etc/modprobe.d/loop.conf&lt;br /&gt;
# echo &amp;quot;options loop max_loop=32&amp;quot; &amp;gt; /etc/modprobe.d/loop.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now reflect the module options in the initramfs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# mkinitfs&lt;br /&gt;
# reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Xen Dom0 on USB or SD]]&lt;br /&gt;
* [https://wiki.gentoo.org/wiki/Xen#Host_configuration_.28domain-0.29|Xen page on Gentoo wiki]&lt;br /&gt;
[[Category:Virtualization]]&lt;/div&gt;</summary>
		<author><name>Shelly</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Xen_Dom0&amp;diff=18036</id>
		<title>Xen Dom0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Xen_Dom0&amp;diff=18036"/>
		<updated>2020-08-27T08:09:34Z</updated>

		<summary type="html">&lt;p&gt;Shelly: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide will show you how to have your &#039;sys&#039; install of Alpine run as a Xen Dom0. You can start either from an existing standard install or install a new copy of Alpine with the Alpine Xen ISO.&lt;br /&gt;
&lt;br /&gt;
== Install Xen ==&lt;br /&gt;
=== New installation ===&lt;br /&gt;
==== Writing the medium ====&lt;br /&gt;
{{Warning|This will erase &#039;&#039;&#039;everything&#039;&#039;&#039; on the drive you point it at. Check and double check that &amp;lt;code&amp;gt;/dev/sdx&amp;lt;/code&amp;gt; is the correct USB device you want to write to, using the commands &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;blkid&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
First download Alpine&#039;s [https://www.alpinelinux.org/downloads/ Xen install ISO], and either [[Burning ISOs|burn the ISO to a CD/DVD]] or write it to a USB storage device with the following command, where &amp;lt;code&amp;gt;3.12.0&amp;lt;/code&amp;gt; should be replaced with the release number of your downloaded ISO and &amp;lt;code&amp;gt;/dev/sdx&amp;lt;/code&amp;gt; should be replaced with the drive letter of your USB:&lt;br /&gt;
&amp;lt;pre&amp;gt;dd if=alpine-xen-3.12.0-x86_64.iso of=/dev/sdx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installation ====&lt;br /&gt;
Now boot from your CD or USB, and type &#039;root&#039; when prompted for a username. After you have logged in run &amp;lt;code&amp;gt;setup-xen-dom0&amp;lt;/code&amp;gt;, then continue with a standard [[Install to disk|Alpine installation]] until you get to the prompt asking to choose your network card.&lt;br /&gt;
What you&#039;ll want to do is select what is to be your internet-facing interface, and when asked to bridge it type &#039;yes&#039;. Then you can configure the networking settings of your bridge device, &amp;lt;code&amp;gt;br0&amp;lt;/code&amp;gt;, as you would have configured your internet-facing interface.&lt;br /&gt;
{{Note|You cannot bridge a WiFi interface in the automatic installation script due to incompatible protocols. Make sure you pick an ethernet interface for this.}}&lt;br /&gt;
Now continue with your installation to disk until you reach the &#039;reboot&#039; prompt. There are a few more things to do before you can boot without errors:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# xen-hypervisor isn&#039;t installed by default with Xen so we must install it manually&lt;br /&gt;
apk add xen-hypervisor&lt;br /&gt;
apk add bridge&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can safely reboot after removing your install medium, making sure to pick the &amp;lt;code&amp;gt;Alpine Linux v3.12, with Xen 4.13.1 and Linux lts&amp;lt;/code&amp;gt; boot option in your GRUB menu, with 3.12 and 4.13.1 replaced with your Linux and Xen version numbers, respectively.&lt;br /&gt;
&lt;br /&gt;
After this, [[Enable Community Repository|enable the Alpine community repository]] and install the firmware to be used for Xen&#039;s virtual machines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apk add seabios ovmf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to configure GRUB.&lt;br /&gt;
&lt;br /&gt;
=== Existing installation ===&lt;br /&gt;
First you must [[Enable Community Repository|enable the Alpine community repository]], then install Xen and the seabios (BIOS) and ovmf (UEFI) firmwares for its virtual machines.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# apk add xen xen-hypervisor seabios ovmf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will install Xen Hypervisor, xl cli command and all the required packages. The next step is to modify your GRUB configuration to properly boot Xen.&lt;br /&gt;
&lt;br /&gt;
== GRUB configuration ==&lt;br /&gt;
Once running a Xen kernel we will need to edit its command-line options and enable the setting of a default GRUB entry by inserting this at the bottom of &amp;lt;code&amp;gt;/etc/default/grub&amp;lt;/code&amp;gt;:&lt;br /&gt;
{{Cat|/etc/default/grub|&amp;lt;nowiki&amp;gt;# We need to set the amount of RAM we allocate to our Dom0 Alpine install so that&lt;br /&gt;
# our future virtual machines are left with enough memory.&lt;br /&gt;
GRUB_CMDLINE_XEN_DEFAULT=&amp;quot;dom0_mem=1024M,max:1024M&amp;quot;&lt;br /&gt;
&lt;br /&gt;
GRUB_DEFAULT=&amp;quot;saved&amp;quot;&lt;br /&gt;
GRUB_SAVEDEFAULT=&amp;quot;true&amp;quot;&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
You can replace 1024M with the amount of memory you want to allocate to your Dom0 operating system.&lt;br /&gt;
After this you need to run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;grub-mkconfig -o /boot/grub/grub.cfg&lt;br /&gt;
grub-set-default &amp;quot;$(grep ^menuentry /boot/grub/grub.cfg | grep Xen | cut -d \&#039; -f 2 | head -1)&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
What this does is set your default entry in GRUB to the first entry containing &#039;Xen&#039;. Run this every time you upgrade Alpine or Xen.&lt;br /&gt;
&lt;br /&gt;
== Loop Devices ==&lt;br /&gt;
If you plan to use more than 8 DomU&#039;s, you may need to increase the amount of loop-devices in your Dom0.&lt;br /&gt;
&lt;br /&gt;
In Alpine Linux, you will need to add the &#039;&#039;max_loop&#039;&#039; option to the &#039;&#039;loop&#039;&#039; module, then add the loop module to your initramfs.&lt;br /&gt;
&lt;br /&gt;
Start by populating &amp;lt;code&amp;gt;/etc/modprobe.d/loop.conf&amp;lt;/code&amp;gt; with the module options:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# touch /etc/modprobe.d/loop.conf&lt;br /&gt;
# echo &amp;quot;options loop max_loop=32&amp;quot; &amp;gt; /etc/modprobe.d/loop.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now reflect the module options in the initramfs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# mkinitfs&lt;br /&gt;
# reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Xen Dom0 on USB or SD]]&lt;br /&gt;
* [https://wiki.gentoo.org/wiki/Xen#Host_configuration_.28domain-0.29|Xen page on Gentoo wiki]&lt;br /&gt;
[[Category:Virtualization]]&lt;/div&gt;</summary>
		<author><name>Shelly</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Xen_Dom0&amp;diff=18035</id>
		<title>Xen Dom0</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Xen_Dom0&amp;diff=18035"/>
		<updated>2020-08-27T06:18:06Z</updated>

		<summary type="html">&lt;p&gt;Shelly: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This guide will show you how to have your &#039;sys&#039; install of Alpine run as a Xen Dom0. You can start either from an existing standard install or install a new copy of Alpine with the Alpine Xen ISO.&lt;br /&gt;
&lt;br /&gt;
== Install Xen ==&lt;br /&gt;
=== New installation ===&lt;br /&gt;
==== Writing the medium ====&lt;br /&gt;
{{Warning|This will erase &#039;&#039;&#039;everything&#039;&#039;&#039; on the drive you point it at. Check and double check that &amp;lt;code&amp;gt;/dev/sdx&amp;lt;/code&amp;gt; is the correct USB device you want to write to, using the commands &amp;lt;code&amp;gt;lsblk&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;blkid&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
First download Alpine&#039;s [https://www.alpinelinux.org/downloads/ Xen install ISO], and either [[Burning ISOs|burn the ISO to a CD/DVD]] or write it to a USB storage device with the following command, where &amp;lt;code&amp;gt;3.12.0&amp;lt;/code&amp;gt; should be replaced with the release number of your downloaded ISO and &amp;lt;code&amp;gt;/dev/sdx&amp;lt;/code&amp;gt; should be replaced with the drive letter of your USB:&lt;br /&gt;
&amp;lt;pre&amp;gt;dd if=alpine-xen-3.12.0-x86_64.iso of=/dev/sdx&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installation ====&lt;br /&gt;
Now boot from your CD or USB, and type &#039;root&#039; when prompted for a username. After you have logged in run &amp;lt;code&amp;gt;setup-xen-dom0&amp;lt;/code&amp;gt;, then continue with a standard [[Install to disk|Alpine installation]] until you get to the prompt asking to choose your network card.&lt;br /&gt;
What you&#039;ll want to do is select what is to be your internet-facing interface, and when asked to bridge it type &#039;yes&#039;. Then you can configure the networking settings of your bridge device, &amp;lt;code&amp;gt;br0&amp;lt;/code&amp;gt;, as you would have configured your internet-facing interface.&lt;br /&gt;
{{Note|You cannot bridge a WiFi interface in the automatic installation script due to incompatible protocols. Make sure you pick an ethernet interface for this.}}&lt;br /&gt;
Now continue with your installation to disk until you reach the &#039;reboot&#039; prompt. There are a few more things to do before you can boot without errors:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# xen-hypervisor isn&#039;t installed by default with Xen so we must install it manually&lt;br /&gt;
apk add xen-hypervisor&lt;br /&gt;
apk add bridge&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can safely reboot after removing your install medium, making sure to pick the &amp;lt;code&amp;gt;Alpine Linux v3.12, with Xen 4.13.1 and Linux lts&amp;lt;/code&amp;gt; boot option in your GRUB menu, with 3.12 and 4.13.1 replaced with your Linux and Xen version numbers, respectively.&lt;br /&gt;
&lt;br /&gt;
After this, [[Enable Community Repository|enable the Alpine community repository]] and install the firmware to be used for Xen&#039;s virtual machines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
apk add seabios ovmf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to configure GRUB.&lt;br /&gt;
&lt;br /&gt;
=== Existing installation ===&lt;br /&gt;
First you must [[Enable Community Repository|enable the Alpine community repository]], then install Xen and the seabios (BIOS) and ovmf (UEFI) firmwares for its virtual machines.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# apk add xen xen-hypervisor seabios ovmf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will install Xen Hypervisor, xl cli command and all the required packages. The next step is to modify your GRUB configuration to properly boot Xen.&lt;br /&gt;
&lt;br /&gt;
== GRUB configuration ==&lt;br /&gt;
Once running a Xen kernel we will need to edit its command-line options and enable the setting of a default GRUB entry by inserting this at the bottom of &amp;lt;code&amp;gt;/etc/default/grub&amp;lt;/code&amp;gt;:&lt;br /&gt;
{{Cat|/etc/default/grub|&amp;lt;nowiki&amp;gt;# We need to set the amount of RAM we allocate to our Dom0 Alpine install so that&lt;br /&gt;
# our future virtual machines are left with enough memory.&lt;br /&gt;
GRUB_CMDLINE_XEN_DEFAULT=&amp;quot;dom0_mem=1024M,max:1024M&amp;quot;&lt;br /&gt;
&lt;br /&gt;
GRUB_DEFAULT=&amp;quot;saved&amp;quot;&lt;br /&gt;
GRUB_SAVEDEFAULT=&amp;quot;true&amp;quot;&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
You can replace 1024M with the amount of memory you want to allocate to your Dom0 operating system.&lt;br /&gt;
After this you need to run the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;grub-mkconfig -o /boot/grub/grub.cfg&lt;br /&gt;
grub-set-default &amp;quot;$(grep ^menuentry | grep Xen | cut -d \&#039; -f 2 | head -1)&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
What this does is set your default entry in GRUB to the first entry containing &#039;Xen&#039;. Run this every time you upgrade Alpine or Xen.&lt;br /&gt;
&lt;br /&gt;
== Loop Devices ==&lt;br /&gt;
If you plan to use more than 8 DomU&#039;s, you may need to increase the amount of loop-devices in your Dom0.&lt;br /&gt;
&lt;br /&gt;
In Alpine Linux, you will need to add the &#039;&#039;max_loop&#039;&#039; option to the &#039;&#039;loop&#039;&#039; module, then add the loop module to your initramfs.&lt;br /&gt;
&lt;br /&gt;
Start by populating &amp;lt;code&amp;gt;/etc/modprobe.d/loop.conf&amp;lt;/code&amp;gt; with the module options:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# touch /etc/modprobe.d/loop.conf&lt;br /&gt;
# echo &amp;quot;options loop max_loop=32&amp;quot; &amp;gt; /etc/modprobe.d/loop.conf&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now reflect the module options in the initramfs:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# mkinitfs&lt;br /&gt;
# reboot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Xen Dom0 on USB or SD]]&lt;br /&gt;
* [https://wiki.gentoo.org/wiki/Xen#Host_configuration_.28domain-0.29|Xen page on Gentoo wiki]&lt;br /&gt;
[[Category:Virtualization]]&lt;/div&gt;</summary>
		<author><name>Shelly</name></author>
	</entry>
</feed>