off Topic - Bootstrappr

19 views
Skip to first unread message

Oliver Hetzner

unread,
Jan 17, 2022, 8:44:32 AM1/17/22
to munki-discuss
Sorry for posting this here.
Has anyone experiences with M1 Macs, macOS12 and Bootstrappr?
Or any ideas who to get Munki to this Mashines? All I get is different errors. Either Rosetta2 is needed or that you can't create a folder.
best regards
OH

David Vandenborn

unread,
Jan 21, 2022, 2:58:44 AM1/21/22
to munki-...@googlegroups.com
Hi,

I'm using Bootstrappr on Apple Silicon machines to install and configure Munki.

Here's my workflow.

1. Boot machine with the power button held.
2. Select Options 
3. Open the Terminal app.
4. cmd: diskutil list
5. Lookup the disk identifier for Macintosh HD and Data (e.g. disk3s1 and disk3s5). Assuming that Macintosh HD is the name of the volume you want to install to. 
6. cmd: diskutil unmount disk3s1
7. cmd: diskutil mount disk3s1 (this will make the volume R/W)
8. cmd: diskutil unmount disk3s5
9. cmd: diskutil mount disk3s5 (this will make the volume R/W)
10: open your bootstrappr DMG. It's best to host it on a local webserver. cmd: hdiutil attach http://your.webserver/bootstrappr.dmg
11: Run Bootstrappr to install your Munki and a package to configure Munki (Manifest, Munki server, ...).

Now, it's import that you have the Rosetta2 package in your Manifest. To download the Rosetta2 package follow these instructions: https://www.alansiu.net/2021/03/24/copying-the-rosetta-2-installer-for-offline-installations/
When you import the Rosetta2 package make sure you set the minimum_os_version and maximum_os_version. Each major macOS version (e.g. 12.0.1, 12.1) uses a different Rosetta2 version. You can't use the latest Rosetta2 package with an older macOS version.

When Munki starts to install an Intel only package it will fail the first time. Once the Rosetta2 package has been installed your Intel apps will get installed on the second run.

I think that covers it.

Best regards,
David



--
You received this message because you are subscribed to the Google Groups "munki-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to munki-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/munki-discuss/b8cd4711-f637-49c7-b644-595367421cb8n%40googlegroups.com.

David Vandenborn

unread,
Jan 21, 2022, 3:00:48 AM1/21/22
to munki-...@googlegroups.com
I forgot to mention that  Bootstrappr needs to install onto the Data volume.

Oliver Hetzner

unread,
Jan 22, 2022, 7:56:50 AM1/22/22
to munki-discuss
Hello DVD,
thanks a lot. This works. Nearly :-)
I've made a firstboot installpagage to set up the mashine.
If you insert an empty pkg with a postinstallscript (softwareupdate --install-rosetta ...) on position 1 you'll get really nice results.

best regards and thanks for the tip.

Reply all
Reply to author
Forward
0 new messages