How to run apple hardware test on mavericks? I have a 2009 IMac, which came with Mountain Lion. I've upgraded to 10.9.latest (Mavericks). Now, my imac has started freezing up all the time - I've tried reinstalling from the recovery partition but even that hangs, so I think I've got a hardware fault. How can I run the hardware test though? 

I've tried holding D down - that just gives me the standard recovery mode options (restore from time machine, disk utility etc). I've tried inserting the original Mountain lion dvd and booting it - no options there either. I don't have the physical media for mavericks, just the DVD for mountain lion.

Update: I also have a snow leopard DVD, which doesn't seem to offer me any more options !

Can anyone shed some light?
Since it does not show up with D at start up lets look for it on your hard drive.

The AHT is stuffed into an AHTxx.dmg file and found on the Recovery HD volume that is also hidden.

First you have to make the hidden partitions visible

To enable the see all partitions in Disk Utility (the Debug Menu)

defaults write com.apple.DiskUtility DUDebugMenuEnabled 1


In Disk utility now there will be a tab called Debug.

Use it to show hidden partition.

You will now see the Hidden partition called Recovery and EFI.

Mount the Recovery to see the files in finder and find the AHTxx.dmg

If it is not there, try using internet recovery with cmd-r.

see this for more options.

Also, you might be able to download a copy of AHT using this link and providing the correct 4 digit model number. (upekkha on Github provides a handy list of mac models with the accompanying download link and more info.)

Apple does not publish that list since it is kind off back door to they service.

Here are few of them

2579 for Mac-F4218FC8 iMac6,1

2535 for Mac-F4218EC8 iMac5,2

2534 for Mac-F4228EC8 iMac5,1

2533 for Mac-F42786A9 iMac5,1