[qubes-users] No qvm-create-windows-qube after running script

  1. ok im stuck again [i] Creating windows-mgmt… app: Error creating VM: VM windows-mgmt already exists [!] An unexpected error has occurred! Exiting…

    C

  2. https://github.com/elliotkillick/qvm-create-windows-qube

  3. 10:13i followed the instructions in here but do not have a qvm-create-windows-qube command in dom0; the installation seemed to go fine but gave me the UNEXPECTED ERROR HAS OCCURED, EXITING message towards the end of the initial install. Not sure what to do

tl;dr the script worked but didn’t work and I’m not too sure what to do now. I’m trying to get a windows 10 HVM online but it isn’t working out thus far. I just wanna play some KOTOR lol

What do I do?

[user@dom0 ~]$ sudo chmod +x install.sh && ./install.sh
[i] Creating windows-mgmt…
[i] Increasing storage capacity of windows-mgmt…
[i] Starting fedora-32…
[i] Installing package dependencies on fedora-32…
Warning: Enforcing GPG signature check globally as per active RPM security policy (see ‘gpgcheck’ in dnf.conf(5) for how to squelch this message)
Last metadata expiration check: 0:12:46 ago on Wed Jul 21 10:07:58 2021.
Package genisoimage-1.1.11-44.fc32.x86_64 is already installed.
Package geteltorito-0.6-11.fc32.noarch is already installed.
Package datefudge-1.23-1.fc32.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[i] Shutting down fedora-32…
[i] Starting windows-mgmt…
[i] Cloning qvm-create-windows-qube GitHub repository…
Cloning into ‘qvm-create-windows-qube’…
[i] Please check for a “Good signature” from GPG (Verify it out-of-band if necessary)…
[!] An unexpected error has occurred! Exiting…
[user@dom0 ~]$

Logs below.

Attempted fix: Set dom-0 updates to run off of sys-firewall. Same error appears
[user@dom0 ~]$ ls
Desktop Downloads Music Public Videos
Documents install.sh Pictures Templates
[user@dom0 ~]$ chmod +x install.sh && ./install.sh
[i] Creating windows-mgmt…
app: Error creating VM: VM windows-mgmt already exists
[!] An unexpected error has occurred! Exiting…
[user@dom0 ~]$ chmod +x install.sh && ./install.sh
[i] Creating windows-mgmt…
[i] Increasing storage capacity of windows-mgmt…
[i] Starting fedora-32…
[i] Installing package dependencies on fedora-32…
Warning: Enforcing GPG signature check globally as per active RPM security policy (see ‘gpgcheck’ in dnf.conf(5) for how to squelch this message)
Copr repo for element owned by taw 775 B/s | 3.6 kB 00:04
Fedora 32 openh264 (From Cisco) - x86_64 471 B/s | 989 B 00:02
Fedora Modular 32 - x86_64 7.6 kB/s | 13 kB 00:01
Fedora Modular 32 - x86_64 - Updates 4.6 kB/s | 12 kB 00:02
Fedora 32 - x86_64 - Updates 2.8 kB/s | 12 kB 00:04
Fedora 32 - x86_64 3.9 kB/s | 13 kB 00:03
mono-centos8-stable 1.1 kB/s | 2.9 kB 00:02
Qubes OS Repository for VM (updates) 1.6 kB/s | 3.8 kB 00:02
RPM Fusion for Fedora 32 - Free - Updates 818 B/s | 2.4 kB 00:02
RPM Fusion for Fedora 32 - Free 943 B/s | 2.5 kB 00:02
RPM Fusion for Fedora 32 - Nonfree - Updates 1.1 kB/s | 2.4 kB 00:02
RPM Fusion for Fedora 32 - Nonfree 1.0 kB/s | 2.6 kB 00:02
Package genisoimage-1.1.11-44.fc32.x86_64 is already installed.
Package geteltorito-0.6-11.fc32.noarch is already installed.
Package datefudge-1.23-1.fc32.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[i] Shutting down fedora-32…
[i] Starting windows-mgmt…
[i] Cloning qvm-create-windows-qube GitHub repository…
Cloning into ‘qvm-create-windows-qube’…
[i] Please check for a “Good signature” from GPG (Verify it out-of-band if necessary)…
[!] An unexpected error has occurred! Exiting…
[user@dom0 ~]$

Everything now works. Turns out you need to set netvm and dom0 update vm to sys-firewall to make this work. My settings used sys-whonix to do updates initially.

Per Thierry: “The install.sh in this case should not use sys-whonix to call gpg to receive the public key of kellick”

Once we switched off of sys-whonix, the script works.

[user@dom0 ~]$ chmod +x install.sh && ./install.sh
[i] Creating windows-mgmt…
[i] Increasing storage capacity of windows-mgmt…
[i] Starting fedora-32…
[i] Installing package dependencies on fedora-32…
Warning: Enforcing GPG signature check globally as per active RPM security policy (see ‘gpgcheck’ in dnf.conf(5) for how to squelch this message)
Last metadata expiration check: 0:09:31 ago on Wed Aug 4 11:27:47 2021.
Package genisoimage-1.1.11-44.fc32.x86_64 is already installed.
Package geteltorito-0.6-11.fc32.noarch is already installed.
Package datefudge-1.23-1.fc32.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[i] Shutting down fedora-32…
[i] Starting windows-mgmt…
[i] Cloning qvm-create-windows-qube GitHub repository…
Cloning into ‘qvm-create-windows-qube’…
[i] Please check for a “Good signature” from GPG (Verify it out-of-band if necessary)…
gpg: Signature made Sat Nov 30 02:48:44 2019 EST
gpg: using EDDSA key 018FB9DE6DFA13FB18FB5552F9B90D44F83DD5F2
gpg: Good signature from “Elliot Killick elliotkillick@zohomail.eu” [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 018F B9DE 6DFA 13FB 18FB 5552 F9B9 0D44 F83D D5F2
[i] Remember to download the desired version(s) of Windows using download-windows.sh in the windows-mgmt qube…
Usage: /home/user/Documents/qvm-create-windows-qube/windows-media/isos/download-windows.sh <windows_media>…

Download specified list of Windows media.

Specify “all”, or one or more of the following Windows media:
win7x64-ultimate
win81x64
win10x64
win81x64-enterprise-eval
win10x64-enterprise-eval
win10x64-ltsc-eval
win2008r2
win2012r2-eval
win2016-eval
win2019-eval

Important: The direct ISO downloads listed here are not necessarily subject to being updated and it is therefore recommended that the source referenced above each curl command in the script is checked to see if a newer version is available. Contributions regarding updates for these links are welcome.
[i] Shutting down windows-mgmt…
[i] Air gapping windows-mgmt…
[i] Installing Qubes Windows Tools…
Using sys-firewall as UpdateVM to download updates for Dom0; this may take some time…
Warning: Enforcing GPG signature check globally as per active RPM security policy (see ‘gpgcheck’ in dnf.conf(5) for how to squelch this message)
Fedora 25 - x86_64 - Updates 6.6 MB/s | 24 MB 00:03
Fedora 25 - x86_64 9.0 MB/s | 50 MB 00:05
Qubes Dom0 Repository (updates) 2.5 MB/s | 2.9 MB 00:01
determining the fastest mirror (14 hosts)… done.-- B/s | 0 B --:-- ETA
Qubes Templates repository 4.1 kB/s | 5.9 kB 00:01
Last metadata expiration check: 0:00:01 ago on Wed Aug 4 11:38:54 2021.
Dependencies resolved.