Last active
June 18, 2023 08:11
-
-
Save julianxhokaxhiu/286017b9872474d2c9b9fa090f6802bf to your computer and use it in GitHub Desktop.
Revisions
-
julianxhokaxhiu revised this gist
Dec 18, 2020 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,8 +5,8 @@ #=========================================================================== # Change this at your desire. Sometimes this works out of the box, sometimes not. # Default size: ~13.5 GB DISK_SIZE="13000m" #=========================================================================== -
julianxhokaxhiu revised this gist
Nov 13, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ #=========================================================================== # Change this at your desire. Sometimes this works out of the box, sometimes not. # Default size: ~21 GB DISK_SIZE="20000m" #=========================================================================== -
julianxhokaxhiu created this gist
Nov 13, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ #!/usr/bin/env bash #=========================================================================== # Works only with the official image available in the Mac App Store. # Make sure you download the official installer before running this script. #=========================================================================== # Change this at your desire. Sometimes this works out of the box, sometimes not. # Default size: 20 GB DISK_SIZE="20000m" #=========================================================================== hdiutil create -o /tmp/BigSur.cdr -size $DISK_SIZE -layout SPUD -fs HFS+J hdiutil attach /tmp/BigSur.cdr.dmg -noverify -mountpoint /Volumes/install_build sudo "/Applications/Install macOS Big Sur.app/Contents/Resources/createinstallmedia" --volume /Volumes/install_build --nointeraction hdiutil detach "/Volumes/Shared Support 1" hdiutil detach "/Volumes/Shared Support" hdiutil detach "/Volumes/Install macOS Big Sur" hdiutil convert /tmp/BigSur.cdr.dmg -format UDTO -o /tmp/BigSur.iso mv /tmp/BigSur.iso.cdr ~/Desktop/BigSur.iso rm /tmp/BigSur.cdr.dmg