Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save bayron808/41d09307e68e11c50fadbc3bb8751300 to your computer and use it in GitHub Desktop.

Select an option

Save bayron808/41d09307e68e11c50fadbc3bb8751300 to your computer and use it in GitHub Desktop.
Create an El Capitan Bootable USB from Windows (10/11 friendly)

Creating an El Capitan Bootable USB from Windows

I didn’t plan to become the neighborhood “vintage Mac paramedic,” but an old 2010 MacBook Pro landed on my desk with a dead drive and a request: “Can you bring it back with El Capitan?” I only had a Windows PC nearby. If you’ve been here: you know the feeling—half nostalgia, half “why is this so unnecessarily hard?”

This write-up is the guide I wish someone handed me. It’s not a tool pitch, and it’s not a copy-paste of random forum steps. It’s a user-centered route that balances reliability, reversibility, and risk management when you must build an OS X El Capitan installer from Windows.


The mental model (why this feels weird on Windows)

  • Apple expects you to prepare installers on a Mac with createinstallmedia. On Windows, you can’t run it—so our job is to preserve Apple’s bootable layout instead of “making our own.”
  • The El Capitan installer ships in DMG containers, and the boot volume is HFS+ (Journaled) on GPT. Windows speaks ISO/NTFS/FAT32 fluently, not HFS+.
  • Therefore, the game plan isn’t to “build a USB” like for Windows. It’s to faithfully write Apple’s image to the USB—byte-for-byte—so the Mac’s firmware sees it as native.

Mindset shift: once this clicked, my error rate dropped by 80%.


User-first constraints (before touching a USB)

  1. Use good media. Old Macs are picky. A 16–32 GB USB 2.0 stick (yes, 2.0) is often more reliable than a shiny USB 3.0 one. Plug directly into the Mac (no hubs).

  2. Stay legit. Get the official El Capitan installer (Apple reissued it). Avoid “repacked” images; they break at the worst time.

  3. Checksum or bust. If your download source publishes a hash (SHA-256/SHA-1), verify it on Windows:

    certutil -hashfile InstallMacOSX.dmg SHA256
    
  4. Have a rollback. If the target Mac’s drive still has data, back it up or pull it out and clone it externally. If you’re replacing the drive, at least keep the original untouched until you’ve cleanly installed and booted.


Two dependable Windows-side paths

You’ll see a lot of noise online. These two patterns actually worked for me repeatedly. Pick the one that matches your comfort level.

Path A — “Minimal pain” (GUI, slow but reliable)

Tools: TransMac (paid, but the trial handles this), or BalenaEtcher (often works directly with DMG/IMG).

Why this path: You let a tool do the raw, block-level write so Apple’s boot sectors and HFS+ structure are preserved. No DIY formatting.

Steps (TransMac flow):

  1. Install and run TransMac as Administrator.
  2. Insert your USB (16–32 GB). In TransMac, right-click USB → Format Disk for Mac (this creates GPT + HFS).
  3. Right-click USB → Restore with Disk Image… → select the official El Capitan image (InstallESD.dmg or the outer InstallMacOSX.dmg depending on source).
  4. Wait. It’s slow. Don’t interrupt.
  5. Safely eject.

Alternate (BalenaEtcher): Sometimes Etcher can write the DMG directly. If it refuses, fall back to TransMac.

Pros: Simple. Minimal moving parts. Cons: Time-consuming; opaque errors if the DMG is non-standard.

Path B — “Control freak” (CLI-style, transparent)

Tools: dmg2img for conversion, a raw writer (TransMac “Restore with Disk Image…”, or dd on a Linux live USB).

Why this path: If you distrust black boxes, you’ll convert once and write once.

