You are not logged in.

#1 2021-05-10 12:31:15

hinney
Member
Registered: 2021-05-09
Posts: 1

Permission denied with qemu VM/windows 10

Hello!
I have a similar problem. I wanted to install win10 on a QEMU VM. but i get this error. Does anyone know what i should do? Thanks!
Installation konnte nicht fertiggestellt werden: «Interner Fehler: process exited while connecting to monitor: 2021-05-10T12:17:32.684955Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/run/media/ur_mom/vm garbage/Windows.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}: Could not open '/run/media/ur_mom/vm garbage/Windows.iso': Permission denied»

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 65, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/createvm.py", line 2001, in _do_async_install
    installer.start_install(guest, meter=meter)
  File "/usr/share/virt-manager/virtinst/install/installer.py", line 701, in start_install
    domain = self._create_guest(
  File "/usr/share/virt-manager/virtinst/install/installer.py", line 649, in _create_guest
    domain = self.conn.createXML(install_xml or final_xml, 0)
  File "/usr/lib/python3.9/site-packages/libvirt.py", line 4366, in createXML
    raise libvirtError('virDomainCreateXML() failed')
libvirt.libvirtError: Interner Fehler: process exited while connecting to monitor: 2021-05-10T12:17:32.684955Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/run/media/ur_mom/vm garbage/Windows.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}: Could not open '/run/media/ur_mom/vm garbage/Windows.iso': Permission denied

Last edited by hinney (2021-05-10 12:33:42)


egg

Offline

#2 2021-05-10 13:04:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,334

Re: Permission denied with qemu VM/windows 10

Please use code tags rather than highlighting for pasting command output.

Your problem also doesn't look at all related to the issue you original posted in, don't hijack threads.

What are the file permissions on that stick you appear to have mounted there? If these files belong to your local user it's likely that the libvirt user cannot access the path, you might have to adjust permissions here.

Mod Note: Split from https://bbs.archlinux.org/viewtopic.php?id=266192

Offline

Board footer

Powered by FluxBB