noobtg.blogg.se

How to download os x el capitan to a usb installer on a pc
How to download os x el capitan to a usb installer on a pc








# partition the USB flash drive, /dev/sdX Mount /dev/mapper/loop1p1 /mnt/OSX_BaseSystem # convert base system disk image to raw formatĭmg2img /mnt/OSX_InstallESD/BaseSystem.dmg BaseSystem.img app/Contents/SharedSupport/InstallESD.dmg" InstallESD.img # convert installer disk image to raw formatĭmg2img "Install OS X. Mkdir -p /mnt/OSX_InstallESD /mnt/OSX_BaseSystem /mnt/usbstick There is no need to try using the script, as it works with the list of commands on the read me file. This works! I used it for making a usb from El Capitan installer, using the InstallESD.dmg that you find inside the InsallMacOSX.dmg. rsync supports also -X parameter, supposed to copy HFS+ extended attributes, but in practice it fails with the error "Operation not supported". It is possible to copy with other tools (tar, cpio), just supply parameters preserving the most of file metadata. Rsync -aAEHW -P /mnt/installesd/BaseSystem.chunklist /mnt/usbstick/ Rsync -aAEHW -P /mnt/installesd/BaseSystem.dmg /mnt/usbstick/ Rsync -aAEHW -P /mnt/installesd/Packages /mnt/usbstick/System/Installation/ Rm -f /mnt/usbstick/System/Installation/Packages

how to download os x el capitan to a usb installer on a pc how to download os x el capitan to a usb installer on a pc

Mkfs.hfsplus -v "OS X Base System" /dev/sdb1Ĭopy missing installer files (beware of ending /): rsync -aAEHW -info=progress2 /mnt/basesystem/ /mnt/usbstick/ Mount /dev/mapper/loop1p1 /mnt/basesystemįormat the USB flash drive as HFS+: sgdisk -o /dev/sdb

#How to download os x el capitan to a usb installer on a pc free

But writing it directly to the USB drive does not work, because that would create a partition with almost no free space and still lacking some important files.Įxtract base system image BaseSystem.dmg, convert into raw and mount too: dmg2img /mnt/installesd/BaseSystem.dmg BaseSystem.img InstallESD.dmg contains another disk image, BaseSystem.dmg, which is a bootable installer disk. Working as a root, convert InstallESD.dmg into raw image format and mount it using kpartx: dmg2img InstallESD.dmg InstallESD.img InstallESD.dmg is an image of a GPT disk with HFS+ partition which contains installer files, but is not bootable itself. Manually it's as mentioned in MacWorld, but using the Linux tools:

how to download os x el capitan to a usb installer on a pc

There's a ready script that automates this whole process.








How to download os x el capitan to a usb installer on a pc