MacBook frozen on logo screen! Won't start from disk or boot into safe mode

My MacBook was abnomally sluggish this morning. It froze several times as I checked my Mail, then I clicked 'Get Info' on an Application, and Finder restarted itself. I had to shut it down manually (hold down button.)
When I turned it back on it wouldn't start past the logo and spinning gear. I called Apple, he had me try Shift startup (Safe Mode, didn't work) and C startup (boot from install disk, my Mac spit the disk out).
I was wondering if there is anything else I can try. I don't feel like driving 40 minutes to my 'local' Apple Authorized Service Provider, but I need my laptop.
Details:
Late '06
Black MacBook2,1
2GHz Intel Core 2 Duo
4GB RAM
Leopard 10.5.7
Message was edited by: Cory James22

<rant>
I wasn't given an option to increase my hard drive size, as I took it in to a "local" AASP. They keep telling me Apple is slow shipping out a new HD, but with my experiences Apple always FedExs a repair order very quickly. If I had known it was the d* hard drive I would have had the thing up and running 2 weeks ago.
I plan on contacting Apple and letting them know that their AASP is giving them a bad name. I know that Apple is not the problem here, but other people who take their Mac in to these bozos will believe Apple is at fault for their slow service.
</rant>

Similar Messages

  • IMac dead, grey screen, won't start from disks

    I'm sure this is going to go over familiar territory.   We have a housefull of Macs and have had for a long time, and I'm fairly used to hunting down issues.  This particular one is a problem I've fortunately not seen before.  I suspect a serious hardware problem, but only got a look at it once it was fairly advanced.
    My teen son was using this computer, a 21"  iMac, I think from 2007 (it was a hand me down from his Mac-savvy Grandma).   He says that it was freezing on him for the last week or two, and he'd have to restart.  Then a couple of days ago when he restarted he got a folder icon with a ?, so he took the install discs and reinstalled the OS, which was 10.4.   Yes, at this point he'd already goofed, because he'd gone over his data, and though he had an external HD, he had not used it with Time Machine for several months.  I don't know what he was thinking, but he's 16...he probably was not. 
    This was where I finally came in. Yes, get old Dad involved once an issue has reached the crisis stage. :-\
    At that point his desktop showed a fresh install of 10.4, which we wanted to update at least, and possibly retrieve his last Time Machine, but I figured there was likely an underlying problem.   Disk utility showed that the disk needed repairing, but I figured that needed to be done from an install disk, and for good measure, I should probably run the Hardware Test as well. 
    Now things got complicated, because I have been unable to get the computer to start from any install disk I've tried.  We have two sets of original install disks from this generation of iMacs (two similar computers), and complete install discs for 10.5 and 10.6, as well as Disk Doctor.   The computer refuses to start up from any of them, with either 'C' or 'D' held down, nor will it start up in Safe Mode.  And now the fresh install of 10.4 has disappeared as well.
    All that occurs on restart, after the 'bong' is a grey screen. If a disk is in the optical drive, there is a brief sound of it spinning up, then silence for a good while, maybe 2 mins, then the disk is spit out.  Nothing more.  I have zapped the PRAM or whatever it's called these days, with no change.
    We did have an external DVD drive somewhere and I'd like to try that, in case there's a problem with the optical drive itself, but I am thinking this computer may have both disk and hardware issues.  
    Any advice welcome...thanks in advance!

    Hi, sounds like the Hard Drive is dying, & that can prevent booting up.
    Hold alt key on bootup, what shows as boot choices?
    Have you unplugged all peripherals, cords, & AC power, let sit 30 minutes & try just with AC connected?
    If you don't know the model, find the Serial# & use it on one of these sites, but don't post the Serial# here...
    http://www.chipmunk.nl/klantenservice/applemodel.html
    http://www.appleserialnumberinfo.com/Desktop/index.php
    How to find the serial number of your Apple hardware product...
    http://support.apple.com/kb/HT1349
    Tough without the Install disc, but some things to try...
    Does it boot to Single User Mode, CMD+s keys at bootup, if so try...
    /sbin/fsck -fy
    Repeat until it shows no errors fixed.
    (Space between fsck AND -fy important).
    Resolve startup issues and perform disk maintenance with Disk Utility and fsck...
    http://docs.info.apple.com/article.html?artnum=106214

  • Hello to you all, my Macbook Air won's boot up and upon diagnosis, i realized my startup disk is full to 99% even with 2GB Hard Disk space. It wont also enable me boot into safe mode too. Please help as all my work documents and project files are on HD

    Hello to you all,
    My Macbook Air won's boot up and upon diagnosis, i realized my startup disk is full to 99% even with 2GB Hard Disk space. It wont also enable me boot into safe mode too.
    when i power up, i get this prolong gray screen which wont change screen but remain so. Infact i am handicapped.
    Please help as all my work documents and project files are on this machine and i can't afford to loose them all...
    Please, should you have any solution please send me the details to [email protected]
    Thanks you a millionh times.
    Al.

    The MBA seems to cause several problems to several users on boot ups
    On start up my MBA would not boot up the apple logo came on but only a blank screen appeared no fan i followed several start up recommendations but to no avail so I  took the MBA to the nearest Apple repair centre again the same symptoms on start up ......very sorry sir you need a new mother board that will be $500 not feeling confidant in the product declined and was going to put it on ebay for spares.
    On return home I pressed the start up button and it started normally everything was working fine i decided to reinstall all the software what has caused the problem I have no idea but it is after several attempted reboots it finally started on its own so don't give up if you have this problem it may come to life

  • OS hangs at grey startup screen, won't boot into safe mode

    I rebooted my G5 this morning and when it came back up, it hung on the grey screen with the Apple logo and the spinning 'gear' progress bar. I tried rebooting several times, but that didn't help. I tried booting from the install DVD (which it did) and ran disk utility (both verify & repair on the start up drive and on permissions. It claims to have found permission errors and fixed them.) I hunted for answers online and tried to boot into safe mode, which did not work.
    Someone mentioned booting into verbose mode and I saw that the load sequence was choaking on the login.
    What could the problem be and how can I fix it?

    Hi Yosarian,
    Minor permissions repairs are no concern: The good news is that your data is probably OK.
    Three things can be happening: Some of the machines boot settings are corrupted, or the OS files or settings are damaged, or there's a hardware problem.
    Resetting the machines power management chip, called a PMU or SMU, depending on your computer, and the PRAM will resolve machine boot settings problems. Run a google search for your model of Mac plus reset pmu OR smu for instructions. After that, reboot your computer and hold Option-Apple-P-R down as you power on. Hold all 4 keys until you hear the startup chime a second time.
    You can test your hardware with the grey disk that came with it that ays AHT in little letters. Boot from the CD and run the extended test. Be patient: AHT can take a long time to boot and run.
    If you reset your PMU and PRAM and pass a hardware diagnostic but still can't boot normally, in safe mode, or in single-user mode, the problem is system software. Reinstall from your latest installer, checking off Archive and Install and Preserve Users and Settings from the Options screen available at the screen where you choose which disk to install to.
    Good luck,
    John

  • Hard drive won't boot into safe mode

    My mid 2010 Macbook Pro has suddenly decided to not boot up after installing BitDefender and running a scan.
    I installed it on a whim when I saw minor malware that hijacked Safari, and decided to run a scan. While I was working on Photoshop, the scan must have finished because all of my windows disappeared and I was left with my desktop and the spinning gray loading at the bottom of my screen. I waited 20 minutes, realized it wasn't going anywhere and force shut down the Macbook by power button.
    Now, I cannot successfully get it past the grey apple loading screen. Attempting to boot into safe mode still leaves it at the same screen. Tried to reset the PRAM, still can't get past the loading screen. I still have my OS disk, however it is Snow Leopard and my current is Mavericks and I'm unsure if it is a wise idea.
    15 inch mid 2010 Macbook Pro running OS X Mavericks, how dead in the water am I and how much would this cost me to "fix"?

    Use the original Snow Leopard installation disk and start the MBP as if you were going to reinstall the OSX.  Early in the process you should see a menu bar on the top of the display.  Click on UTILITIES and from the dropdown menu select Disk Utility.  Run Disk Utility>First Aid, Verify and Repair.  If it is not successful, the HDD will have to be replaced.
    Ciao.

  • Won't boot into safe mode

    My 2012 iMac 27" was randomly rebooting itself, while in Sleep. I assumed this was due to the cheap 32 GB memory I bought, but before I could change it back to the original memory, to test, the Mac booted into Safe Mode (I assume - a progress bar showing at the bottom of the boot screen, below the Apple logo), and did not get further than a half the way, and then shut down. I swapped the memory to the original 8GB. I tried booting again, no buttons held down, as then it wouldn't get further than a quarter of the way. Further attempts to boot do not work, even when holding down Option to choose the boot disk, pressing Shift for Safe Mode, or Option-S for Single User Mode. I assume it's trying to boot in Safe Mode, but failing?
    I also tried using a good Mac with the bad Mac as the Target Disk boot mode - the good Mac does not see the bad Mac...
    I have an external DVD drive, but that isn't an option as I can't go into boot drive select mode. What are my options, apart from sending the iMac back?

    Booting into the Recovery HD should allow you to effect repairs - that's the point of it, so it's a bit concerning that it won't allow you to. The Recovery HD is a partition on the internal drive that should allow you to effect repairs to the Macintosh HD, albeit part of the same physical disk.
    I'm no expert, but I'd be concerned that the hard disk is on the way out. Do you have backup of everything - Time Machine or a bootable clone, perhaps?
    Maybe have another try with Command+r. If it fails I'm not sure what would be the best next step - it depends if you have a full and up-to-date backup of your disk so that you can restore.
    One of the options of the Recovery HD is to allow you to re-install the OS, which won't delete your data.
    The more extreme step would be Internet Recovery which would involve erasing everything and re-installing via the internet.
    Worth reading this carefully before proceeding: http://support.apple.com/kb/HT4718
    Disk Warrior from Alsoft (not cheap) is another possibility for recovering damaged disks, although it's not a guaranteed solution.

  • Login screen comes up repeatedly, booting into safe mode by default

    Good Morning,
    I have an iMac (Lion 10.8) that is having a lot of trouble.  I manage an Elementary School's IT fleet.  At the end of last year, the computer was booting into Safe Mode by default.  Once the system came up, the teacher could use it - but it took so long to boot that she chose not to.  The teacher left the school, and I was planning to just format it and reimage.  Here is what I have happening. 
    Boots into safe mode on it's own
    Once it's done booting, the login screen shows up - but entering any credentials just gets a grey screen, and the login screen comes right back.  Even root.  Which means I can't get logged into the computer at all. 
    Recovery mode will not allow me to erase the drive, says failed and not able to access the drive. 
    Target mode will also not allow me to erase the drive, nor will it allow me to push over an image.  Scanning the drive failed, busy. 
    Disk repair says unable to repair disk - please format. 
    These are the things I have tried. 
    Reset PRAM (three times over the course of troubleshooting)
    Replaced the RAM completely
    Unplugged 15 seconds trick
    Accessing via Target mode - Drive is greyed out, but shows up
    Ran FSCK manually, and it completed
    Tried to do a netinstall, but the disk does not show up in netboot as an option. 
    I thought maybe the drive was bad, but considering that it will boot into safe mode eventually (although you can't login), and FSCK completed successfully -  I'm just not sure!  I just thought I'd pick your brains.  I'm usually a Windows \ Linux Administrator, so this Apple business is new to me   I'm learning!  Although I find them frustrating.  Any help would be greatly appreciated! 
    Thank you

    I thought maybe the drive was bad, but considering that it will boot into safe mode eventually (although you can't login),
    Some part of the disk may be bad while others are good.  i/o could be trying multiple times and eventually succeeding.
    Ran FSCK manually, and it completed
    You run FSCK in single user mode?  This is very surprising.  FSCK verifies the filesystem is in order.  Actual data blocks could be bad. Would be a surprise if no file system blocks were not also bad.
    Except for this fact, it seems like a hd problem.  Intermediate problem.  Heat problem, etc.
    Time to try a different hd.  See if that works.  Could be some other hardware problem.  Try external drive/flash drive, etc.
    Mac OS X is BSD Unix.

  • Mac Pro won't boot into safe mode

    I tried to boot into safe mode by using the keyboard key and the progress bar got a little bit of the way across but then it got stuck and sat there for 2 days with no change. Any idea why no safe mode?  Here's a photo of the screen how it sat for 2 days:
    https://dl.dropbox.com/u/23232804/no%20safe%20mode.JPG

    Here's the few lines right around the boot attempt:  at 1pm on 12/31 I tried to boot into Safe mode, then seeing that it was taking forever, I left, and came back on 1/2. It was in exactly the same spot so I rebooted normally. Does this give any clues?
    12/31/12 1:03:48 PM
    /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/Resources/helpd[ 15597]
    MDS Error: unable to create user DBs in /var/folders/kv/kvWwTJ6jGyu2tiPpClXO8++++TI/-Caches-//mds
    12/31/12 1:03:48 PM
    /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/Resources/helpd[ 15597]
    MDS Error: unable to create user DBs in /var/folders/kv/kvWwTJ6jGyu2tiPpClXO8++++TI/-Caches-//mds
    12/31/12 1:03:48 PM
    /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/Resources/helpd[ 15597]
    MDS Error: unable to create user DBs in /var/folders/kv/kvWwTJ6jGyu2tiPpClXO8++++TI/-Caches-//mds
    12/31/12 1:04:05 PM
    authexec[15601]
    executing /System/Library/ScriptingAdditions/StandardAdditions.osax/Contents/MacOS/uid
    12/31/12 1:04:05 PM
    authexec[15603]
    executing /System/Library/ScriptingAdditions/StandardAdditions.osax/Contents/MacOS/uid
    12/31/12 1:04:05 PM
    authexec[15606]
    executing /System/Library/ScriptingAdditions/StandardAdditions.osax/Contents/MacOS/uid
    12/31/12 1:04:07 PM
    authexec[15608]
    executing /System/Library/ScriptingAdditions/StandardAdditions.osax/Contents/MacOS/uid
    12/31/12 1:04:23 PM
    com.apple.launchd.peruser.501[395]
    ([0x0-0x5535530].com.titanium.OnyX[15559]) Exited: Terminated
    12/31/12 1:04:26 PM
    com.apple.kextd[18]
    /Volumes/Clone internal disk: kextcache has had enough tries; not launching any more
    1/2/13 8:33:27 AM
    kernel
    npvhash=4095
    12/31/12 1:08:48 PM
    /System/Library/CoreServices/Dock.app/Contents/MacOS/Dock[7534]
    spawn_via_launchd() failed, errno=12 label=com.apple.Finder flags=2
    1/2/13 8:33:27 AM
    kernel
    PAE enabled
    1/2/13 8:33:27 AM
    kernel
    64 bit mode enabled
    1/2/13 8:33:27 AM
    kernel
    Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386
    1/2/13 8:33:27 AM
    DirectoryService[21]
    Improper shutdown detected

  • Macbook Pro won't boot into safe mode or via bootable USB key

    Hi,
    Am running OSX Lion latest version on my Macbook Pro 4,1 and can't get the thing to boot from any source.  Always get's stuck at the grey screen with apple logo.  Have tried all the following...
    - Straight Boot (power on)
    - Boot via Recovery HD (hold option on bootup then select)
    - Boot via Safe Mode (Holding Shift on bootup)
    - Boot via Safe Mode Verbose (Shift, Command, V)
    - Boot via bootable Lion USB Key (Hold option, and choose the USB drive - not the same USB key works on my other macbook pro)
    On every one (except verbose) it just get's stuck on the grey screen with spinning timer thingie.
    I have done PVRAM reset, SMC reset and have reseated the RAM and all to no avail.  I'm pretty sure the problem was caused by removing battery at wrong time (device not responding after sleep mode started and I plugged in power - should have been more patient!)
    I have a Time Machine backup but it's a bit older than I thought and very much want to get my newer photos off it before rebuilding - not that Time Machine would work in current state anyway. 
    So what are my remaining options?  Will I have to open it up and remove the HD as next step or is there anything else left to try?  Can I remove the HD and connect it via a USB caddy to my existing Mac to recover info (hardrive spins and sounds ok to me)?
    Any advice appreciated...

    ds store wrote:
    Yes, once the data is off you can use Disk Utility to Erase the entire drive (Lion + Recovery) with the Zero option (one selection below 7x) then use the Lion USB to install it fresh and stick it back into the machine.
    Thanks for the info - I removed the HD and data is all ok on there so very happy about that.  Before I wipe the data (all backed up now) I thought I would try booting the mac without any harddrive installed - using a OSX Lion bootable USB.  However, still can't get past the grey apple screen and circle icon whirling away.   I know the USB works ok, as tried it in my 2011 Macbook Pro and it boots absolutely fine. 
    I am happy to wipe the HD now and start again, but seeing as the DVD Drive is broken I'll probably need a USB drive boot to install OSX onto the wiped HD anyway.  I'm a bit lost as to what to try now. 

  • Help! Logo screen at startup, crashes in Disk utility and FW disc mode

    So yesterday I woke my computer from sleep and launched firefox. After a few minutes it crashed and the froze. I restarted and got the grey screen with apple logo. Restarted many more times and would either get the grey screen with logo or if it managed to startup it would again freeze after a few minutes.
    Tried starting up from install disc to launch disc utility to check the permissions and verify disk. This also froze several times put i managed to repair permissions and repair disc. Now I am not able to get it to start up unless from the install disk. I have a bootable backup drive with I tried to connect and use as a startup disc. I just got a black screen when I tried that, I also connected the G5 to my
    Powerbook G4 in firewire disk mode. It connected and I was going to attempt to copy the Bootable external drive back to the Drive in the tower and try starting from that, but the G5 then froze in Firewire disk mode and had to be restarted.
    I'm out of options here, and desperate....any ideas. I thought that grey screens many times meant software or hardware conflicts. could this just be something horribly wrong with my hardware?
    Help!
    Thanks in Advance!

    I've read several response to problems with target disc mode. I'm trying to connect my old computer, G3 tower with OS 8.6, to my new computer, mac book pro. I've called tech support twice and they have no clue as to why it won't work. They suggested this discussion page. I tried what one fella did, which worked for him, but didn't for me. I rebooted with shift button down, then ran verify and repair, then shut down, unplugged for a minute or two, restarted zapping pram (optioncommand(apple) P & R keys. Then restarted with the T key down. Attached firewire to both target computer and disc computer, (did this first), but no jumping firewire icon ever appeared.
    One fella out there said it took his computer 5 minutes for the icon to appear. Did he hold the T key down all that time? I let go after my normal desktop icons were up and the computer stopped wiring.
    I am calling tech support back...who knows maybe I'll get someone who knows something.
    Any ideas?
    Thanks Little Champ

  • I was updated to Firefox 36 automatically, however, it won't start. I have tried firefox safe mode, reinstalling, uninstalling avg antivirus, eks.

    Computer rebooted overnight to install updates. Everything else was fine, but now Firefox, which was updated to version 36, will not launch. Basically, I double click on it, I get a little disk access, and then nothing. I have tried starting in firefox safe mode. Same thing happens. I have uninstalled by deleting entire Mozilla Firefox from program files and reinstalling. Still won't start. I have uninstalled an old version of AVG. Still won't start. I have Microsoft Security Essentials running, and have updated it. Still won't start. I need some new ideas.

    I just want to confirm one step that you took. When you say you deleted the Firefox content from program files, this may not have taken all of the Firefox related components off of your computer.
    The steps you should follow to remove a potentially damaged install of firefox are:
    Open your start menu, select 'program files'. In program files, select 'Programs and Features', this should open your 'Uninstall or change a program' window. In this window locate your 'Mozilla Firefox' program. Select the program with a left click then select 'Uninstall', which should appear once the program is highlighted.
    This process will remove changes to the registry that may be causing issues. After fully uninstalling firefox from your programs, perform a fresh install of the latest version of the browser.
    If you have already performed this process with no success then there may be other issues related to your recent windows updates, this is not uncommon. If you are having issues after a fresh install of Firefox, after using the instructions above, please check to see if your 'Internet Explorer' browser is having the same issues, if so then you may have more serious problems that will require further action.

  • IMac won't start from disk.

    my son shut down my Mac while it was installing software.  When I start up I get a circle with a line through it.  Now it won't start up from disc.

    Startup Issues - Resolve
    Startup Issues - Resolve (2)
    Startup Issues - Resolve (3)

  • Start up problems - only boots in safe mode

    Hey community of amazing computer lovers, to preface my question... my setup is:
    Macbook Pro, mid-2009 15in.
    Processor  2.66 GHz Intel Core 2 Duo
    Memory  4 GB 1067 MHz DDR3
    Graphics  NVIDIA GeForce 9600M GT 256 MB
    Software  OS X 10.9.1 (13B42)
    Recently, after a move to Hawaii my laptop has begun having issues starting up normally. With ample power in the battery, and even when plugged into the wall via (a slightly damaged adapter), the macbook will do a number of abnormal responses to pushing the power button.
    1. The indicator light (small white mini rectangle near front right of base) will blink once when power button is depressed. Nothing else happens. No boot up.
    2. Holding power button down, indicator light will turn on, a boot up screen appears for a moment, then power cuts out and boot up ends.
    3. (When holding the power button down) The indicator light will light up, then flicker and turn off.
    4. (When holding shift for safe mode) System will boot up and has allowed me to work here in Safe mode.
    I have restarted the machine while holding command+R, ran disk utility and repaired the disk. This action has not solved issue. Last night I left the computer in sleep mode after doing this, and woke up to a shut down machine with power left in the battery...
    What is the issue at hand? Hardware?
    How can I take steps to fix it myself?
    Any help much appreciated,
    Parker

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) at the request of a stranger on a public message board. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed: Copy a line of text from this web page into the window of another application. Wait for the script to run. It usually takes a few minutes. Then paste the results, which will have been copied automatically, back into a reply on this page. The sequence is: copy, paste, wait, paste again. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin; clear; Fb='%s\n\t(%s)\n'; Fm='\n%s\n\n%s\n'; Fr='\nRAM details\n%s\n'; Fs='\n%s: %s\n'; Fu='user %s%%, system %s%%'; AC="com.autodesk.AutoCAD  com.google.GoogleDrive"; NS=networksetup; PB="/usr/libexec/PlistBuddy -c Print"; A () { [[ a -eq 0 ]]; }; M () { find -L "$d" -type f | while read f; do file -b "$f" | egrep -lq XML\|exec && echo $f; done; }; Pc () { o=`grep -v '^ *#' "$2"`; l=`wc -l <<< "$o"`; [[ l -gt 25 ]] && o=`head -n25 <<< "$o"`$'\n'"[$((l-25)) more line(s)]"; Pm "$1"; }; Pm () { [[ "$o" ]] && o=`sed -E '/^ *$/d; s/^ */   /; s/[-0-9A-Fa-f]{22,}/UUID/g' <<< "$o"` && printf "$Fm" "$1" "$o"; }; Pp () { o=`$PB "$2" | awk -F'= ' \/$3'/{print $2}'`; Pm "$1"; }; Ps () { o=`echo $o`; [[ ! "$o" =~ ^0?$ ]] && printf "$Fs" "$1" "$o"; }; R () { o=; [[ r -eq 0 ]]; }; SP () { system_profiler SP${1}DataType; }; id -G | grep -qw 80; a=$?; A && sudo true; r=$?; t=`date +%s`; clear; { A || echo $'No admin access\n'; A && ! R && echo $'No root access\n'; SP Software | sed '8!d;s/^ *//'; h=(`SP Hardware | awk '/ Id/{print $3}; /Mem/{print $2}'`); o=$h; Ps "Model"; o=$((h[1]<4?h[1]:0)); Ps "Total RAM (GB)"; o=`SP Memory | sed '1,5d;/[my].*:/d'`; [[ "$o" =~ s:\ [^O]|x([^08]|0[^2]|8[^0]) ]] && printf "$Fr" "$o"; o=`SP Diagnostics | sed '5,6!d'`; [[ "$o" =~ Pass ]] || Pm "POST"; p=`SP Power`; o=`awk '/Cy/{print $NF}' <<< "$p"`; o=$((o>=300?o:0)); Ps "Battery cycles"; o=`sed -n '/Cond.*: [^N]/{s/^.*://p;}' <<< "$p"`; Ps "Battery condition"; for b in Thunderbolt USB; do o=`SP $b | sed -En '1d;/:$/{s/ *:$//;x;s/\n//p;};/^ *V.* [0N].* /{s/ 0x.... //;s/[()]//g;s/(.*: )(.*)/ \(\2\)/;H;};/Apple|Genesy|Intel|SMSC/{s/.//g;h;}'`; Pm $b; done; o=`pmset -g therm | sed 's/^.*C/C/'`; [[ "$o" =~ No\ th|pms ]] && o=; Pm "Thermal conditions"; o=`pmset -g sysload | grep -v :`; [[ "$o" =~ =\ [^GO] ]] || o=; Pm "System load advisory"; o=`nvram boot-args | awk '{$1=""; print}'`; Ps "boot-args"; a=(/ ""); A=(System User); for i in 0 1; do o=`cd ${a[$i]}L*/Lo*/Diag* || continue; for f in *.{cr,h,pa,s}*; do [[ -f "$f" ]] || continue; d=$(stat -f%Sc -t%F "$f"); [[ "$f" =~ h$ ]] && grep -lq "^Thread c" "$f" && f="$f *"; echo "$d ${f%%_2*} ${f##*.}"; done | sort | tail`; Pm "${A[$i]} diagnostics"; done; grep -lq '*$' <<< "$o" && printf $'\n* Code injection\n'; o=`syslog -F bsd -k Sender kernel -k Message CReq 'caught bu|GPU |hfs: Ru|I/O e|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|SATA W|ssert|Thrott|timed? ?o' | tail -n25 | awk '/:/{$4=""; $5=""};1'`; Pm "Kernel messages"; o=`df -m / | awk 'NR==2 {print $4}'`; o=$((o<5120?o:0)); Ps "Free space (MiB)"; o=$(($(vm_stat | awk '/eo/{sub("\\.",""); print $2}')/256)); o=$((o>=1024?o:0)); Ps "Pageouts (MiB)"; s=( `sar -u 1 10 | sed '$!d'` ); [[ s[4] -lt 85 ]] && o=`printf "$Fu" ${s[1]} ${s[3]}` || o=; Ps "Total CPU usage" && { s=(`ps acrx -o comm,ruid,%cpu | sed '2!d'`); n=$((${#s[*]}-1)); c="${s[*]}"; o=${s[$n]}%; Ps "CPU usage by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; }; s=(`top -R -l1 -n1 -o prt -stats command,uid,prt | sed '$!d'`); n=$((${#s[*]}-1)); s[$n]=${s[$n]%[+-]}; c="${s[*]}"; o=$((s[$n]>=25000?s[$n]:0)); Ps "Mach ports used by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; o=`kextstat -kl | grep -v com\\.apple | cut -c53- | cut -d\< -f1`; Pm "Loaded extrinsic kernel extensions"; R && o=`sudo launchctl list | awk 'NR>1 && !/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|calendarse|cups|dove|isc|ntp|openld|post[fg]|x)/{print $3}'`; Pm "Extrinsic daemons"; o=`launchctl list | awk 'NR>1 && !/0x|com\.apple|org\.(x|openbsd)|\.[0-9]+$/{print $3}'`; Pm "Extrinsic agents"; o=`for d in {/,}L*/Lau*; do M; done | egrep -v 'com\.apple\.(CSConfig|server)' | while read f; do ID=$($PB\ :Label "$f") || ID="No job label"; printf "$Fb" "$f" "$ID"; done`; Pm "launchd items"; o=`for d in /{S*/,}L*/StartupItems; do M; done`; Pm "Startup items"; sys=`pkgutil --regexp --only-files --files com.apple.pkg.* | sort | uniq | sed 's:^:/:'`; b=`sed -E '/^.+Lib.+\/Contents\/Info.plist$/!d;s/\/Info.plist$//;/Contents\/./d' <<< "$sys"`; o=`find -L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo}* -type d -name Contents -prune | grep -Fv "$b" | while read d; do test -f "$d/Info.plist" || continue; ID=$($PB\ :CFBundleIdentifier "$_") || ID="No bundle ID"; printf "$Fb" "${d%/Contents}" "$ID"; done`; Pm "Extrinsic loadable bundles"; l=`egrep '^/usr/lib/.+dylib$' <<< "$sys"`; o=`find /usr/lib -type f -name *.dylib | grep -Fv "$l"`; Pm "Extrinsic shared libraries"; o=`for e in INSERT_LIBRARIES LIBRARY_PATH; do launchctl getenv DYLD_$e; done`; Pm "Environment"; o=`find -L {,/u*/lo*}/e*/periodic -type f -mtime -10d`; Pm "Modified periodic scripts"; o=`scutil --proxy | grep Prox`; Pm "Proxies"; o=`scutil --dns | awk '/r\[0\] /{if ($NF !~ /^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./) print $NF; exit}'`; i=`route -n get default | awk '/e:/{print $2}'`; I=`$NS -listnetworkserviceorder | sed -En '/ '$i'\)$/{x;s/^\(.+\) //p;q;};x'`; n=`$NS -getdnsservers "$I" | awk '!/^T/{print "not "}'`; Ps "DNS (${n}from DHCP)"; o=`$NS -getinfo "$I" | awk '/k:/{if ($3 != "255.255.255.0") print $3}'`; Ps "Netmask"; R && o=`sudo profiles -P | grep : | wc -l`; Ps "Profiles"; f=auto_master; [[ `md5 -q /etc/$f` =~ ^b166 ]] || Pc $f /etc/$f; for f in fstab sysctl.conf crontab launchd.conf; do Pc $f /etc/$f; done; Pc "hosts" <(grep -v 'host *$' /etc/hosts); Pc "User launchd" ~/.launchd*; R && Pc "Root crontab" <(sudo crontab -l); Pc "User crontab" <(crontab -l | sed -E 's:/Users/[^/]+/:/Users/USER/:g'); R && o=`sudo defaults read com.apple.loginwindow LoginHook`; Pm "Login hook"; LD="$(`find /S*/*/F* -type f -name lsregister | head -n1` -dump)"; o=`for ID in $AC; do [[ "$LD" =~ $ID ]] && echo $ID; done`; Pm "Application check"; Pp "Global login items" /L*/P*/loginw* Path; Pp "User login items" L*/P*/*loginit* Name; Pp "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed -E 's/(\..*$|-[1-9])//g'; o=`find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l`; Ps "Restricted user files"; cd; o=`SP Fonts | egrep "Valid: N|Duplicate: Y" | wc -l`; Ps "Font problems"; o=`find L*/{Con,Pref}* -type f ! -size 0 -name *.plist | while read f; do plutil -s "$f" >&- || echo $f; done`; Pm "Bad plists"; d=(Desktop L*/Keyc*); n=(20 7); for i in 0 1; do o=`find "${d[$i]}" -type f -maxdepth 1 | wc -l`; o=$((o<=n[$i]?0:o)); Ps "${d[$i]##*/} file count"; done; o=; [[ UID -eq 0 ]] && o=root; Ps "UID"; o=$((`date +%s`-t)); Ps "Elapsed time (s)"; } 2>/dev/null | pbcopy; exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste (command-V). The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, just press return three times at the password prompt.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Terms of Use of the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • IMac won't boot into safe mode

    Hello. I hope this is the right forum.
    I have an iMac (2010 ish) that recently encountered system slugishness and then eventually would not start. All we got was the white screen, the apple logo, the spinning gear and the progress bar. It is currently stuck on the white screen with the aple logo and the spinning gear after trying to start in safe mode. Do any of you kind folk have some suggestions on what to do next? Thanks in advance.

    Thank you for your reply. I have just attempted an AHT where I followed the instructions for OSX 10.7 and above. I chose this, even though I have the 10.6.4 Install disk because we upgraded this computer to 10.7. The machine did not do the test. It just repeated the same behaviour as before, white screen, apple logo, spinning gear and progress bar for several seconds and then the bar dissapears. Should I have tried the AHT by using the install disk as noted?

  • My mac stays on the loading screen and when I boot into safe mode it loads the background but no icons

    My mac was working fine the other day and I started it up today and it loaded to a blue screen so I restarted it and went to safe mode and it loaded up with the background and mouse but no icons. Could I please have any help thanks.

    Just to confirm, your iMac is a "G5" (not Intel), and THIS is the procedure you used to reset the SMU
    http://support.apple.com/kb/HT1767
    and not the procedure for Intel iMacs.
    If you have the iMac connected to an old (or overcrowded) power strip, try connecting it directly to a wall outlet by itself.  Make sure no other cables (other than the power cord) are connected.

Maybe you are looking for

  • Time Machine and File Vault question

    I just completed a clean install of OS x mavericks and then used my time machine back up to restore the mac. The whole process was confusing for many reasons and I just want to get some clarification/verification on my next actions. When I enter time

  • How does "root" work in 3.0

    Does anyone know how to get the "root" action to work in 3.0? It used to be (1.0 and 2.0) that using "_root." would go to the root level of the movie (leaving a movie clip) and then you could control the timeline (or target another movie clip), but n

  • I disable my phone and it said connenct to itunes which i did then i reset it but nothing happen it still diableed

    My phone is still disabled and every time I try to connect it to ITunes nothing happens

  • Export function not working in Lr 5.3 after upgrade from Lr3.6?

    I've just upgraded to Lr3.6 from Lr5.3 on Windows 7 and am unable to export photos or create smart previews. I'm suspecting the catalog hasn't migrated properly in some way but can't work out why. Can anyone help please?

  • New feature of BO XI

    Hi, i want to know the latest feature web intelligence and Analytic report that BO XI is providing in 2007 -2008 year. And i want to know from where (From which link) we can up grade these feature in our BO XI. pls reply soon..