![]() ![]() I solved it by doing: cd ~/Downloads/xar/xarĪfter that, I had another output: "512: failed to use device: No such device" I had an error "xar command not found", for some reason the install-mac-tools.sh script didn't really installed. Install mac-fdisk: sudo apt-get install mac-fdisk-cross.Download empty*img.bz2 from bootableinstaller.I had two other dependencies I had to install before the script would run successfully: Mv el-capitan-rescue.dd.img el-capitan-rescue.iso Sudo dd if= " $my_base "p1 of= " $my_dd "p2 bs=128M status=progress My_dd= $(sudo losetup -partscan -show -find el-capitan-rescue.dd.img ) My_empty= $(ls empty *img.bz2 | sort | head -1 )Ĭp -rp " $my_empty " el-capitan-rescue.dd.img.bz2 My_base= $(sudo losetup -partscan -show -find. 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 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
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |