No - it was a fresh install of R4.2.0 and updated from there.
The test of the newly created Windows 10 VM on a new installation of R4.2.2 also did not provide access to the USB device.
Currently, I am completely losing any faith in Qubes R4.2.x. It simply has still too many bugs, compared with R4.1.2, and should, in my opinion, still be regarded as in beta status. (After the last updates, the updater only works after sys-net has been restarted, a bug that’s been mentioned earlier already. That’s just one of the annoying things.)
Which Windows 10 image did you use to install? What’s its sha256sum?
I can try to install fresh WIndows qube using the same image.
Also, can someone else confirm whether USB attachment in WIndos 10 qube without QWT works for them or not?
The image is Win10_22H2_German_x64.iso, dated September 08, 2022, with checksum A676A5E18036C49502D1F490FCA8EF69B3BBDBAB91800106ADB37A81B09C3DEE and installed as Windows 10 Pro
By the way, I copied the VM to Qubes R4.1.2, and there it does not have access to the USB drive, too. Installing QWT 4.1.68 with the Xen PV disk driver provides this access.
I can’t find the image with this checksum.
I’ve found the German Windows 10, version 22H2 [19045.2006] (Updated September 2022) image info but its checksum should be:
SHA-256: fd054604370c19149ccef7cdddbb3009d5f65a59f8071e52e46ed3f98f05aa56
Maybe your image is corrupted?
Can you download the latest Windows 10 image and try to install it?
Just to make sure, you didn’t forget to set qvm-features qubename stubdom-qrexec 1?
I didn’t go to files.rg-adguard.net, because my Firefox flags this as a malware site.
Anyhow, I don’t think that this is version-dependent, as the other tests, using Windows 7, and Windows 10 version [19045.3636] had the same results. Just Windows 11 is still worse, as it does not allow attaching the USB drive via the Qube Manager but only via CLI, and the drive is not seen in the VM.
In any case, I checked stubdom-qrexec, and it was set.
And later confirm (to some extent) that this image is valid by checking the cryptographic hash of the downloaded image and searching it using any search engine.
I’d still try to install the official MSDN Windows image for a test. I don’t know what else could be different if you’ve tried it in the new Qubes OS 4.2 installation without any custom patched files in dom0.
I think this is wrong path to follow. If things work under some terms, and under the other it doesn’t work, then it’s about the terms. Here, it’s all about Qubes 4.2, since everything worked under 4.1.
My setup:
Qubes OS 4.2 with latest current-testing dom0 updates and without any patched files (stubdom-rootfs/etc).
Windows 10 installed in a HVM qube with 4GiB memory and 4 VCPUs using the latest official MSDN WIndows 10 English image:
Windows 10 with latest updates installed and without any custom system config modifications or software installed.
I disagree, because it works for me in Qubes OS 4.2 so I don’t see how this is Qubes OS 4.1 vs Qubes OS 4.2 issue.
Maybe there are some more issues that appeared in Qubes OS 4.2 that are not present in Qubes OS 4.1 but not the ones that we are talking about.
We can wait for more people to come and check it in their Qubes OS 4.2 then before trying to trace the issue further.
You’re right: The Windows 10 VM copied back to R4.1.2 shows the same behavior there as under R4.2.2: It has access to the USB drive if and only if QWT with the Xen PV disk driver is installed.
Attaching block devices, which is the part of this topic’s subject, worked for me under 4.1, as well as attaching USB devices, when qwt were installed. Now it doesn’t work and this is workaround for that, so from my perspective it’s all about Qubes. Win qubes backed up under 4.1 don’t work under 4.2 and newly created win qubes will not work with Xen PV storage drivers, unless the way from OP.
Also, and the most important thing; there is no other way then from the OP to attach internal drives to a win qube, because it’s impossible for me to install Xen PV drivers v9.x. Did anyone except @apparatus ever succeeded to install them to be fully functional?
At least for the Windows Qubes restored from R4.2.2: This one had access to the USB drive only if running QWT with the Xen PV disk driver.
I now downloaded the official 22H2 image from the Microsoft website. It is larger now, dated March 05, 2023, and has the checksum D1A41A09E9AE09631A087EDF95D7F4EECAB622F88B3C824D856CFEA47FCC0B4C, which is what should be expected according the the website. (But who guarantees me that I am talking to the real website, and not a fake one?) So everything is different again - the usual mess with M$.