On Sat, Mar 04, 2017 at 04:18:56AM +0100, haaber wrote:
> Hello,
> 
> I want to base my disp-vm's on debian-8. So I run in dom0
> 
> > [me@dom0 dvmdata]$  sudo qvm-create-default-dvm debian-8
> > A VM with the name 'debian-8-dvm' does not exist in the system.
> 
> this is strange, since /var/lib.qubes/appvms/debian-8-dvm DOES exist.
> Running it with "sh -x" prefix, I find the problem here:
> > [me@dom0 dvmdata]$  sudo sh -x qvm-create-default-dvm debian-8
> > [..]
> > + /usr/lib/qubes/qubes-prepare-saved-domain.sh debian-8-dvm
> /var/lib/qubes/appvms/debian- 8-dvm/dvm-savefile vm-default
> > A VM with the name 'debian-8-dvm' does not exist in the system.
> 
> so the error  is produced by qubes-prepare-saved-domain.sh. Prefixing
> the hurting command with  "bash -x" gives
> 
> >sudo bash -x qubes-prepare-saved-domain.sh debian-8-dvm
> /var/lib/qubes/appvms/debian- 8-dvm/dvm-savefile vm-default
> > [..]
> > + qvm-start debian-8-dvm --dvm
> > A VM with the name 'debian-8-dvm' does not exist in the system.
> 
> This is a python2 script. Running it with -v reveals
> 
> > [me@dom0 dvmdata]$ sudo /usr/bin/python2 -v /usr/bin/qvm-start
> debian-8-dvm --dvm
> > [..]
> > # /usr/lib64/python2.7/gettext.pyc matches /usr/lib64/python2.7/gettext.py
> > import gettext # precompiled from /usr/lib64/python2.7/gettext.pyc
> > # /usr/lib64/python2.7/locale.pyc matches /usr/lib64/python2.7/locale.py
> > import locale # precompiled from /usr/lib64/python2.7/locale.pyc
> > # /usr/lib64/python2.7/copy.pyc matches /usr/lib64/python2.7/copy.py
> > import copy # precompiled from /usr/lib64/python2.7/copy.pyc
> > A VM with the name 'debian-8-dvm' does not exist in the system.
> 
> Here I am stuck. May anybody help me understand what may go wrong here? 
> Bernhard
> 

Dont use sudo here - you may hit problems with permissions. The same
goes for all qube operations - qvm-clone, create etc.

Can you simply delete the  /var/lib/qubes/appvms/debian-8-dvm directory
and then try 'qvm-create-default-dvm debian-8' , and report back?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20170305234953.GB17750%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to