-
-
Save js32/5a81a33de49f3b9d14d364de6df6cd1f to your computer and use it in GitHub Desktop.
Revisions
-
js32 revised this gist
May 31, 2023 . 1 changed file with 2 additions 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 @@ -12,7 +12,8 @@ hdiutil attach InstallMacOSX.pkg/InstallESD.dmg -noverify -nobrowse -mountpoint sudo asr restore -source /Volumes/esd/BaseSystem.dmg -target /Volumes/MyVolume -noprompt -noverify -erase ``` 4. To finish and fix installation issues, run these commands: ``` diskutil rename OS\ X\ Base\ System Install\ El\ Capitan rm /Volumes/Install\ El\ Capitan/System/Installation/Packages cp -rp /Volumes/esd/Packages /Volumes/Install\ El\ Capitan/System/Installation cp -rp /Volumes/esd/BaseSystem.chunklist /Volumes/Install\ El\ Capitan/ -
itsmikita revised this gist
Sep 2, 2022 . 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 @@ -28,5 +28,5 @@ diskutil eject Install\ El\ Capitan Resources -------- https://apple.stackexchange.com/a/389830 \ https://appstorrent.ru/602-os-x-el-capitan.html -
itsmikita revised this gist
Sep 2, 2022 . 1 changed file with 3 additions and 3 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 @@ -26,7 +26,7 @@ diskutil eject Install\ El\ Capitan ``` 5. Insert the USB drive on Machine needed reinstall. Resources -------- https://apple.stackexchange.com/a/389830 https://appstorrent.ru/602-os-x-el-capitan.html -
itsmikita revised this gist
Sep 2, 2022 . 1 changed file with 4 additions 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 @@ -26,4 +26,7 @@ diskutil eject Install\ El\ Capitan ``` 5. Insert the USB drive on Machine needed reinstall. Resorces -------- Originally found solution here: https://apple.stackexchange.com/a/389830 Downloaded El Captain here: https://appstorrent.ru/602-os-x-el-capitan.html -
itsmikita revised this gist
Sep 2, 2022 . 1 changed file with 3 additions 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 @@ -24,4 +24,6 @@ cd "$HOME" rm -r /tmp/El\ Capitan diskutil eject Install\ El\ Capitan ``` 5. Insert the USB drive on Machine needed reinstall. Original found: https://apple.stackexchange.com/a/389830 -
itsmikita created this gist
Sep 2, 2022 .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,27 @@ Create bootable USB drive from `InstallMacOSX.pkg` ================================================== 1. Erase USB drive with Disk Utility using format `Mac OS Extended (Journaled)` and `Master Boot Record` and call it `MyVolume` 2. Use Finder to mount/open `InstallMacOSX.dmg`. 3. Run following commands: ```rm -rf /tmp/El\ Capitan pkgutil --expand /Volumes/Install\ OS\ X/InstallMacOSX.pkg /tmp/El\ Capitan diskutil eject Install\ OS\ X cd /tmp/El\ Capitan hdiutil attach InstallMacOSX.pkg/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/esd sudo asr restore -source /Volumes/esd/BaseSystem.dmg -target /Volumes/MyVolume -noprompt -noverify -erase ``` 4. To finish and fix installation issues, run these commands: ```diskutil rename OS\ X\ Base\ System Install\ El\ Capitan rm /Volumes/Install\ El\ Capitan/System/Installation/Packages cp -rp /Volumes/esd/Packages /Volumes/Install\ El\ Capitan/System/Installation cp -rp /Volumes/esd/BaseSystem.chunklist /Volumes/Install\ El\ Capitan/ cp -rp /Volumes/esd/BaseSystem.dmg /Volumes/Install\ El\ Capitan/ hdiutil detach /Volumes/esd sudo bless --folder /Volumes/Install\ El\ Capitan/System/Library/CoreServices --label Install\ El\ Capitan cp /Volumes/Install\ El\ Capitan/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/InstallAssistant.icns /Volumes/Install\ El\ Capitan/.VolumeIcon.icns cd "$HOME" rm -r /tmp/El\ Capitan diskutil eject Install\ El\ Capitan ``` 5. Insert the USB drive on Machine needed reinstall.