qvm-create-windows-qube icon indicating copy to clipboard operation
qvm-create-windows-qube copied to clipboard

An unexpected error has occured! Exiting...

Open fk3ma opened this issue 2 years ago • 5 comments

I don't know how to copy and paste out of dom0 so I will just retype this manually

$ qvm-create-windows-qube -n sys-whonix -oyw -i win10x64-enterprise-eval.iso -a win10x64-enterprise-eval.xml win10-work Preparing Windows media for automatic installation ... Starting creation of win10-work ... Commencing first part of Windows installation process ... Commencing second part of Windows installation process ... Preparing Qubes Windows Tools for automatic installation ... [!] An unexpected error as occured! Exiting ...

fk3ma avatar Sep 17 '21 03:09 fk3ma

I know exactly what the issue is. You created the windosx-mgmt template on fedora 32 and then you switched all your template bases to fedora 33. Revert that template back to fedora 32.

cm157 avatar Sep 19 '21 20:09 cm157

The most likely issue is that your windows-mgmt ran out of disk space causing the creation of the QWT automatic installation ISO to fail. Try making sure your VM has ample space in the private volume and report back if increasing it doesn't fix the problem.

@cm157 No, fedora-33 definitely works. It's the same template my windows-mgmt is using.

ElliotKillick avatar Oct 14 '21 02:10 ElliotKillick

This may also be due to using QubesOS R4.1, as there is no qubes-windows-tools.iso in the offical repo (yet).

brendanhoar avatar Oct 28 '21 17:10 brendanhoar

I'm getting this same "An unexpected error has occurred! Exiting..." message when I run install.sh

In my case, the error appears to be related to PGP signatures that are checked immediately after cloning the qvm-create-windows-qube repository. After printing Please check for a "Good signature" from GPG (Verify it out-of-band if necessary)..., there's gpg output that includes the following:

gpg: key F83DD5F2: no valid user IDs gpg: this may be caused by a missing self-signature gpg: Total number processed: 1 gpg: w/o user IDs: 1 [!] An unexpected error has occurred! Exiting...

I can open a new ticket if this is a different error from what was originally posted in this issue. I'm using a fully patched Qubes 4.0 installation and fedora-29. I have about 300GB of disk space available.

anon8675309 avatar Nov 05 '21 16:11 anon8675309

@anon8675309 Thanks for providing ample information so I can accurately diagnose your problem. The issue arises due to the very out-of-date version of Fedora you're using (29). You shouldn't be using that version because it's no longer getting updates as of November 26th, 2019 (this includes security updates). Please upgrade to Fedora 30 or higher to fix it.

By the way, this is a duplicate: https://github.com/elliotkillick/qvm-create-windows-qube/issues/6#issuecomment-582132922

ElliotKillick avatar Nov 06 '21 00:11 ElliotKillick

Closing as Brendan is probably correct here.

ElliotKillick avatar Jun 10 '23 06:06 ElliotKillick