UTM icon indicating copy to clipboard operation
UTM copied to clipboard

Utm stop when loading the iso

Open abc-JYL opened this issue 1 year ago • 9 comments

When I create a new Virtual Machine (The first one that I create), which is a windows xp 64bit vm, when I run the vm a error popout: QEMU error: QEMU exited from an error: qemu-x86_64-softmmu: -drive if=none,media=cdrom,id=drive70AE1DA2-42B1-466A-B782-82F1FDF8BA2D,file=/Users/jeremy/Documents/Zip/winxp/Windows XP Professional 64 bit/Wiindows XP Professional 64 bit.iso,readonly=on: Could not open '/Users/jeremy/Documents/Zip/winxp/Windows XP Professional 64 bit/Wiindows XP Professional 64 bit.iso': Permission denied

Also, when I try a different folder same thing happen.

Configuration

  • UTM Version: 4.4.4 (From homebrew)
  • macOS Version: 14.1.1 (23B81)
  • Mac Chip (Intel, M1, ...): M2

abc-JYL avatar Nov 30 '23 09:11 abc-JYL

Screenshot 2023-11-30 at 4 47 19 PM

abc-JYL avatar Nov 30 '23 09:11 abc-JYL

I have the same error with an ISO image either on NFS or in my ~/Downloads directory with my first attempt to use UTM.

Many apps now encounter permissions errors when first accessing local filesystems, but they all present a little dialog box to allow the user to grant permissions, but this does not seem to happen for UTM.

I'm running the latest UTM-4.4.5 (downloaded from the web site) on macOS 14.3 (intel)

robohack avatar Jan 24 '24 22:01 robohack

Explicitly adding UTM to the list of apps with "Full Disk Access" in "Privacy & Security" settings doesn't help (unsurprisingly since it is actually the QEMU program that's getting the error). It doesn't seem easy/possible to browse to the qemu binary inside UTM.app in order to give it full disk access.

robohack avatar Jan 25 '24 00:01 robohack

I still have the same issue even I update to 4.4.5 too and even give UTM Full Disk Access but it still not working.

abc-JYL avatar Jan 25 '24 10:01 abc-JYL

Also, I find out only loading the Linux kernel with initrd and disk image is working Screenshot 2024-01-25 at 17 08 10 Note NT LINUX is just a simple Linux that I have compiled.

abc-JYL avatar Jan 25 '24 10:01 abc-JYL

I have also tried giving UTM full disk access, but, like robohack noted, this was unsuccessful. UTM is also giving me a similar error even when the ISO is in a different directory within ~/.

magnuspraeda avatar Jan 29 '24 10:01 magnuspraeda

Even moving the ISO to another unprotected separate filesystem makes no difference.

robohack avatar Feb 05 '24 17:02 robohack

I learned that you can drag any (program) file from a Finder window and drop it on the "System Preferences" "Full Disk Access" panel in order to grant it full disk access, and of course with a full finder window one can navigate into the contents of an app, so I added qemu-x86_64-softmmu to the list.

However that did not help. Probably this "full disk access" aspect is an unrelated distraction.

robohack avatar Feb 05 '24 17:02 robohack

"Version 4.5.1 (96)" is now working A-OK for me.

robohack avatar Apr 02 '24 01:04 robohack