MagerValp / AutoDMG

Create deployable system images from OS X installer
1.22k stars 117 forks source link

"Invalid Source: InstallESD images aren't valid installers on 10.13+." #246

Closed monodata closed 4 years ago

monodata commented 4 years ago

Description of issue

When I drop a 10.15 installer onto the app I get the following message: "InstallESD images aren't valid installers on 10.13+."

Expected behavior

builds virgin image

Actual behavior

stops and displays error: Screenshot 2020-01-06 at 16 58 31

Steps to reproduce

  1. Download image via installinstallmacos.py
  2. Attach .dmg of image to machine
  3. Drop Install macOS Catalina.app onto the app

Log file

AutoDMG 2020-01-06 17.03.log

tomaswallentinus commented 4 years ago

You need to be on Catalina to do a Catalina image. https://github.com/MagerValp/AutoDMG/wiki/FAQ

MagerValp commented 4 years ago

Well that's certainly weird, you're dropping the app on AutoDMG but it mis-detects it as an InstallESD image:

2020-01-06 16:58:06 Debug: (IEDWorkflow:133) setSource:/Volumes/Install macOS Catalina/Install macOS Catalina.app
2020-01-06 16:58:06 Debug: (IEDWorkflow:151) checkAppleBugWarning:/Volumes/Install macOS Catalina/Install macOS Catalina.app
2020-01-06 16:58:06 Debug: (IEDWorkflow:168) continueSetSource:{
2020-01-06 16:58:06 Debug: (IEDWorkflow:168) }
2020-01-06 16:58:06 Debug: (IEDDMGHelper:51) Finding already attached dmgs
2020-01-06 16:58:06 Debug: (IEDDMGHelper:114) Attaching /Volumes/Install macOS Catalina/Install macOS Catalina.app/Contents/SharedSupport/InstallESD.dmg
2020-01-06 16:58:07 Debug: (IEDDMGHelper:127) Checking result of attaching /Volumes/Install macOS Catalina/Install macOS Catalina.app/Contents/SharedSupport/InstallESD.dmg
2020-01-06 16:58:07 Debug: (IEDUtil:313) Listing APFS volumes
2020-01-06 16:58:07 Debug: (IEDWorkflow:203) handleSourceMountResult:{
2020-01-06 16:58:07 Debug: (IEDWorkflow:203)     "dmg-path" = "/Volumes/Install macOS Catalina/Install macOS Catalina.app/Contents/SharedSupport/InstallESD.dmg";
2020-01-06 16:58:07 Debug: (IEDWorkflow:203)     "mount-point" = "/private/tmp/dmg.Sp6cK7";
2020-01-06 16:58:07 Debug: (IEDWorkflow:203)     success = 1;
2020-01-06 16:58:07 Debug: (IEDWorkflow:203) }
2020-01-06 16:58:07 Debug: (IEDWorkflow:222) sourceType = INSTALL_ESD
2020-01-06 16:58:07 Debug: (IEDController:131) Displaying alert: Invalid source (InstallESD images aren't valid installers on 10.13+.)

Which version of the Catalina installer is this? And could you please share the output of ls -Al "/Volumes/Install macOS Catalina/Install macOS Catalina.app/Contents/SharedSupport"?

monodata commented 4 years ago

Its definitely a Catalina machine as well.

Its downloaded using installinstallmacos.py and the dmg thats compiled is: Install_macOS_10.15.2-19C57.dmg


me@EULONML11021 ls -lA /Volumes/Install\ macOS\ Catalina/Install\ macOS\ Catalina.app/Contents/SharedSupport
total 7485064
-rw-r--r--  1 mes  GLOBAL\Domain Users  7664702226  6 Jan 13:46 InstallESD.dmg
-rw-r--r--  1 meis  GLOBAL\Domain Users        1386  5 Dec 04:14 InstallInfo.plist
MagerValp commented 4 years ago

That installer app is missing resources, such as BaseSystem.dmg, which is what's confusing AutoDMG.

monodata commented 4 years ago

OK - re-downloading using G.Neagles script then will report back

monodata commented 4 years ago

Weird - downloaded again and had same result. Downloaded Catalina using softwareudpdate then packed into a dmg and it worked fine.

Consider this closed.