Is it possible to turn a Template HVM into an HVM?

35 views
Skip to first unread message

Achim Patzner

unread,
May 29, 2016, 10:32:02 AM5/29/16
to qubes-users
Hi!


I guess the subject said it already: If someone created a (Windows
7-based) Template HVM based on the assumption it would be a good idea to
do this to derive a number of HVMs from it but had to agree that it was
not one of his brightest ideas, is it possible to turn this Template HVM
into a standalone HVM?



Achim


Chris Laprise

unread,
May 29, 2016, 3:05:14 PM5/29/16
to Achim Patzner, qubes-users
You could create a new standalone hvm using the template as a source (in
the dialog, click standalone first, then hvm, then select the template).
If you're on btrfs, Qubes will create a reflink from the original disk
images, so it will be instant and take no extra space.

If not on btrfs, then it will duplicate all the data from the template
images. To avoid this, you can create a regular hvm (click hvm in the
dialog and standalone should grey-out) then manually move the root.img
and private.img files from the template to the new hvm.

Chris

Achim Patzner

unread,
May 29, 2016, 4:32:36 PM5/29/16
to qubes...@googlegroups.com
Am 29.05.2016 um 21:05 schrieb Chris Laprise:

> You could create a new standalone hvm using the template as a source
> (in the dialog, click standalone first, then hvm, then select the
> template).

Note to self: Think harder before asking... Done; worked. Thank you.


Achim

Chris Laprise

unread,
May 29, 2016, 7:32:40 PM5/29/16
to Achim Patzner, qubes...@googlegroups.com
Actually, its not that obvious in the GUI. The dialog is sort of broken
(issue was created for it) and you have to know what order to click on
things. I found this out by accident.

Chris
Reply all
Reply to author
Forward
0 new messages