Hey guys,
So I’m finally getting back to my New Year’s Resolution of using all free software (i.e., TRULY free), and decided to switch from Virtualbox to KVM. Unfortunately, I’m having problems. I used Patrick’s instructions alongside those suggested by another member of this forum and ran into problems from the get-go due to having a separate root partition I had allotted just 10 GB :-. So you see what happened there.
Anyway, I had a light bulb go off and say, “hey! You know what you could do? Instead of editing the XML files (because you don’t know how to do that, Gregg), you can use a program to mount the directory with the qcow files from my home folder to /var/lib/blahblah!” And so I did. I knew Veracrypt was capable of doing this, so I installed that and boys, I mounted it like a majestic stallion, right where the XML file said to. You should’ve seen it.
But lo, 'twas not to be. Now, every time I hit “play” I get the following:
Error starting domain: Cannot access storage file '/var/lib/libvirt/images/Whonix-Gateway.qcow2' (as uid:118, gid:128): Permission denied
Under “Details,” I get this:
[code]Error starting domain: Cannot access storage file ‘/var/lib/libvirt/images/Whonix-Gateway.qcow2’ (as uid:118, gid:128): Permission denied
Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/asyncjob.py”, line 91, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File “/usr/share/virt-manager/virtManager/asyncjob.py”, line 127, in tmpcb
callback(*args, **kwargs)
File “/usr/share/virt-manager/virtManager/domain.py”, line 1355, in startup
self._backend.create()
File “/usr/lib/python2.7/dist-packages/libvirt.py”, line 999, in create
if ret == -1: raise libvirtError (‘virDomainCreate() failed’, dom=self)
libvirtError: Cannot access storage file ‘/var/lib/libvirt/images/Whonix-Gateway.qcow2’ (as uid:118, gid:128): Permission denied
[/code]
“Permission denied.” Pretty clearly a permission problem, right? So I started virt-manager as root (I know, I know–shame on me) and tried to start Whonix that way. Nope. Same exact thing. So is this an issue anyone else has had? My first guess was that this was due to my maverick, out-of-the-box thinking with respect to the Veracrypt thing: I know Veracrypt does, after all, have some permission problems of its own unless one uses NTFS formatting [url=http://sourceforge.net/p/veracrypt/discussion/technical/thread/e7e51852/]VeraCrypt / Forums / Technical Topics: Can´t write to mounted volume as regular user, but I did use NTFS formatting, and I’ve never had a problem with it before.
Any and all help would be greatly appreciated.
Oh, I’m also on Debian as host.
P.S. Just out of curiosity (this isn’t an important enough question to start a new thread over): has anyone had luck getting Whonix to run under a BSD system?