Steps:

  1. Extract the right DMG. If you downloaded a wrapper like InstallMacOSX.dmg that contains a .pkg, you may need 7-Zip on Windows to dig into it until you find InstallESD.dmg (that’s the payload Apple boot media is built from).

  2. Convert DMG → IMG/ISO with dmg2img:

    dmg2img -v InstallESD.dmg InstallESD.iso
    

    It may output .img; the extension doesn’t matter for raw write.

  3. Write the image raw to USB.

    • Option 1 (Windows, GUI): TransMac → “Restore with Disk Image…” → pick your converted InstallESD.iso/img.

    • Option 2 (Linux live USB): Boot any Linux live, run:

      sudo dd if=InstallESD.img of=/dev/sdX bs=4M status=progress
      

      Double-check the device!

Pros: Transparent, verifiable, works even when GUIs get finicky. Cons: Easier to shoot your foot if you pick the wrong disk. Triple-check targets.

Important: Avoid formatting the USB yourself in Windows (FAT/NTFS) and then “copying files.” That creates a pretty storage drive—not a bootable macOS installer.


Booting the Mac (the parts nobody explains)

  1. Use the right port and stick. I’ve had Macs refuse to boot from a USB 3.0 stick yet happily boot from a boring USB 2.0 one. If you only have 3.0 sticks, try a different brand or smaller capacity.

  2. Startup Manager. Power on and hold Option (⌥). You should see the USB as “Install OS X El Capitan” or “EFI Boot.” Select it with the arrow keys and hit Enter.

  3. NVRAM/PRAM reset if the USB doesn’t appear: Cmd+Option+P+R at power-on, keep holding until the chime (older Macs) or about 20 seconds.

  4. Date trick for certificate errors. If you see “This copy of the Install OS X El Capitan application is damaged and can’t be used to install OS X,” it’s usually an expired signing certificate.

    # From Utilities → Terminal (inside the installer)
    date 0101010117  # Jan 1, 2017 01:01
    
  5. Target disk not found? Use Disk Utility from the installer:

    • Select the target disk → Erase
    • Format: Mac OS Extended (Journaled)
    • Scheme: GUID Partition Map

    APFS came later; El Capitan expects HFS+.


UX and risk management choices I make every time

  • I don’t customize the USB layout. No “let me add kexts” unless there’s a clear, known driver need. Every customization is a new failure mode.

  • I write once, test immediately. As soon as the write finishes, I move to the Mac and test boot visibility (Option key menu) before touching any hard drives.

  • I keep it offline initially. That dodges the expired-certificate check against current time. I set the date manually in the installer if needed, install, then go online later for updates.

  • I plan for the worst case:

    • The USB never shows → swap stick/port, reset NVRAM, rewrite with the alternate method.
    • The installer boots but refuses the disk → Disk Utility erase as HFS+ (GUID).
    • The install completes but first boot fails → reseat RAM/drive, run Apple Hardware Test (on supported models), or try another known-good disk.

Troubleshooting quick hits (save this section)

  • Blinking folder with question mark: Mac can’t find a bootable system. Re-invoke Startup Manager (Option) and select the USB; if it’s missing, rewrite the stick or try another port.
  • Prohibitory symbol (🚫): Usually a corrupt or wrong image. Re-download from Apple, re-verify the hash, and rewrite the USB.
  • USB shows as “EFI Boot” only: Still fine—select it. Some images present a generic label.
  • “Can’t install on this computer”: The Mac might be too old/too new, or the board ID isn’t supported by that installer. For El Capitan, most 2008–2015 Macs are in range.
  • Super slow write or verify failures: Replace the USB stick; “free swag” drives are a menace.
  • No disks in Disk Utility: In the top bar, change View → Show All Devices. Then erase the device (not just the volume).

When I’d choose a different route

  • You have any Mac available: Use createinstallmedia on that Mac. It’s still the gold standard.
  • You’re comfortable with Linux: The dd path is scriptable and fast, and Linux reads DMGs better than stock Windows.
  • New SSD in an old Mac: Consider cloning a known-good El Capitan install externally, then transplanting it. Not “pure,” but sometimes faster.

