Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diagnostic tools don't start MacBook5,2 Mac-F22788AA #9

Open
franciscolourenco opened this issue Jan 11, 2015 · 15 comments
Open

Diagnostic tools don't start MacBook5,2 Mac-F22788AA #9

franciscolourenco opened this issue Jan 11, 2015 · 15 comments

Comments

@franciscolourenco
Copy link

Downloaded from the right link, added CoreServices/.dianostics to /Library, restarted, pressed D, the screen stays grey longer than usual, but eventually it just boots normally. Is there something missing?

@GabLeRoux
Copy link

Similar issue with MacBookPro6,1 Mac-F22589C8 Macbook Pro Mid-2010 here.

I downloaded and mounted 022-4596-A.dmg,
Copied /Volumes/AHTCThree/System/Library/CoreServices/.diagnostics to /System/Library/CoreServices/.diagnostics.
Shut down.
Held D,
Hit Power,
Booted normally after a minute without loading AHT :(

@freetonik
Copy link

Same thing with MacBookPro6,2 Mac-F22586C8 MBP Mid-2010.

@matcho
Copy link

matcho commented Jun 4, 2015

Same thing with iMac6,1 Mac-F4218FC8
iMac with Core 2 Duo 2.16 GHz and Mac OS X 10.6.8 (Snow Leopard) (10K549)
I copied the files from the .dmg using sudo cp -r; checked the permissons of /System/Library/CoreServices/.diagnostics : root:wheel, which seems normal...

@3ji7ja0jb9c
Copy link

@aristidesfl

added CoreServices/.dianostics to /Library

Apple Hardware Test does not use /Library. Directory .diagnostics belongs at pathname /System/Library/CoreServices/.diagnostics.

/Library/CoreServices/.diagnostics does not work
/CoreServices/.diagnostics does not work
/.diagnostics does not work

@freetonik, I verify 022-4597-A.dmg is a working distribution of AHT for MacBookPro6,2 Mac-F22586C8. Did you bless parent directory of .diagnostics? example:
bless --folder /Volumes/AHTCTwo/System/Library/CoreServices

@Jones-S
Copy link

Jones-S commented Jul 30, 2015

@3ji7ja0jb9c
I'm also facing the same problem as @freetonik.
As well a MacBookPro6,2 Mid 2010.
I put the diagnostics folder where it belongs and blessed the parent directory, just as you said.
Still after pressind D on startup I wait 1 min and it boots normally. No AHT.
Any solution?

@spenat28
Copy link

I have same issue with MacBookPro5,5 ... I followed those steps many times, to be sure its not working. (For example even tried different startup shortcuts, which works fine, to see if i am not pressing keys wrongly :) but nothing ...)

@3ji7ja0jb9c
Copy link

@Jones-S
I wonder if you have a complicated drive setup, and I wonder if Mac firmware gets confused. My MacBookPro6,2 specimen holds single large partition, no FileVault. If you have a Stick or other external disc to spare, then you might try running Apple Hardware Test from someplace other than internal drive.

Use just about any USB MSC or IEEE 1394 SBP-2, block size 512 octet, should work. In this example, /dev/rdisk1. Try:

  • pdisk /dev/rdisk1
    • in pdisk:
    • i [return] [return] [return] (default 512, default 512, default number of blocks)
    • c 2p 2p destination_aht
    • w
    • y
    • q
  • newfs_hfs -s -v 'destination_aht' /dev/rdisk1s2
  • diskutil mountDisk /dev/rdisk1
  • mkdir -p /Volumes/destination_aht/System/Library/CoreServices
  • cp -R /Volumes/AppleHardwareTest/System/Library/CoreServices/.diagnostics /Volumes/destination_aht/System/Library/CoreServices
  • bless --folder /Volumes/destination_aht/System/Library/CoreServices

A suggestion how better to style this instruction is appreciated.

@pclafferty2147
Copy link

um, maybe it's because I'm a dolt, but in downloading any of these core services folders, there's nothing in those folders to put in my current core services folder. No .diagnostics file. What am I missing here? (with apologies in advance if I am betraying my obtuseness) I've downloaded 022-4294 and -4297 both. Neither have the .diagnostics file in the core services folder.

@JohnGEyles
Copy link

