Problems setting up QWT - block device dom0:loop8* not available

Hello everybody,

I have tried to install QWT into a qube, but I think I screwed something up and the laptop accidentally turned off and then I did some other things I don’t remember and now, whenever I try to start up the qube in any way it responds “Qube qube name failed to start: Block device dom0:loop8* not available”.

I tried using qvm-block detach qube name as per this post but it didn’t seem to solve anything… So now I am clueless as to how to even try to address the issue and as such ask for your help.

Thank you.

I had to learn that qubeos is incapable of removing no longer existing devices from a qube.
If the device is not available to the system, you can’t use the global devices gui nor the devices list per qube.

But, thsi knowledge comes from pci devices, if your block device matches 1:1 - idk.

To solve you can make a backup of your qubes.xml under /var/lib/qubes/ - find the qube in question - remove the assigned devices.
After a reboot or possibly restart or qubesd, it should work again.

It’s not clear to me did you try the command

qvm-block detach <qubename> dom0:loop8*

I was able to resolve same error, with another kind of block device that no longer existed, with this command. The block device name needed to be copied exactly from the error message.

I just tried removing the assigned devices again in the Global Config and it somehow worked… Didn’t even have to back anything up… I guess this was just me being silly, or maybe the qvm-block detach really did work… Thank you for the quick replies though everybody!

1 Like