Skip to main content

Command Palette

Search for a command to run...

XEN Hypervisor Project

How to convert a guest domU to a model or template to use as the installation source of later guess domains

Updated
1 min read

For this extremely short tutorial, I suppose you are familiar with the HXen hypervisor and what you specifically want to do is turn one of your VMs or DomUs installation into a template you can use to install other VMs.

I needed to do exactly the same some days ago, but I was facing some issues, so I am basically writing this article to help out those who may be having similar issues.

Basically the workflow to go from a domU to a template is the following:

  • Power off the domU
  • Make the domU disk available to the host system as a folder (mount the domu disk into the dom0)
  • Create a tar of the folder
  • Then, use the tar file as the installation source of other domUs
  1. Power off the domU
  2. Make the domU disk available to the host system as a folder (mount the domu disk into the dom0)
  3. Create a tar of the folder
  4. Then, use the tar file as the installation source of other domUs

Resources:

  • https://wiki.xenproject.org/wiki/Xen_Project_Beginners_Guide

More from this blog

Mensah David Assigbi's personal IT blog

28 posts