Transform an HVM into a template ?

67 views
Skip to first unread message

Swâmi Petaramesh

unread,
May 22, 2017, 2:47:01 AM5/22/17
to qubes...@googlegroups.com
Hi there,

I have a Qubes Windows HVM which I have installed as a standalone HVM.

According to the documentation, it is also possible to create Windows
AppVMs from a template VM.

Is there a way I could convert my existing Windows HVM into a "template"
so I can derive AppVMs from it ?

I coudln't find this documented anywhere...

TIA for any help.

Best regards.


--
Swâmi Petaramesh <sw...@petaramesh.org> PGP 9076E32E

Grzesiek Chodzicki

unread,
May 22, 2017, 1:20:00 PM5/22/17
to qubes-users
Create a new TemplateHVM then copy the private.img and root.img to the appropriate folder

Swâmi Petaramesh

unread,
Jun 18, 2017, 9:07:12 AM6/18/17
to Grzesiek Chodzicki, qubes-users
Hi,

Thank you Grzesiek,

Le 22/05/2017 à 19:20, Grzesiek Chodzicki a écrit :
>>
>> I have a Qubes Windows HVM which I have installed as a standalone HVM.
...

>> Is there a way I could convert my existing Windows HVM into a "template"
>> so I can derive AppVMs from it ?

> Create a new TemplateHVM then copy the private.img and root.img to the appropriate folder

I tried this, but it didn't behave as expected : when I booted into the
resulting "Template VM"

1/ It first showed the Windows boot splash screen, which the original
VMV didn't do ;

2/ It complained it could not find the user and booted into the "default
user" with a black background ; I believe this has someting to do with
the user data being moved to private.img.

The disk structure for a template is somewhat different than the one for
a normal HVM... There is also a root-cow.img, a volatile.img... I don't
figure out yet this quite complex filesystem setup with overlays etc...

Any further help appreciated, for turning wy HVM into a template ;-)

TIA
Reply all
Reply to author
Forward
0 new messages