Workaround to Attach Block and USB Devices to Win Qube(s) Under 4.2
- Original forum link
- https://forum.qubes-os.org/t/28117
- Original poster
- tempmail
- Created at
- 2024-08-07 01:17:04
- Posts count
- 61
- Likes count
- 11
I have found never uglier way to achieve some goal.
IF YOU ARE WILLING TO RISK AND MESS WITH POTENTIALLY COMPROMISED XEN WI(N)DOWS PV DRIVERS, here's how to do it.
- Create Win HVM.
- Downgrade dom0 to qwt 4.1.69-1.
- Start Win qube for QWT installation (
qvm-start win-qube --install-windows-tools
).
- Install qwt as usual in Win qube and
DO NOT
install network and disk drivers.
- Copy
.msi
from CD-ROM to qube if you'll to take step 7. in this qube.
- Shutdown and start Win qube.
- Using specific program, like Universal Extractor under Windows, or correspondent under Linux (if there's any), extract .msi file from step 5 in order to get Xen disk drivers. If you did that in some other qube, copy it back to Win qube (qvm-copy-to-vm now works for Win qube, of course).
- In Device Manager, manually update/add the driver with the one found in
xenvbd
folder extracted from .msi file, in order to install Xen PV Storage Host Adapter
.
- DO NOT "restart" (shutdown and start) WIn qube, or you're done. Press
NO
when asked to do so.
- Attach any block or USB device to Win qube.
- Do your business in the Win qube.
- When finished, detach device(s).
- UNINSTALL the driver you installed in step 8. in Device Manager
AND
make sure to mark/check the option "Attempt to remove the driver for this device"
, or you're done.
- Shutdown Win qube.
- When you want/need to use it again,
REPEAT
steps 8-14.
Admit you never seen uglier workaround!
Hopefully, it'll give to someone else idea what could be done to make the installation permanent.