Similar issue here getting it to work on Mac Pro 1,1. I restored the diagnostics by doing (in Unix shell):

cp -r [foo]/System/Library/CoreServices/.diagnostics /System/Library/CoreServices/.

... where 'foo" is the dmg file downloaded here and mounted.

But when I restart with 'D' depressed, the machine just starts up normally. No special diagnostic environment.

@JohnGEyles
Copy link

What worked much better for me was to create a bootable thumb-drive, as described here:

http://rivenbyfive.blogspot.co.uk/2012/01/download-and-run-apple-hardware-test.html

The short version is: 1. Download the dmg for your model (the collection of links here is still VERY useful in this regard). 2. Copy the System folder to a clean USB drive, and copy the diags.efi file to its root level. 3. Bless the USB drive in mount mode and reboot (as described in #6 of the link).

@gskibum
Copy link

gskibum commented May 16, 2017

I had the same issue with a MacPro5,1 with a USB drive.

The USB drive would boot into AHT without issue. I would then get to the language selector where I would select English. It would then either hang immediately after clicking the OK button, but not enter the actual AHT dialog, or it would sometimes enter the actual AHT dialog only to hang there. I could not get it to probe the hardware so it could run.

I have another MacPro2,1 (or MacPro3,1) to test with so I added the rest of the Mac Pro AHT images to my AHT USB drive, which worked normally. So now I went back to the MacPro5,1 and now AHT works normally.

@G0RD0NWei
Copy link

This is how I solved it. (No need bootable USB but Highly Risky)

System information:
Macbook Pro 2009 mid

  1. Check & download version you need, terminal command : ioreg -l | awk -F" '/board-id/ { print $4 }'

  2. Extra the dmg file, because System/Library/CoreServices/diagnostic is a hidden folder, show hidden file by the command: defaults write com.apple.finder AppleShowAllFiles TRUE;\killall Finder
    (hide files again by the command: defaults write com.apple.finder AppleShowAllFiles FALSE;\killall Finder)

  3. I checked the same path on my mac: System/Library/CoreServices/, but no diagnostic folder (it doesn't even exist), that's why I can't enter AHT no matter how many times I press and hold D or Option+D after reboot. So I decided to copy the diagnostic into my mac. To do that, you need to disable the SIP(System Integrity Protection) in Safemode(reboot and press Command+Shift+R) by the command: csrutil disable
    then reboot.

  4. Now you can copy the folder diagnostic folder into your System/Library/CoreServices/
    (Warning: remember to get the protection back again by: csrutil enable in Safemode, otherwise your core system will be easily modified by any stupid action)

  5. Reboot and press D for a while, ENTER AHT successfully.

@m1roff
Copy link

m1roff commented May 18, 2019

  1. I downloaded bundle for MacBookPro10,2 Mac-AFD8A9D944EA4843
  2. Load from earlier created USB with Mojave
  3. Open terminal and from second usb drive copied .diagnostics to /System/Library/CoreServices/.diagnostics to system disc.
  4. on reboot held D, it turns on, and happens nothing, just black screen (a left it for 15minutes, nothing changed, but it heats up).

Any Idea?

@kupietools
Copy link

kupietools commented Jun 3, 2019

I followed GordonWei's instructions and it did not enter AHT as he indicates in Step 5. After pressing D, it entered Internet Recovery, asked for my wifi network and password, went back to the internet recovery screen for a moment, and then went to a black screen saying only "cannot load efi/drivers/testsupport.efi".

This is the same exact thing it did before I downloaded the correct DMG and followed the instructions. This whole procedure made no difference.

I double-checked to make sure I did everything right, downloaded the right DMG for my computer and followed the instructions.

@MaxTechnics
Copy link
Contributor

I highly recommend using a USB drive to do the diagnostics. It seems to be the most reliable on all of my Mac testing. But please note that you have to start USB Diagnostics by pressing the alt/option key at startup. Not D. you will get a menu displaying your internal drive(s) and the USB drive. Sometimes the bliss command does not change the label completely and the boot usb is called EFI Boot or something similar.
I have more luck creating these drives with mac OS Mavericks or earlier.
Also MAKE SURE that you have the drive formatted properly and that it is not AFPS or MBR. If so, it will not boot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests