No qvm-create-windows-qube after running script

46 views
Skip to first unread message

Chrome

unread,
Jul 21, 2021, 10:16:14 AM7/21/21
to qubes-users

  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. 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?

Chrome

unread,
Jul 21, 2021, 10:21:57 AM7/21/21
to qubes-users
[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 ~]$
 

Chrome

unread,
Aug 4, 2021, 11:31:34 AM8/4/21
to qubes-users
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 ~]$

Chrome

unread,
Aug 4, 2021, 11:58:29 AM8/4/21
to qubes-users
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 <elliot...@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.
================================================================================
 Package                 Arch       Version        Repository              Size
================================================================================
Installing:
 qubes-windows-tools     noarch     4.0.1-3        qubes-dom0-current      16 M

Transaction Summary
================================================================================
Install  1 Package

Total download size: 16 M
Installed size: 18 M
DNF will only download packages for the transaction.
Downloading Packages:
qubes-windows-tools-4.0.1-3.noarch.rpm          2.6 MB/s |  16 MB     00:05    
--------------------------------------------------------------------------------
Total                                           2.5 MB/s |  16 MB     00:06     
Complete!
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Qubes OS Repository for Dom0                     21 MB/s |  25 kB     00:00    
Dependencies resolved.
================================================================================
 Package                  Arch        Version      Repository              Size
================================================================================
Installing:
 qubes-windows-tools      noarch      4.0.1-3      qubes-dom0-cached       16 M

Transaction Summary
================================================================================
Install  1 Package

Total size: 16 M
Installed size: 18 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : qubes-windows-tools-4.0.1-3.noarch                          1/1
  Verifying   : qubes-windows-tools-4.0.1-3.noarch                          1/1

Installed:
  qubes-windows-tools.noarch 4.0.1-3                                            

Complete!
[i] Copying qvm-create-windows-qube main program to Dom0...
[+] Installation complete!
[user@dom0 ~]$ qvm-create-windows-qube -n sys-firewall -oyp firefox,notepadplus,office365proplus -i win10x64-ltsc-eval.iso -a win10x64-ltsc-eval.xml work-win10

 
Reply all
Reply to author
Forward
0 new messages