-
Notifications
You must be signed in to change notification settings - Fork 303
ERROR: unable to proceed with final disk image creation because the interstitial disk image was not found #164
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
Comments
Seeing a similar error as well on Sonoma 14.2.1. Code:
If I switch to HFS+ I see this:
Any thoughts on how to resolve this? |
I just had the same problem. For some reason, the system started returning a newline before /Volumes/dmg.XXXX. I patched it by changing line 149 of the script (inside |
After looking at it I had some observations but unfortunately no easy fix. The current hardcoded values for setting More specifically this line: Line 420 in b62ae1d
It assumes the first line will return the disk to be mounted, but it is wrong. This is probably what you will get for an APFS image:
As you see, from the output above, actually the one that comes from the last line is the one we want to search for. This also explains what @fsantini found, that in some cases, there is a newline before the actual mount point: because the disk name matching may match a disk without mount point at first, then in the second line, with a disk that have the mount point, hence the newline. My suggestion would be change the Line 422 in b62ae1d
and then change this for loop to just search for what passed in: Lines 144 to 152 in b62ae1d
but I'm not very sure if it will work for everyone. It works for me to generate an APFS image. |
Changing from APFS to HFS+ proceeds further, but I get stuck in unmounting the disk:
After that I'm left with an unsigned temp dmg. |
I have the same issue on HFS+ (newline before /Volumes/dmg.XXXX). What would be a generic solution for that? @gnattu, if I understand correctly, your solution is for APFS? Would it be enough to remove any character before the first |
Please check the new release: https://github.com/create-dmg/create-dmg/releases/tag/v1.2.2 |
Hello,
Getting the above error consistently when attempting to create a DMG using the following invocation (Sonoma 14.2.1, create-dmg installed via brew):
The log is as follows:
The text was updated successfully, but these errors were encountered: