Can't use an ISO from a mounted drive
I'm on Fedora 31. I have an NTFS drive mounted at /mnt/hdd
(set up via GNOME Disks). It's mounted as root, but all files have full permissions, so it's possible to read/write/execute everything. However, trying to create an OS in Boxes using an ISO stored on that drive results in a failure.
Boxes 3.34.4-1.fc31.
Broker URL: qemu+unix:///session
Domain: boxes-unknown
UUID: 9a4b7936-03bb-40b1-bf2a-45c67cfcaaa3
Persistent: yes
Cpu time: 0
Memory: 4215392 KiB
Max memory: 16275192 KiB
CPUs: 8
State: GVIR_DOMAIN_STATE_SHUTOFF
Domain config:
------------------------------------------------------------
<domain type="kvm">
<name>boxes-unknown</name>
<uuid>9a4b7936-03bb-40b1-bf2a-45c67cfcaaa3</uuid>
<title>Solus-4</title>
<metadata>
<boxes:gnome-boxes xmlns:boxes="https://wiki.gnome.org/Apps/Boxes">
<os-state>live</os-state>
<media>/mnt/hdd/Users/YaLTeR/Downloads/Solus-4.1-Budgie/Solus-4.1-Budgie.iso</media>
</boxes:gnome-boxes>
</metadata>
<memory unit="KiB">4215392</memory>
<currentMemory unit="KiB">4215392</currentMemory>
<vcpu placement="static">8</vcpu>
<os>
<type arch="x86_64" machine="pc-i440fx-4.1">hvm</type>
<boot dev="cdrom"/>
<boot dev="hd"/>
<bootmenu enable="yes"/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode="host-passthrough" check="none">
<topology sockets="1" cores="4" threads="2"/>
</cpu>
<clock offset="utc">
<timer name="rtc" tickpolicy="catchup"/>
<timer name="pit" tickpolicy="delay"/>
<timer name="hpet" present="no"/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>destroy</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled="no"/>
<suspend-to-disk enabled="no"/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2" cache="writeback"/>
<source file="/home/yalter/.local/share/gnome-boxes/images/boxes-unknown"/>
<target dev="hda" bus="ide"/>
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
</disk>
<disk type="file" device="cdrom">
<driver name="qemu" type="raw"/>
<source file="/mnt/hdd/Users/YaLTeR/Downloads/Solus-4.1-Budgie/Solus-4.1-Budgie.iso" startupPolicy="mandatory"/>
<target dev="hdc" bus="ide"/>
<readonly/>
<address type="drive" controller="0" bus="1" target="0" unit="0"/>
</disk>
<controller type="usb" index="0" model="ich9-ehci1">
<address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x7"/>
</controller>
<controller type="usb" index="0" model="ich9-uhci1">
<master startport="0"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0" multifunction="on"/>
</controller>
<controller type="usb" index="0" model="ich9-uhci2">
<master startport="2"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x1"/>
</controller>
<controller type="usb" index="0" model="ich9-uhci3">
<master startport="4"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x2"/>
</controller>
<controller type="pci" index="0" model="pci-root"/>
<controller type="ide" index="0">
<address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
</controller>
<controller type="virtio-serial" index="0">
<address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x0"/>
</controller>
<controller type="ccid" index="0">
<address type="usb" bus="0" port="1"/>
</controller>
<interface type="bridge">
<mac address="52:54:00:64:51:99"/>
<source bridge="virbr0"/>
<model type="rtl8139"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
</interface>
<smartcard mode="passthrough" type="spicevmc">
<address type="ccid" controller="0" slot="0"/>
</smartcard>
<serial type="pty">
<target type="isa-serial" port="0">
<model name="isa-serial"/>
</target>
</serial>
<console type="pty">
<target type="serial" port="0"/>
</console>
<channel type="spicevmc">
<target type="virtio" name="com.redhat.spice.0"/>
<address type="virtio-serial" controller="0" bus="0" port="1"/>
</channel>
<channel type="spiceport">
<source channel="org.spice-space.webdav.0"/>
<target type="virtio" name="org.spice-space.webdav.0"/>
<address type="virtio-serial" controller="0" bus="0" port="2"/>
</channel>
<input type="mouse" bus="ps2"/>
<input type="keyboard" bus="ps2"/>
<graphics type="spice">
<listen type="none"/>
<image compression="off"/>
<gl enable="no"/>
</graphics>
<sound model="ich6">
<address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0"/>
</sound>
<video>
<model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1" primary="yes">
<acceleration accel3d="no"/>
</model>
<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/>
</video>
<redirdev bus="usb" type="spicevmc">
<address type="usb" bus="0" port="2"/>
</redirdev>
<redirdev bus="usb" type="spicevmc">
<address type="usb" bus="0" port="3"/>
</redirdev>
<redirdev bus="usb" type="spicevmc">
<address type="usb" bus="0" port="4"/>
</redirdev>
<redirdev bus="usb" type="spicevmc">
<address type="usb" bus="0" port="5"/>
</redirdev>
<memballoon model="virtio">
<address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0"/>
</memballoon>
</devices>
</domain>
------------------------------------------------------------
QEMU log:
------------------------------------------------------------
2020-03-04 08:59:26.119+0000: starting up libvirt version: 5.6.0, package: 5.fc31 (Fedora Project, 2019-11-11-20:24:00, ), qemu version: 4.1.1qemu-4.1.1-1.fc31, kernel: 5.5.7-200.fc31.x86_64, hostname: autumnblaze
LC_ALL=C \
PATH=/home/yalter/.local/bin:/home/yalter/.fzf/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/yalter/.cargo/bin \
HOME=/home/yalter \
USER=yalter \
LOGNAME=yalter \
XDG_CACHE_HOME=/home/yalter/.config/libvirt/qemu/lib/domain-3-boxes-unknown/.cache \
QEMU_AUDIO_DRV=spice \
/usr/bin/qemu-system-x86_64 \
-name guest=boxes-unknown,debug-threads=on \
-S \
-object secret,id=masterKey0,format=raw,file=/home/yalter/.config/libvirt/qemu/lib/domain-3-boxes-unknown/master-key.aes \
-machine pc-i440fx-4.1,accel=kvm,usb=off,dump-guest-core=off \
-cpu host \
-m 4117 \
-overcommit mem-lock=off \
-smp 8,sockets=1,cores=4,threads=2 \
-uuid 9a4b7936-03bb-40b1-bf2a-45c67cfcaaa3 \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=31,server,nowait \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=utc,driftfix=slew \
-global kvm-pit.lost_tick_policy=delay \
-no-hpet \
-no-reboot \
-global PIIX4_PM.disable_s3=1 \
-global PIIX4_PM.disable_s4=1 \
-boot menu=on,strict=on \
-device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7 \
-device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5 \
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1 \
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \
-device usb-ccid,id=ccid0,bus=usb.0,port=1 \
-drive file=/home/yalter/.local/share/gnome-boxes/images/boxes-unknown,format=qcow2,if=none,id=drive-ide0-0-0,cache=writeback \
-device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2,write-cache=on \
-drive file=/mnt/hdd/Users/YaLTeR/Downloads/Solus-4.1-Budgie/Solus-4.1-Budgie.iso,format=raw,if=none,id=drive-ide0-1-0,readonly=on \
-device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \
-netdev tap,fd=36,id=hostnet0 \
-device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:64:51:99,bus=pci.0,addr=0x3 \
-chardev spicevmc,id=charsmartcard0,name=smartcard \
-device ccid-card-passthru,chardev=charsmartcard0,id=smartcard0,bus=ccid0.0 \
-chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \
-chardev spicevmc,id=charchannel0,name=vdagent \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 \
-chardev spiceport,id=charchannel1,name=org.spice-space.webdav.0 \
-device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0 \
-spice port=0,disable-ticketing,image-compression=off,seamless-migration=on \
-device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2 \
-device intel-hda,id=sound0,bus=pci.0,addr=0x4 \
-device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
-chardev spicevmc,id=charredir0,name=usbredir \
-device usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2 \
-chardev spicevmc,id=charredir1,name=usbredir \
-device usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=3 \
-chardev spicevmc,id=charredir2,name=usbredir \
-device usb-redir,chardev=charredir2,id=redir2,bus=usb.0,port=4 \
-chardev spicevmc,id=charredir3,name=usbredir \
-device usb-redir,chardev=charredir3,id=redir3,bus=usb.0,port=5 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
2020-03-04 08:59:26.119+0000: Domain id=3 is tainted: host-cpu
char device redirected to /dev/pts/10 (label charserial0)
2020-03-04T08:59:26.153321Z qemu-system-x86_64: -drive file=/mnt/hdd/Users/YaLTeR/Downloads/Solus-4.1-Budgie/Solus-4.1-Budgie.iso,format=raw,if=none,id=drive-ide0-1-0,readonly=on: Could not open '/mnt/hdd/Users/YaLTeR/Downloads/Solus-4.1-Budgie/Solus-4.1-Budgie.iso': Permission denied
2020-03-04 08:59:26.186+0000: shutting down, reason=failed
2020-03-04 08:59:51.007+0000: starting up libvirt version: 5.6.0, package: 5.fc31 (Fedora Project, 2019-11-11-20:24:00, ), qemu version: 4.1.1qemu-4.1.1-1.fc31, kernel: 5.5.7-200.fc31.x86_64, hostname: autumnblaze
LC_ALL=C \
PATH=/home/yalter/.local/bin:/home/yalter/.fzf/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/yalter/.cargo/bin \
HOME=/home/yalter \
USER=yalter \
LOGNAME=yalter \
XDG_CACHE_HOME=/home/yalter/.config/libvirt/qemu/lib/domain-4-boxes-unknown/.cache \
QEMU_AUDIO_DRV=spice \
/usr/bin/qemu-system-x86_64 \
-name guest=boxes-unknown,debug-threads=on \
-S \
-object secret,id=masterKey0,format=raw,file=/home/yalter/.config/libvirt/qemu/lib/domain-4-boxes-unknown/master-key.aes \
-machine pc-i440fx-4.1,accel=kvm,usb=off,dump-guest-core=off \
-cpu host \
-m 4117 \
-overcommit mem-lock=off \
-smp 8,sockets=1,cores=4,threads=2 \
-uuid 9a4b7936-03bb-40b1-bf2a-45c67cfcaaa3 \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=31,server,nowait \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=utc,driftfix=slew \
-global kvm-pit.lost_tick_policy=delay \
-no-hpet \
-no-reboot \
-global PIIX4_PM.disable_s3=1 \
-global PIIX4_PM.disable_s4=1 \
-boot menu=on,strict=on \
-device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7 \
-device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5 \
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1 \
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \
-device usb-ccid,id=ccid0,bus=usb.0,port=1 \
-drive file=/home/yalter/.local/share/gnome-boxes/images/boxes-unknown,format=qcow2,if=none,id=drive-ide0-0-0,cache=writeback \
-device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2,write-cache=on \
-drive file=/mnt/hdd/Users/YaLTeR/Downloads/Solus-4.1-Budgie/Solus-4.1-Budgie.iso,format=raw,if=none,id=drive-ide0-1-0,readonly=on \
-device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \
-netdev tap,fd=36,id=hostnet0 \
-device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:64:51:99,bus=pci.0,addr=0x3 \
-chardev spicevmc,id=charsmartcard0,name=smartcard \
-device ccid-card-passthru,chardev=charsmartcard0,id=smartcard0,bus=ccid0.0 \
-chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \
-chardev spicevmc,id=charchannel0,name=vdagent \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 \
-chardev spiceport,id=charchannel1,name=org.spice-space.webdav.0 \
-device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0 \
-spice port=0,disable-ticketing,image-compression=off,seamless-migration=on \
-device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2 \
-device intel-hda,id=sound0,bus=pci.0,addr=0x4 \
-device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
-chardev spicevmc,id=charredir0,name=usbredir \
-device usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2 \
-chardev spicevmc,id=charredir1,name=usbredir \
-device usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=3 \
-chardev spicevmc,id=charredir2,name=usbredir \
-device usb-redir,chardev=charredir2,id=redir2,bus=usb.0,port=4 \
-chardev spicevmc,id=charredir3,name=usbredir \
-device usb-redir,chardev=charredir3,id=redir3,bus=usb.0,port=5 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
2020-03-04 08:59:51.008+0000: Domain id=4 is tainted: host-cpu
char device redirected to /dev/pts/10 (label charserial0)
2020-03-04T08:59:51.043859Z qemu-system-x86_64: -drive file=/mnt/hdd/Users/YaLTeR/Downloads/Solus-4.1-Budgie/Solus-4.1-Budgie.iso,format=raw,if=none,id=drive-ide0-1-0,readonly=on: Could not open '/mnt/hdd/Users/YaLTeR/Downloads/Solus-4.1-Budgie/Solus-4.1-Budgie.iso': Permission denied
2020-03-04 08:59:51.067+0000: shutting down, reason=failed
2020-03-04 09:00:27.674+0000: starting up libvirt version: 5.6.0, package: 5.fc31 (Fedora Project, 2019-11-11-20:24:00, ), qemu version: 4.1.1qemu-4.1.1-1.fc31, kernel: 5.5.7-200.fc31.x86_64, hostname: autumnblaze
LC_ALL=C \
PATH=/home/yalter/.local/bin:/home/yalter/.fzf/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/yalter/.cargo/bin \
HOME=/home/yalter \
USER=yalter \
LOGNAME=yalter \
XDG_CACHE_HOME=/home/yalter/.config/libvirt/qemu/lib/domain-5-boxes-unknown/.cache \
QEMU_AUDIO_DRV=spice \
/usr/bin/qemu-system-x86_64 \
-name guest=boxes-unknown,debug-threads=on \
-S \
-object secret,id=masterKey0,format=raw,file=/home/yalter/.config/libvirt/qemu/lib/domain-5-boxes-unknown/master-key.aes \
-machine pc-i440fx-4.1,accel=kvm,usb=off,dump-guest-core=off \
-cpu host \
-m 4117 \
-overcommit mem-lock=off \
-smp 8,sockets=1,cores=4,threads=2 \
-uuid 9a4b7936-03bb-40b1-bf2a-45c67cfcaaa3 \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=31,server,nowait \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=utc,driftfix=slew \
-global kvm-pit.lost_tick_policy=delay \
-no-hpet \
-no-reboot \
-global PIIX4_PM.disable_s3=1 \
-global PIIX4_PM.disable_s4=1 \
-boot menu=on,strict=on \
-device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7 \
-device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5 \
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1 \
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \
-device usb-ccid,id=ccid0,bus=usb.0,port=1 \
-drive file=/home/yalter/.local/share/gnome-boxes/images/boxes-unknown,format=qcow2,if=none,id=drive-ide0-0-0,cache=writeback \
-device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2,write-cache=on \
-drive file=/mnt/hdd/Users/YaLTeR/Downloads/Solus-4.1-Budgie/Solus-4.1-Budgie.iso,format=raw,if=none,id=drive-ide0-1-0,readonly=on \
-device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 \
-netdev tap,fd=36,id=hostnet0 \
-device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:64:51:99,bus=pci.0,addr=0x3 \
-chardev spicevmc,id=charsmartcard0,name=smartcard \
-device ccid-card-passthru,chardev=charsmartcard0,id=smartcard0,bus=ccid0.0 \
-chardev pty,id=charserial0 \
-device isa-serial,chardev=charserial0,id=serial0 \
-chardev spicevmc,id=charchannel0,name=vdagent \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 \
-chardev spiceport,id=charchannel1,name=org.spice-space.webdav.0 \
-device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0 \
-spice port=0,disable-ticketing,image-compression=off,seamless-migration=on \
-device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2 \
-device intel-hda,id=sound0,bus=pci.0,addr=0x4 \
-device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
-chardev spicevmc,id=charredir0,name=usbredir \
-device usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2 \
-chardev spicevmc,id=charredir1,name=usbredir \
-device usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=3 \
-chardev spicevmc,id=charredir2,name=usbredir \
-device usb-redir,chardev=charredir2,id=redir2,bus=usb.0,port=4 \
-chardev spicevmc,id=charredir3,name=usbredir \
-device usb-redir,chardev=charredir3,id=redir3,bus=usb.0,port=5 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
2020-03-04 09:00:27.675+0000: Domain id=5 is tainted: host-cpu
char device redirected to /dev/pts/10 (label charserial0)
2020-03-04T09:00:27.714485Z qemu-system-x86_64: -drive file=/mnt/hdd/Users/YaLTeR/Downloads/Solus-4.1-Budgie/Solus-4.1-Budgie.iso,format=raw,if=none,id=drive-ide0-1-0,readonly=on: Could not open '/mnt/hdd/Users/YaLTeR/Downloads/Solus-4.1-Budgie/Solus-4.1-Budgie.iso': Permission denied
2020-03-04 09:00:27.738+0000: shutting down, reason=failed
------------------------------------------------------------