samvermette.com

JUN 1, 2011

IE on Mac OS X (for free)

Until now, I never really bothered how my website looks in IE. After all, if you’re visiting my site using IE (a tiny 3%), chances are you are are simply not part of my target audience.

But things are different when you develop a website for someone else, who’s target audience might just be about anyone. In such cases, testing your website in IE becomes essential.

But we have Macs, hate Windows, and aren’t willing to pay a goddamn dime to get to use it. And we certainly don’t want to go through burning, installing and activating it. We want to use IE, not Windows.

Thanks to the Internets (and @visnaut, @typeoneerror and @gcamp), I found a free, legit and easy (no Windows installation or activation!) way to run IE on Mac OS X.

What you’ll need (all free)

The easy part

  1. Install Virtual Box.
  2. Extract the Windows image by opening the part 1 file (the one that ends with .exe) with UnrarX (this may take a while).
  3. In Virtual Box, create a new Virtual machine.
  4. Give it a name, pick the right OS and version.
  5. Allocate the amount of RAM (I gave it 1GB).
  6. When prompted to select a virtual hard disk, click the “Use existing hard disk” option and select the extracted .vhd image.

The tricky part

From here, if you start your virtual machine, you’ll enter an endless loop that keeps putting you into Windows Recovery Mode. The fix:

  1. Right-click your newly created machine and click “Settings…” .
  2. In the “Storage” tab, inside “Storage Tree”, delete the items listed under “SATA Controller”.
  3. Add it back inside the “IDE Controller” group (when prompted, click “choose existing disk” and select your .vhd image).
  4. Under its attributes, set the “Hard Disk” type to “IDE Secondary Slave”.

That’s it!

Click ok and start your machine (user account password is “Password1” by default). Happy IE debugging!

UPDATE: if your VM’s internet connection isn’t picking up:

  1. Shut down your virtual machine
  2. Hit its Settings and then “Network”
  3. In “Adapter Type”, select “Intel PRO/1000 MT”

Thanks @brandonhaslegs!


hello@samvermette.com