Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am cweb on github.
  • I am w3b (https://keybase.io/w3b) on keybase.
  • I have a public key ASD2WlYWJpBf0CqiH7D1Eh1GExMoGSR84h2s0Zqr4v6fgwo

To claim this, I am signing this object:

@cweb
cweb / prepare_el_capitan_iso.sh
Created February 17, 2016 17:29 — forked from bugyt/prepare_el_capitan_iso.sh
Installing El Capitan in VirtualBox
#!/bin/bash
# Mount the installer image to some directory by using the hdiutil tool
hdiutil attach "/Applications/Install OS X El Capitan.app/Contents/SharedSupport/InstallESD.dmg" -noverify -nobrowse -mountpoint /Volumes/esd
# Now let's create a placeholder image of our ISO file
hdiutil create -o ElCapitan3.cdr -size 7316m -layout SPUD -fs HFS+J
# After an empty ISO file will be created, we need to mount it
hdiutil attach ElCapitan3.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/iso