Hack your MacBook Air Software Reinstall Drive to install Lion

Hack your MacBook Air Software Reinstall Drive to install Lion

So I had this idea… What if we could replace the installer on your Macbook Air restore drive with the Lion installer?

I got pretty excited at the idea and started messing around. I was able to get it done and can present to you now: How to Hack your MacBook Air Software Reinstall Drive to install Lion!!!

First we’ll need to grab a few things:

  • A Legally acquired Copy of Lion
  • Apple Macbook Air Recovery Thumb Drive (Or else what’s the point?)
  • Our Handy Dandy Zip File (Link)
  • Windows Machine (Virtual or Physical)

Once you’ve collected the above, it’s time to get started.

The first thing we need to do is unlock the USB drive. Apple has locked down the drive to prevent exactly what we’re trying to do here. Since they’ve gone to such lengths to do so, this is probably a good time to warn you that things can go wrong. If this is your only method of restoring your MackBook Air, you might want to consider not doing this.

Unzip the Zip file we linked above on your Mac, and you’ll find a folder called This Goes To Windows. You can drag that whole folder into your virtual machine, or get it to your Windows computer one way or another.

Plug your USB Drive into your Windows computer, or if you’re using a virtual copy, into your Mac, and tell your virtualization software of choice to point Windows at the drive.

Hack your MacBook Air Software Reinstall Drive to install Lion

Once Windows has finished its hardware install process, launch sm32Xtest.exe from the above folder. If it doesn’t detect the drive simply click Scan USB and it should show up in the next available Port. My virtual copy of Windows didn’t have any other USB devices so it showed on Port 1.

Hack your MacBook Air Software Reinstall Drive to install Lion

Highlight the port it was detected on, and click Start. The software will run through a quick testing and unlocking process and when it’s finished, you are done with Windows. You can shut it down as everything else will be performed on your Mac.

Hack your MacBook Air Software Reinstall Drive to install Lion

Open up Disk Utility and click on the USB Drive on the left hand pane. Once selected, you can go to the Partition tab on the right. This is where we will partition the drive to be bootable. Under Volume Scheme select 1 Partition. Then choose options. You want to make sure that GUID Partition Table is selected so that the drive will be bootable on a Mac.

Hack your MacBook Air Software Reinstall Drive to install Lion

Click OK, and now you can click Apply.

Once it is finished partitioning, click on the Restore tab. Drag your new partition (the item under the drive, not the drive itself) to the Destination field.

The Source field will be populated with your Lion DMG. Now, since Lion is distributed through the App Store, you’ll need to do a little digging to get at the dmg. Simple right click on the Install Mac OS X Lion application and click Show Package Contents.

The file we are looking for is under Contents / SharedSupport. You’ll notice a file in there called InstallESD.dmg. You can simply drag this file while holding option to copy it to your desktop or anywhere else you’d like to put it.

Once done copying, you can drag it to the Source field in Disk Utility, and you are ready to restore your drive! Click Restore and sit back!

Hack your MacBook Air Software Reinstall Drive to install Lion

Once the drive is finished restoring, you are pretty much ready to go. You can boot this drive by holding option during boot and selecting it when prompted, but you’ll notice your pretty MBA Stick icon is missing and replaced by a default USB drive icon. We’ve got you covered on this as well.

Inside the Zip we linked you to, is a file called USB Icon. Open this file in Preview and you’ll see 5 images. Hit Command+A to select them all and then Command+C to copy them.

Open up Finder and right click to Get Info on the new drive you created. In the top left corner, you’ll see the default icon. Highlight this icon by clicking on it and then hit Command+V to paste the new images.

Hack your MacBook Air Software Reinstall Drive to install Lion

You are all set now, and have a bootable Lion installer on your Macbook Air Key!!

We're testing out a new service called Spread.Us. Help us share our stories!

About Josh Wright

Josh is the Social Media Director and Sr. Systems Engineer for a startup toy company. He is freakishly into just about anything tech related. When he's not writing, he can be found inventing products at Quirky, or doing 3D renders for other inventors.

View all posts by Josh Wright
Post comment as twitter logo facebook logo
Sort: Newest | Oldest
WhiteSpir1t 5 pts

so how can one undo this? What if i've gotten Lion onto the flash drive and want to write protect it just like before i had reformatted it?  how can we reverse this process?

Great Tutor for Mac user. Thank you!

Fantastic tutorial--thank You!

Well, the question I have, is, can you rerun the windows program to relock the drive? I would like to believe Apple didn't do this to lock people in, but to Protect the base install files from being accidentally/maliciously overwritten.. Seems like a good idea to go back and lock the drive until the Next version comes out, and run through it again... 

The only reason you need windows is to run a shitty .EXE program for the SMI   NAND-Flash storage media.
You could easily code up a simple app to duplicate the USB commands and run it on a mac.

couldnt you just do this with a blank usb media and have both snow leopard and lion available? it seems to be similar to what unetbootin does for linux iso files so the disk itself shouldnt matter the data contained should right? if thats the case why not go get an 8GB flash drive and use it rather than looseing your only restore disk? you wont even need to boot into windows

Does this wipe out the iLife installer that's also on the MB Air memory stick installer? If so, how to backup iLife installer? Simply make a backup of the entire stick before proceeding as above? Thanks, JOEyGADGET

It does wipe the installer for iLife.  I hadn't previously even considered that.  I am going to post a follow-up on how to keep it. Give me some time to test and get a procedure down. Thanks!!

I wound up just backing up the Air's Snow Leopard Installer but didn't actually create new drive as you suggested because I discovered a trick upon rebooting Lion Install - I simply held down the Option key and it presented my Hard Drive and a second Recovery drive, and I chose that one to run a fresh install, which went fine, then installed iLife '11 from the memory stick I hadn't yet formatted... So all is virgin, so to speak, in my Lion world. Look for the next edition of my book Macs All-in-One For Dummies (and iPhone All-in-One For Dummies) this fall (both co-authored with my longest-time friend and former fellow Apple coworker, Barbara Boyd...)... All best, Joe

Hah!  Hey, at least it was a VM, not me trying to shoot pictures of some obscure beige tower LoL..  

If you can find a mass storage loader that runs on Mac, I'll edit the article lmao..