macOS Beta Images
Apple releases new macOS betas pretty frequently and you test all of those betas, right? Well what if I told you there are some features you can’t test. Not because you don’t want to but because Apple doesn’t give you the tools.
- A spare mac (virtual or physical)
- At least 40 GB of free space running 10.13.X
- About 30-90 minutes depending on disk speed and internet connection
- SUS Inspector
- Latest Install macOS Install app from the Mac App Store
Please note this process is not 100% clean and might install beta software onto the root drive running 10.13 so it is highly recommended you do not use your primary machine unless it is already on the beta track. Remember “hacky” above?
- Use autodmg with a 10.13.x installer to create a dmg.
Mount the 10.13.X ouput dmg with.
hdiutil attach -owners on /path/to/10.13.3.dmg -shadow # output expected CRC32 $FC3036F4 /dev/disk5 EF57347C-0000-11AA-AA11-0030654 /dev/disk5s1 41504653-0000-11AA-AA11-0030654 /Volumes/Macintosh HD 1 /dev/disk5s2 41504653-0000-11AA-AA11-0030654 /Volumes/Preboot /dev/disk5s3 41504653-0000-11AA-AA11-0030654 /Volumes/Recovery 1 /dev/disk4 GUID_partition_scheme /dev/disk4s1 EFI /dev/disk4s2 Apple_APFS
Note your disk number: '/dev/disk5' from the above output Note your mount path: '/Volumes/Macintosh HD 1' from the above output
Launch SUS Inspector.
If this is your first time using SUS Inspector you will be asked if you want to add custom catalogs which we do. If you have already configured SUS and didn’t add these seed catalogs see 1.
Add the following additional Apple catalogs into the feed window.
Tip: SUS Inspector is an alpha release. When you copy/paste the Name and URL hit "enter" on the keyboard after each item is added. Once all three feeds have been added click "save".
Let SUS Inspector sync the catalogs.
Use the CustomerSeed or PublicSeed to find the latest 10.13.X combo update beta.
Right click the item, select “Get Info”, change to packages tab, download all of them.
Once the download is complete click reveal.
Now we will modify the
XXX-English.distfile to disregard all safety checks essentially allowing us to always install. Remember “hacky” method?
sed -i '' 's/return false/return true/g' /path/to/091-65991.English.dist
Use an undocumented option to install from the dist file directly to the shadow mounted dmg. Make sure to change the Volumes path if it is named differently.
sudo installer -pkg /path/to/091-65991.English.dist -tgt /Volumes/Macintosh\ HD\ 1
Unmount the shadow dmg.
hdiutil detach /dev/disk<number_from_step2>
Convert the shadow dmg to compressed dmg.
hdiutil convert -format UDZO -o 10.13.4b2.dmg /path/to/10.13.3.dmg -shadow
Now you will want to delete shadow file manually. It will be next to your 10.13.3.dmg with
This dmg can now be used in vfuse, imaging, etc. for DEP testing.
This is not a valid solution. I would love for Apple to properly distribute a
macOS Install XXX Beta.app file with each beta. This would allow
admins and other members of the community (VMware, Parallels, etc.) to
properly to test against beta releases. For example the
command is completely untestable right now and the above hacky method does
not allow us to validate changes until Apple releases full point releases,
which often is too late.