Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Errno 2] with 10.14.4 #59

Closed
motionbug opened this issue Apr 2, 2019 · 16 comments
Closed

[Errno 2] with 10.14.4 #59

motionbug opened this issue Apr 2, 2019 · 16 comments

Comments

@motionbug
Copy link

motionbug commented Apr 2, 2019

Two different builds of 10.14.4

  • Install_macOS_10.14.4-18E226.dmg
  • Install_macOS_10.14.4-18E2034.dmg

trying to use vfuse with template that worked before creating a new image for 10.14.4

Get the following error.

Thanks

[Errno 2] No such file or directory: '/Volumes/Install macOS Mojave/System/Library/CoreServices/SystemVersion.plist'

Update
Using the Install_macOS_10.14.3-18D42.dmg there are no issues creating a new VM

@motionbug
Copy link
Author

motionbug commented Apr 2, 2019

Template file being used and pointing too dmg(s)

{
"fusion_path": "/path/VMware Fusion.app",
"source_dmg": "/path/Install_macOS_10.14.4-18E2034.dmg",
"output_dir": "/path/",
"output_name": "CLIENT-10.14.4",
"hw_version": 16,
"mem_size": 4096,
"bridged": true,
"hw_model": "MacBookProXX",
"snapshot": true,
"snapshot_name": "preboot",
"serial_number": "XXXXXXXXX"
}

@chilcote
Copy link
Owner

chilcote commented Apr 4, 2019

How did you create these DMGs? "/Volumes/Install macOS Mojave" sounds like an installer DMG and not a system DMG built with AutoDMG.

@motionbug
Copy link
Author

Will check @chilcote and try again.

Thanks

@chilcote
Copy link
Owner

any luck?

@motionbug
Copy link
Author

we can close this.. created new DMG and working

@dstranathan
Copy link

dstranathan commented Jul 2, 2019

I an seeing the error "[Errno 2] No such file or directory: '/Volumes/Preboot 1/System/Library/CoreServices/SystemVersion.plist'"...

Using an AutoDMG-generated DMG containing macOS 10.14.5 (build 18F132).

Rebuilt it 3 times - no luck.

Vfuse 2.2.1
VMware Fusion Pro 11.1.0
AutoDMG 1.9
Apple "Install macOS Mojave.app" (10.14.5)

@rbu18
Copy link

rbu18 commented Jul 3, 2019

I'm facing the same issue " [Errno 2] No such file or directory: '/Volumes/Recovery 1/System/Library/CoreServices/SystemVersion.plist' "
Built the DMG from autodmg (using the app inside the dmg downloaded with installinstallmacos.py)
10.14.5 18F132

@dstranathan
Copy link

dstranathan commented Jul 3, 2019

Figured it out - I was performing all of this on a USB flash drive and for some reason the /Volumes/Preboot volume was appearing to Vfuse. Chilcote assisted me in Slack. I unmounted the volume and it worked. (he mentioned a possible long-term Vfuse fix will prevent/ignore this too).

@milkerson
Copy link

milkerson commented Jul 8, 2019

I'm facing the same issue " [Errno 2] No such file or directory: '/Volumes/Recovery 1/System/Library/CoreServices/SystemVersion.plist' "
Built the DMG from autodmg (using the app inside the dmg downloaded with installinstallmacos.py)
10.14.5 18F132

I had this same issue and dstranathan's solution worked for me. I manually mounted the DMG from AutoDMG, then manually unmounted the Preboot partition, then ran the vfuse command again and it went off without a hitch.

@luflores
Copy link

This is not working for me...perhaps I am doing it wrong. I download Install macOS Mojave.app and moved it to my ~/Downloads folder. Then open it on AutoDMG (Version 1.9 (578)), drag drop. Which cause the following msg:

  • Install will fail due to Apple bug
    A bug in the OS installer (radar 43296160) causes installs to fail if the Mojave installer is on the system volume. Copy it to an external volume or wrap it in a dmg before dropping it on AutoDMG.

I then copy the Install macOS Mojave.app to an USB drive and drag drop to AutoDMG. This complete and I run the following command that result in error.

Any idea how I can get around this ?

~/Downloads$` sudo /usr/local/vfuse/bin/vfuse -i /Users/luis/Downloads/osx-10.14.5-18F132.apfs.dmg -o /Users/luis/Virtual\ Machines.localized/ -s random --hw-model "MacBookPro13,3" -n "macOS_vfuse"
Password:
Mounting /Users/luis/Downloads/osx-10.14.5-18F132.apfs.dmg
[Errno 2] No such file or directory: '/Volumes/Preboot 1/System/Library/CoreServices/SystemVersion.plist'
Unmounting /Volumes/Preboot 1

@chilcote
Copy link
Owner

It appears that having a volume mounted at /Volumes/Preboot is way more common than I thought. I'll have to fix vfuse to be smarter about that.

In the meantime you can unmount that volume (diskutil eject /Volumes/Preboot) and then it shouldn't complain any more.

@luflores
Copy link

Thanks...no I got the following.

Password:
Mounting /Users/luis/Downloads/osx-10.14.5-18F132.apfs.dmg
macOS version is 10.14.5
Unmounting /Volumes/Macintosh HD
Using VMware Fusion path: /Applications/VMware Fusion.app
Converting DMG to VMDK
|Error: Unable to create the source raw disk: Resource deadlock avoided (720905).
There is a problem with your DMG; please re-create it and try again
Unmounting /dev/disk12```

I am using Fusion 11.1.0

@luflores
Copy link

I have recreated the DMG with AutoDMG 3 times :(

@luflores
Copy link

luflores commented Jul 14, 2019

I use the following and it worked!

~/Downloads$ sudo /usr/local/vfuse/bin/vfuse -i /Users/luis/Downloads/osx-10.14.5-18F132.apfs.dmg -o /Users/luis/Virtual\ Machines.localized/ -s random --hw-model "MacBookPro13,3" -n "macOS_ibm" --use-qemu
Mounting /Users/luis/Downloads/osx-10.14.5-18F132.apfs.dmg
macOS version is 10.14.5
Unmounting /Volumes/Macintosh HD
Using qemu-img path: /usr/local/bin/qemu-img
Converting DMG to VMDK
Populating VMX file
Unmounting /dev/disk12
VMware Fusion VM created at /Users/luis/Virtual Machines.localized/macOS_ibm.vmwarevm


@rbu18
Copy link

rbu18 commented Jul 15, 2019

I'm facing the same issue " [Errno 2] No such file or directory: '/Volumes/Recovery 1/System/Library/CoreServices/SystemVersion.plist' "
Built the DMG from autodmg (using the app inside the dmg downloaded with installinstallmacos.py)
10.14.5 18F132

Reboot and running the command again fixed it for me.

chilcote added a commit that referenced this issue Jul 15, 2019
@chilcote
Copy link
Owner

This should fix this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants