
My_fullosx= $(sudo losetup -list | (grep InstallMacOSX.img || true) ) "Įcho " In step 4 click 'Download OS X El Capitan' "ĭmg2img InstallMacOSX.dmg -o. If ! thenĮcho "Error: 'InstallMacOSX.dmg' doest not exist. My_installesd= "./ElCapitanInstallESD.img " If thenĮcho "'el-capitan-rescue.iso' already exists " Sed -i.bak 's/OpenSSL_add_all_ciphers/OPENSSL_init_crypto/g ' configure.ac Sudo apt install -y libxml2-dev libssl-dev git Sudo apt install -y build-essential autoconf # Note: mac-fdisk (mac-fdisk-cross) is useful for debugging, but not required # Note: hfsplus and hfsutils are old and not necessary Open a Terminal and run bash install-mac-tools.sh from the Downloads folder.Right-Click on the view Raw link, choose Save as, and select the Downloads folder.run the script from your USB drive, NOT Downloads.choose to download to your USB drive, NOT Downloads.InstallOSX.dmg will be about 6GB in your Downloads folder.


In all cases you should first download the El Capitan Installer, as a direct download from Apple (no App Store). Including disk images directly from Apple's IT support pages,Īnd open source utilities for extracting and converting pkg, dmg, and HFS+. The downloads used in this process are legal and freely avaliable. You can still create a bootable OS X recovery USB, and you can use that to create an Installer USB. If your Mac is out-of-order or you otherwise cannot download macOS from the App Store, See How to create a Bootable MacOS Recovery USB from Linux
