My_base= $(sudo losetup -list | grep BaseSystem.img | cut -d ' ' -f1 ) Sudo mount " $my_esd "p2 -o ro,noatime /mnt/InstallESDĭmg2img /mnt/InstallESD/BaseSystem.dmg -o. My_esd= $(sudo losetup -partscan -show -find " $my_installesd " ) My_esd= $(sudo losetup -list | (grep InstallESD.img || true) | cut -d ' ' -f1 ) # TODO it's now safe to remove the big fat InstallMacOSX.*mg and. InstallMacOSX/InstallMacOSX.pkg/InstallESD.dmg -o. Xar -xvf /mnt/InstallMacOSX/InstallMacOSX.pkgĭmg2img. xar/xar/src/xar -xvf /mnt/InstallMacOSX/InstallMacOSX.pkg Sudo mount " $my_fullosx "p2 -o ro,noatime /mnt/InstallMacOSXĮcho "Extracting /mnt/InstallMacOSX/InstallMacOSX.pkg " My_fullosx= $(sudo losetup -partscan -show -find InstallMacOSX.img ) 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
#El capitan dmg to usb install#
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.Click "Download OS X El Capitan" in Step 4.
#El capitan dmg to usb upgrade#
#El capitan dmg to usb how to#
See How to create a Bootable MacOS Recovery USB from Linux