The first time I did this on Windows, I wasted hours trying to bend Apple’s process into Windows metaphors—formatting USBs, making partitions, “blessing” boot files by hand. Every detour made things worse. The winning move was humbler: don’t be clever, be faithful—obtain the genuine image, write it raw, and let the Mac do the boot logic it was designed to do.

And when it finally booted—gray screen, Apple logo, progress bar crawling like a snail—I felt that quiet relief only a clean installer can bring. Old machines deserve that second act.


Compact checklist (print me)

  • ✅ Official El Capitan installer (verify hash).
  • ✅ Known-good USB 2.0 stick (16–32 GB), direct port.
  • Path A: TransMac → Format for Mac → Restore with Disk Image (DMG). or Path B: dmg2img → raw write (TransMac/dd).
  • ✅ On the Mac: hold Option, pick the USB.
  • ✅ If “damaged installer,” set date in Terminal (e.g., date 0101010117).
  • ✅ Disk Utility → Erase as Mac OS Extended (Journaled), GUID.
  • ✅ Install offline first; update later.

If you take nothing else from this: write raw, keep it simple, and bias toward boring USB sticks. That combo has rescued more “unbootable” Macs than any fancy trick I’ve tried.


FAQ — El Capitan USB from Windows

Where do I get a legit El Capitan installer?

From Apple’s official download (they reissued El Capitan). Avoid “repacked” images from third-party sites. Verify on Windows:

certutil -hashfile InstallMacOSX.dmg SHA256

DMG or ISO — which do I need?

Apple ships a DMG. On Windows you can either (A) let a tool write the DMG raw (TransMac/Etcher) or (B) convert with dmg2img and then write the resulting IMG/ISO raw. Do not format FAT/NTFS and copy files.

My USB is written, but the Mac won’t see it at boot.

Use a USB 2.0 stick, try the other USB port, avoid hubs, reset NVRAM (Cmd+Opt+P+R), and hold Option (⌥) at power-on. Some sticks only show up as “EFI Boot”—that’s fine; select it.

“This copy of Install OS X is damaged” appears.

It’s almost always a certificate date problem. From the installer’s Utilities → Terminal:

date 0101010117  # Jan 1, 2017 01:01

My Mac shows a prohibitory symbol (🚫).

Usually a corrupt or wrong image. Re-download from Apple, re-verify the hash, and rewrite the USB. Also make sure the target Mac model supports El Capitan.

Which Macs support El Capitan?

Most 2008–2015 Macs do (MacBook, MacBook Pro, MacBook Air, iMac, Mac mini, Mac Pro). Very new models won’t; very old pre-2008 models are out.

Which USB size/brand is safest?

16–32 GB and boring. USB 2.0 sticks are often more reliable on older Macs than flashy 3.0 drives. If writes verify but boots fail, swap brand/capacity.

TransMac or Etcher? Which should I use?

Both can work. TransMac (trial) is slower but consistent with Apple DMGs; Etcher sometimes accepts DMGs directly. If Etcher refuses or the result doesn’t boot, fall back to TransMac or the dmg2img + raw-write route.

Can I do everything without paying for software?

Yes. Use dmg2img (free) to convert, then raw-write with a Linux live USB via dd. On pure Windows, TransMac’s trial is the simplest GUI; otherwise consider Etcher first.

Disk Utility can’t see my disk / install says “can’t install on this volume.”

In Disk Utility choose View → Show All Devices, select the device (not just the volume), and Erase as Mac OS Extended (Journaled) with GUID Partition Map. El Capitan expects HFS+ (not APFS).

Can I prep the stick on Windows 11/10 and install on any Intel Mac?

Yes—Intel Macs only. Apple Silicon (M-series) Macs won’t boot Intel macOS installers.

The write finishes but boot is glacial or hangs.

Old USB controllers + marginal sticks = pain. Swap sticks/ports, try a different writer (Etcher ↔ TransMac), or rewrite from a Linux live session with dd.

Why not just format the USB as HFS+ on Windows and copy files?

Windows can’t properly create Apple’s boot sectors and blessed files. You need a block-level write of the installer image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment