
- #CREATE A BOOTABLE USB FOR OS X EL CAPITAN HOW TO#
- #CREATE A BOOTABLE USB FOR OS X EL CAPITAN ISO#
- #CREATE A BOOTABLE USB FOR OS X EL CAPITAN DOWNLOAD#
- #CREATE A BOOTABLE USB FOR OS X EL CAPITAN FREE#
Rsync -aAEHW /mnt/OSX_BaseSystem/ /mnt/usbstick/ Mkfs.hfsplus -v "OS X Base System" /dev/sdX1 # 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 Mount /dev/mapper/loop0p2 /mnt/OSX_InstallESD

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 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
#CREATE A BOOTABLE USB FOR OS X EL CAPITAN 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. Mount /dev/mapper/loop0p2 /mnt/installesd 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: Click Create a system repair disc with a CD or DVD instead to create the disc as a CD or DVD and not as a USB flash drive, at the “Connect a USB flash drive” screen.There's a ready script that automates this whole process.Follow the instructions as the app proceeds.
#CREATE A BOOTABLE USB FOR OS X EL CAPITAN DOWNLOAD#

If you're running Mavericks (or earlier), follow these steps to create a recovery partition:
#CREATE A BOOTABLE USB FOR OS X EL CAPITAN ISO#
#CREATE A BOOTABLE USB FOR OS X EL CAPITAN HOW TO#
Here's how to create an emergency USB drive: In respect to this, how do I make a recovery disk for Mac?
