issue with vfuse to create macOS with DEP for VM Fusion Pro

Flaurian
Contributor

Hello everyone,

I tried yesterday to set up a VM (macOS with DEP) via AutoDMG for VM Fusion but I got the following issue. Is anyone familiar with that?

VM Fusion Pro version: 11.5
Macbook Pro: 10.15.1

sudo vfuse  -i /users/myUSER/Desktop/vmcatalina.dmg -n "macOS15.1.0" -s C02YUZA848XX --hw-model MacBookPro13,1
Mounting /users/myUser/Desktop/vmcatalina.dmg
macOS version is 10.15.1
Unmounting /dev/disk2
Using VMware Fusion path: /Applications/VMware Fusion.app
Converting DMG to VMDK
|Error: AppleXPC: Failed to connect to service com.vmware.MountHelper
AppleXPC: Failed to connect to service com.vmware.MountHelper
HOSTDISK-MACOS: Failed communicating with mount helper.
AppleXPC: Failed to connect to service com.vmware.MountHelper
Failed to convert disk: This function cannot be performed because the handle is executing another function (0x5)
2 REPLIES 2

Flaurian
Contributor

I solved it with

--use-qemu /opt/local/bin/qemu-img

cpetroff
New Contributor

Running into a similar issue

Running as root...
Found /usr/local/vfuse/bin/vfuse
vfuse 3.0.0 installed
Found /Users/cpetroff/Documents/VMWARE/osx-10.15.7.dmg
{/quote}
Configuring Jamf compatible Virtual Machine
Mounting /Users/cpetroff/Documents/VMWARE/osx-10.15.7.dmg
macOS version is 10.15.7
Unmounting /dev/disk3
Using VMware Fusion path: /Applications/VMware Fusion.app
Converting DMG to VMDK
|Error: b'VixDiskLib: Failed to initialize PhoneHome library. AppleXPC: Failed to connect to service com.vmware.MountHelper AppleXPC: Failed to connect to service com.vmware.MountHelper HOSTDISK-MACOS: Failed communicating with mount helper. AppleXPC: Failed to connect to service com.vmware.MountHelper Failed to convert disk: This function cannot be performed because the handle is executing another function (0x5).'
Unmounting /dev/disk3+