Last active
November 12, 2024 11:41
-
-
Save memoryleak/30f275beebe28595d736eb2b380a0fa9 to your computer and use it in GitHub Desktop.
Create a Mac OS Monterey ISO file from the official installation DMG file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo hdiutil create -o /tmp/Monterey -size 16g -volname Monterey -layout SPUD -fs HFS+J | |
sudo hdiutil attach /tmp/Monterey.dmg -noverify -mountpoint /Volumes/Monterey | |
sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/createinstallmedia --volume /Volumes/Monterey --nointeraction | |
hdiutil eject -force /Volumes/Install\ macOS\ Monterey | |
hdiutil convert /tmp/Monterey.dmg -format UDTO -o ~/Downloads/Monterey | |
mv -v ~/Downloads/Monterey.cdr ~/Downloads/Monterey.iso | |
sudo rm -fv /tmp/Monterey.dmg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
board-id = "Mac-551B86E5744E2388" | |
hw.model.reflectHost = "FALSE" | |
hw.model = "MacBookPro14,3" | |
serialNumber.reflectHost = "FALSE" | |
serialNumber = "C02XXXXXX153" | |
smbios.reflectHost = "FALSE" | |
efi.nvram.var.ROM.reflectHost = "FALSE" | |
efi.nvram.var.MLB.reflectHost = "FALSE" | |
efi.nvram.var.ROM = "3c0754a2f9be" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Excellent!! Just what i needed.
Thank you.