Q: Hardware test...
I can't do (unless I'm really stupid) Apple Hardware Test on my box. I hold down D at boot, no go. I hold down Option-D at boot, no go. I do the same with the install disc in, no go ... Am I missing something? Does Tech Tool Deluxe do the same thing? Is it better, or not?
MacBook Pro, Mac OS X (10.6.8)
Posted on Jan 5, 2015 6:29 PM
I need to come back to the rivenfive post, I have focusing on my script instead, since it worked for me.
This needs to be done on the Mac that needs to run AHT, all the usual warnings apply about running scripts from strangers on the internet!
Backup first if the Mac has ANY important data, get a second opinion if you need help. Don't run it if you are concerned what it does.
It worked for me on 10.6 when I made it & I tested on 10.9 earlier.
It needs to use sudo, so login to an admin user account otherwise it will fail to work (the first user account is an admin). It will prompt for the password.
The destination needs to be a 'Macintosh Extended (journaled) format' volume.
Download the 'gist' (right hand button) https://gist.github.com/drewreece/2e5eed7dbfbd5dd7e929
Open the archive via double click & you will get an insanely named folder 'gist2e… '
Rename the folder to 'aht-my-disk', move that folder to the Desktop
Make the script executable (only needed once), in Terminal
chmod +x ~/Desktop/aht-my-disk/AHT-my-disk.sh
To run it the command in Terminal is …
~/Desktop/aht-my-disk/AHT-my-disk.sh SOURCE-AHT-DISK-IMAGE DESTINATION-DISK
The easy way to do this…
Drag & drop the AHT-My-disk.sh script into Terminal to autofill the path to it.
tap spacebar
drag & drop the source disk image
tap spacebar
drag & drop the destination disk
Hit return to run the script
It will post lots of output to the Terminal as it runs. It does the following…
- Mount the source AHT disk image
- Copy the AHT onto the destination disk
- 'bless' the diags.efi for booting <- REQUIRES SUDO - enter password at prompt.
- Unmount the source AHT disk image
Now when you reboot will be set to use this as the startup disk. Do not hold any startup keys.
If it fails to launch AHT reboot & hold alt at next startup to choose another startup disk, or remove the USB stick to allow the Mac to search for other OS's.
Let me know if it fails or if you get any errors.
Posted on Feb 4, 2015 10:57 AM
