Posted on 07-05-2021 03:56 AM
I want to use this for upgrading some clients to Big Sur.
https://docs.jamf.com/technical-papers/jamf-pro/deploying-macos-upgrades/9.96/Packaging_and_Deploying_the_macOS_Installer.html
While it is downloading the Big Sur PKG it is shown, but then suddenly it dissappears.
Is there something wrong with my pkg?
Posted on 07-07-2021 07:55 AM
Try downloading the macOS installer pre-packaged by Apple here...
https://mrmacintosh.com/macos-big-sur-full-installer-database-download-directly-from-apple/
Posted on 07-07-2021 09:54 AM
Hey @DennisMX,
The documentation for whatever reason is wrong, you can't .pkg Big Sur with composer it corrupts the .pkg. If you check the size of the .pkg you made coming out of composer the size is probably 16MB. Instead, make it a .dmg. There are a few approaches you can use to obtain a copy of the Big Sur installer. Personally, I've taken the .dmg approach following the documentation above.
I don't know if there is a benefit of a .pkg over a .dmg, if someone knows let me know please :).
Here is a helpful article from Jamf with a method to download the Big Sur installer versions, it's about halfway down under "Download an installer package from Apple". Reinstall a clean macos with one button. The title says a clean version, but there are instructions on how to not do that, basically just removing the --eraseinstall flag
Posted on 07-07-2021 10:56 AM
optional: you can also just follow this HCS guide here. I don't know who makes these but they're great. It shows you how to use MegaPKGr.zsh on page 12 FYI.
Posted on 08-25-2021 08:42 PM
Bro, i am getting the following error i was trying to download the macOS Big Sur.
Making empty sparseimage...
installer: Package name is macOS Big Sur
installer: Installing at base path /private/tmp/dmg.9lL2zl
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “InstallAssistant.pkg”.)
Command '[u'/usr/sbin/installer', u'-pkg', u'./content/downloads/43/16/071-78704-A_U5B3K7DQY9/cj9xbdobsdoe67yq9e1w2x0cafwjk8ofkr/071-78704.English.dist', u'-target', '/private/tmp/dmg.9lL2zl']' returned non-zero exit status 1
Product installation failed.
Posted on 08-26-2021 08:00 AM
Use the clear cache flag next time when running installinstallmacos.py
Posted on 09-07-2021 09:42 AM
Tried the clear cache flag but still gets the same error.
installinstallmacos.py --ignore-cache
Posted on 07-07-2021 11:21 AM
thanks all for thinking with tme here.
I manage to make it work, maybe not beautiful. But it works.
I downloaded the PKG from MrMacintosh.
Made it available as a cached package (Scope: smart group with old OS macbooks i want to upgrade)
Created a 2nd policy to install the cached PKG (Scope: a smart group that checks if the package is cache (previous policy)
Then policy 3 uses this script https://github.com/kc9wwh/macOSUpgrade to upgrade the OS (Scope: check if Install macOS Big Sur.app is available)
Wouldn't it be nice if Jamf partnered up with Apple to just make instant workflow/policy available to upgrade to a OS version you can select from a dropdown menu?
Posted on 08-25-2021 11:09 AM
Jamf Pro was able to accept the 12GB pkg?
I am uploading it now, but I remember I had an issue with Catalina where it said pending availability and that never went away (it actually still says it today after over a year).