Hmmm. I used Pacifist and extracted the document called 'About Apple Hardware Test' from Disc 1 of the pair of discs that came with the machine. This is what I find :
I'll try that disc and the 'D' key route.
You were right, baltwo. You normally are, which is why I was confused.
Well, I didn't know Apple started that with iMacs shipping with Leopard. I thought that only happened with ones shipping with Snow Leopard and later. I just went through my broken 24" iMac booklet, which says the same thing, and, while I was researching. found the AHT read me doc that you just posted about.
Popped the install disc into my current machine, launched Pacifist, and see that there is a .diagnostics folder. So, returning to your original query, use Pacifist to install that after you delete the hidden one currently resident in the CoreServices folder. That should restore booting AHT from the HD using the D key.
If it doesn't work, then your only alternative is to use the install disc.
So you found the same mismatched documents that I did? Thanks for your replies, btw.
I was scuppered anyway regarding the "Restart your computer with the media containing Apple Hardware Test" route.
The outfit that replaced my HD pooched the optical drive. I'm sure there's something jammed in it. (All completely deniable of course.) Can't get a disc in without damaging it - which is why I now have a brand new SL system disc.
So I now have a neat wee external Samsung USB optical drive. That of course contravenes the "disconnect all external devices with the exception of keyboard, mouse, display, and speakers" clause in the AHT instructions.
I shall follow your advice about the .diagnostics folders. I guess I need to make something invisble visible.
I'll return to this project in the morning with renewed optimism.
So you found the same mismatched documents that I did?
Yes. A close reading of that install disc, implies you need to insert it, and restart holding down the D key. They might have been practicing with putting it into CoreServices and got the booklet and document mismatched. However, you can try doing the installation as I described earlier.
This, when run in the Terminal app, unhides all hidden files/folders:
defaults write com.apple.finder AppleShowAllFiles 1
this rehides them:
defaults write com.apple.finder AppleShowAllFiles 0
As for running the test with the ext optical drive connected, just do it.
Hah! You stated in your OP, System/Library/Coreservices/.diagnostics folder, so I assumed you were seeing one there. If none exists, just have Pacifist install it and it should be put into the CoreServices folder. Alternatively, install it to the Desktop and just drag it into that folder. Ensure that the permissions are system w/R&W and wheel and everyone w/R only.
BTW, the command's I posted is what OnyX, TinkerTool, and all such 3rd-party utilities use. I usually prefer to know what those apps are on about.
Yeah, I assumed from my reading up on all of this that the .diagnostics folder would be there. The only 'dot' items were :
.dat002e.001 (a RAR file)
So I used Pacifist, extracted the .diagnostics folder from the original grey disc, and put it into the /System/Library/CoreServices folder.
As for permissions, the .diagnostics folder itself had no mention of 'wheel', but all of the items inside the folder were as you recommended.
So I restarted holding down the 'D' key, and ended up back at the Desktop - no Hardware Test.
I restarted with the grey disc in the external drive, held down the 'D' key and hey presto! there it was. I ran the test, and got the almost gnomic 'No trouble found' message at the end. Relief!
I took another look at that .diagnostics folder. Highlighting it and using command-I, the permissions were :
system Read & Write
admin Read only
everyone Read only
Couldn't see if 'wheel' was a possibility for inclusion.
Just out of curiosity, when you wrote 'system w/R&W and wheel and everyone w/R only', what does the 'w' stand for?
Another small point - the version of AHT that actually ran is 3A141, not 3A137 as printed on the label on disc 1. Lots of little false trails and inaccuracies for the enthusiastic amateur to trip over in this wee project.
Thanks for all your help here, baltwo. Much needed as you can tell.
Thanks for looking in WZZZ.
OK. Here's the response from Terminal :
drwxr-xr-x 12 root admin 408 13 Nov 2007 .
drwxr-xr-x 114 root wheel 3876 2 Aug 06:55 ..
drwxr-xr-x 7 root wheel 238 13 Nov 2007 Mac-F4208CA9
drwxr-xr-x 7 root wheel 238 13 Nov 2007 Mac-F4208CAA
drwxr-xr-x 7 root wheel 238 13 Nov 2007 Mac-F42187C8
drwxr-xr-x 7 root wheel 238 13 Nov 2007 Mac-F42189C8
drwxr-xr-x 7 root wheel 238 13 Nov 2007 Mac-F4218FC8
drwxr-xr-x 7 root wheel 238 13 Nov 2007 Mac-F4228EC8
drwxr-xr-x 7 root wheel 238 13 Nov 2007 Mac-F42786A9
drwxr-xr-x 9 root wheel 306 13 Nov 2007 Mac-bundle
drwxr-xr-x 7 root wheel 238 13 Nov 2007 Mac-default
-rwxr-xr-x 1 root wheel 27966 5 Oct 2007 diags.efi
I can't pretend I know what any of that means
Those all look good.
d is for a Directory (a folder) - hyphen in front is for a file.
See this for a basic explanation.
For ls -la (both a and l options are combined in this command.)
(long) list the files with their characteristics (size, privs, owner, etc)
list all files in the current directory (including those that would normally be invisible)
OK. WZZZ answered most of your queries. To correct the .diagnostics folder perms, run this in the terminal. At the Password: prompt, slowly type in your admin password, since nothing shows up on the screen, and hit the return key:
sudo chown -R root:wheel /System/Library/CoreServices/.diagnostics
Then, restart and try booting into the AHT by holding down the D key.