How do I create a Mac OS install thumb drive from InstallESD.dmg file using Windows 7?

Assuming that the InstallESD.dmg is on the windows 7 computer:

  1. Copy the InstallESD.dmg file onto the USB drive (just copy, not burning etc)
  2. Boot into the MacBook's Recovery Partition.
  3. Plug in the USB drive and open disk utility.
  4. Restore the USB drive using the InstallESD.dmg on the USB drive *
  5. Restart and boot from the USB Drive.

*You might not be able to restore from an image that on the drive being restored. In which case use 2 USB drives (one to copy the InstallESD.dmg from the PC and one to restore it to and boot from) or:

  1. open terminal from the Utilities menu in the recovery partition (on the homescreen).
  2. Use ls /Volumes to find the location of your hard drive and USB drive
  3. Use cp to copy the InstallESD.dmg to you hard drive. (e.g. cp /Volumes/USBDrive/InstallESD.dmg /Volumes/Macintosh\ HD/, where you replace the paths with the ones found in step 2)
  4. Open Disk Utility and restore the USB drive using the InstallESD.dmg on your hard drive, if you can't find your hard drive in the Open dialog, press cmd+shift+g and you can enter the path manually.

Or if your USB CD drive can burn DVDs and you have a DVD, you could use the USB drive to copy from windows and then use the Macbook's Disk Utility to burn the image to the DVD. (or use the DVD to copy from the PC and use the USB drive to boot)