You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Help needed to fix elderly neighbour's iMac booting up with panic(cpu 2) error

Hi there,


I'm trying to help an elderly neighbour who's iMac won't bootup due to the above error. I'm more a Microsoft guy than Apple but please don't hold that against me I'm trying my best to help her! :o)


I figure it's best to re-install back to the original Mac image but I want to back her data up first and I'm having trouble. I've bought her a new external drive, formatted it and it passes a First Aid test in Disk Utility. The problem is that the backup fails every time and I'm stumped. Her drive shows she's only used about 60GB of a 1TB drive but when I try running First Aid on it (which always fails) or try creating a backup image it then shows the disk as being full when it fails. I don;t know if this is a glitch but when I close DU and open again it goes back to showing what I think is the correct usage i.e. about 60GB.


Here is the bootup error:



Below is the image showing her used diskspace followed by the error creating the backup image then the image showing the drive is full after it ....





Here is also an image of the error if I try First Aid on her drive:



Sorry for the long post, I'm trying to post as much info as possible on what I've tried. She's desperate not to lose her data so I need to get a backup before I re-install unless someone can suggest a better idea. Appreciate any help.


I've tried creating the image as a normal read/write and also compressed just in case the 1TB external drive wasn't big enough but backup creation fails in both cases.

Posted on Jul 12, 2023 1:58 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 12, 2023 7:01 AM

IpodTouchERM wrote:

The full drive is one of my queries, if you see from the picture above the Untitled drive is showing as only having 69.39GB used. It's only when I run First Aid on it or try to create an image that it then shows it's full. If I come out DU and back in it then shows 63.9GB used again. Is the full disk pic an anomaly of DU and a Red Herring?


When you created the disk image, did you by any chance, accidentally store the new disk image on the same internal disk that you were imaging? That could be like a snake trying to eat its own tail. I'm not sure whether Disk Utility would let you try that … but if it did, I could see how it wouldn't end well.


• As I mentioned, I'm not an expert with Apples, if I can't boot it up then how can I use a third party backup program?


How did you get into Disk Utility if you couldn't boot the system? You don't need to install those programs on the drive being backed up. If you are booting from an external drive and can install and run programs from it, that's all you need. You tell the backup program the source and destination when you run it.



• It's unlikely to be a RAM seated issue, it has sat in the same place for years without moving and she wouldn't have a clue how to access the RAM modules and tbh neither do I! I've had a look and there's a slot on the side under the CD-ROM drive which looks like an SDRAM slot with nothing in it, is that what you are referring to? Can't see any way of accessing the RAM modules from there.


I agree that it's unlikely to be a RAM issue, but if it is the model I'm thinking about, the instructions for installing RAM are here:


Install memory in an iMac - Apple Support


The "slot on the side which looks like a SDRAM [sic] slot with nothing in it" is not a RAM slot. It is a slot for a SD, SDHC, or SDXC flash memory card (like the ones used in many digital cameras). Useful for transferring pictures, and possibly for copying files off of the iMac, although I don't think you can boot from one of those cards.



At the moment all I really want is to get her Data backed up then I can worry about trying to restore the system or moving it to an external drive. Would all her Data be stored down the 'USR'DIR? Using DU I can navigate around the Directory structure ok. If the drive is actually full could it be failing as I'm trying to back it up to a 1TB backup? Could I just backup certain directories to get her data backed up?

Thanks again for your help.


Pretty much all of her data would be stored under her top-level user directory.


Let's say that her name was Sarah Smith, and that her account had the user name 'ssmith'.


  • In the Finder, you could find her top-level directory by double-clicking on the hard drive icon, then on Users, then on ssmith.
  • The Finder has a Go menu with a Home item, but you wouldn't use that, because you want her directory on the internal disk, not the home directory of the logged-in user on the external startup drive.
  • In Terminal, her directory would be something like /Volumes/Macintosh\ HD/Users/ssmith/. You need to put the /Volumes/drive_name/ part at the beginning because /Users by itself refers to the current startup drive. Unix shells treat space characters as marking the end of an parameter, so you need to "escape" spaces by putting a backslash (\) character in front of them.
  • A useful trick: In many cases, you can drag files and directories into Terminal to have the system type out filenames and directory names, complete with any required escape characters. So you could type "ls -l " (Unix directory command, followed by space) into Terminal and drag in an icon to complete the command.


On my Mac, I put some reference material into the top-level User Guides And Information folder, because it looked like a handy place to store that stuff, but I doubt that your neighbor has gone that far.


Similar questions

13 replies
Question marked as Top-ranking reply

Jul 12, 2023 7:01 AM in response to IpodTouchERM

IpodTouchERM wrote:

The full drive is one of my queries, if you see from the picture above the Untitled drive is showing as only having 69.39GB used. It's only when I run First Aid on it or try to create an image that it then shows it's full. If I come out DU and back in it then shows 63.9GB used again. Is the full disk pic an anomaly of DU and a Red Herring?


When you created the disk image, did you by any chance, accidentally store the new disk image on the same internal disk that you were imaging? That could be like a snake trying to eat its own tail. I'm not sure whether Disk Utility would let you try that … but if it did, I could see how it wouldn't end well.


• As I mentioned, I'm not an expert with Apples, if I can't boot it up then how can I use a third party backup program?


How did you get into Disk Utility if you couldn't boot the system? You don't need to install those programs on the drive being backed up. If you are booting from an external drive and can install and run programs from it, that's all you need. You tell the backup program the source and destination when you run it.



• It's unlikely to be a RAM seated issue, it has sat in the same place for years without moving and she wouldn't have a clue how to access the RAM modules and tbh neither do I! I've had a look and there's a slot on the side under the CD-ROM drive which looks like an SDRAM slot with nothing in it, is that what you are referring to? Can't see any way of accessing the RAM modules from there.


I agree that it's unlikely to be a RAM issue, but if it is the model I'm thinking about, the instructions for installing RAM are here:


Install memory in an iMac - Apple Support


The "slot on the side which looks like a SDRAM [sic] slot with nothing in it" is not a RAM slot. It is a slot for a SD, SDHC, or SDXC flash memory card (like the ones used in many digital cameras). Useful for transferring pictures, and possibly for copying files off of the iMac, although I don't think you can boot from one of those cards.



At the moment all I really want is to get her Data backed up then I can worry about trying to restore the system or moving it to an external drive. Would all her Data be stored down the 'USR'DIR? Using DU I can navigate around the Directory structure ok. If the drive is actually full could it be failing as I'm trying to back it up to a 1TB backup? Could I just backup certain directories to get her data backed up?

Thanks again for your help.


Pretty much all of her data would be stored under her top-level user directory.


Let's say that her name was Sarah Smith, and that her account had the user name 'ssmith'.


  • In the Finder, you could find her top-level directory by double-clicking on the hard drive icon, then on Users, then on ssmith.
  • The Finder has a Go menu with a Home item, but you wouldn't use that, because you want her directory on the internal disk, not the home directory of the logged-in user on the external startup drive.
  • In Terminal, her directory would be something like /Volumes/Macintosh\ HD/Users/ssmith/. You need to put the /Volumes/drive_name/ part at the beginning because /Users by itself refers to the current startup drive. Unix shells treat space characters as marking the end of an parameter, so you need to "escape" spaces by putting a backslash (\) character in front of them.
  • A useful trick: In many cases, you can drag files and directories into Terminal to have the system type out filenames and directory names, complete with any required escape characters. So you could type "ls -l " (Unix directory command, followed by space) into Terminal and drag in an icon to complete the command.


On my Mac, I put some reference material into the top-level User Guides And Information folder, because it looked like a handy place to store that stuff, but I doubt that your neighbor has gone that far.


Jul 12, 2023 4:04 AM in response to IpodTouchERM

Since you can get into Disk Utility, you might want to click on the top lnternal line (the "ST31000528AS …" one) and check the S.M.A.R.T. status at the bottom of the first column.


If it is "Failing", that is further evidence (on the top of what First Aid told you) that the time to save data from her internal drive is now, while it is still possible. Replacing the internal hard drive on these iMacs is difficult … so if you find that the S.M.A.R.T status is "Failing" (or just don't trust the drive in general), I would suggest getting an external drive, installing the operating system on it, and using it as the startup drive (ejecting the internal drive whenever it appears and not relying on it to store data).


It doesn't make me comfortable that the internal drive shows as completely full and that its name is "Untitled". When you fill a hard drive to the absolute brim, it causes the system to become unbearably slow. (My internal hard drive has 63 GB out of 2 TB free, but it's like pulling eye teeth if something happens to cause my Mac to reboot from it rather than from my external FireWire 800 startup drive. Your neighbor's drive shows NOTHING free.) The "Untitled" name could be harmless (someone could have changed it to that), but since the default name is "Macintosh HD" and people usually pick custom names that are more interesting than "Untitled", this name strikes me as a potential indicator that something happened to the filesystem.)

Jul 12, 2023 1:22 PM in response to IpodTouchERM

Try running the Apple Diagnostics to see if any hardware issues are detected. The only useful diagnostic is one which produces an error code or one which freezes while testing. Unfortunately the diagnostics don't detect most drive failures or memory failures.


Unfortunately it looks this iMac is running a really old version of macOS which means you probably don't have access to Internet Recovery Mode.


Make sure all external devices are disconnected in case one of them is causing a problem.


Try booting into Safe Mode. I doubt this will work since it seems the boot process is failing very early.


You have two options to test this iMac. Install macOS to the external drive and see if the iMac will boot from the external drive. This will allow you to better assess this iMac since Recovery Mode is just too limited. If you can boot from an external drive with a full copy of macOS, then you can use DriveDx to check the health of the internal drive. Post the complete DriveDx text report here using the "Additional Text" icon which looks like a piece of paper. Just make sure to use Disk Utility to erase the external drive as GUID partition and MacOS Extended (Journaled). If you are booting to a macOS 10.6 to 10.10 installer, then you may instead need to partition & format the drive using the instructions in this article:

https://eshop.macsales.com/tech_center/formatting/Mac_Formatting_6-10_R3.pdf


If booting a macOS 10.11, 10.12, or 10.13 installer, the you just use the "Erase" tab in Disk Utility making sure to select the physical drive to erase.


The other option would be to create & boot a Knoppix USB stick so you can check the health of the internal hard drive. If Knoppix boots, then the basic hardware is functional. For an older iMac I would recommend using Knoppix v8.6.1, just make sure to get the DVD version which has "EN" in the name for ENglish. You can use the downloaded Knoppix .iso file as a source for Etcher (Mac/Windows/Linux).


Just Option Boot the Knoppix USB stick and select the orange icon labeled "EFI" from the Apple boot picker menu. While Knoppix is booting, the computer may appear frozen so make sure to give Knoppix lots of time to finish booting (the apparent freeze is due to EFI firmware issues related to video as Knoppix is unable to display anything early on in the boot process...plus it pauses for a short while to accept user input). If Knoppix boots to the desktop, click the "Start" menu and navigate to "System Tools --> GSmartControl". Within GSmartControl double-click the icon for the internal drive to access the drives health information. There is a "report" option which will give you a full text report of the health information for the drive....post that report here using the "Additional Text" icon which looks like a piece of paper.


Knoppix can also be used to recover data from the internal drive if necessary, but using macOS boot drive is best in if at all possible...especially if the recovered items will be used on another Mac. It can even be used to clone a failing hard drive using the correct utility.


If you want to check the memory, then you can use a bootable Memtest86 USB stick. I would first try the default Memtest86 settings, but if there are no errors or freezes, then adjust the Memtest86 CPU settings to "Round Robin" or "Sequential" since I have found these other CPU settings tend to cause a system freeze if the memory is faulty (usually occurs fairly quickly). You can use Etcher to make a bootable Memtest86 USB stick from the downloaded .img file as a source.


FYI, don't try to copy any data until you confirm the health of the hard drive. If the hard drive is failing, then the normal apps (even most data recovery apps) won't work since they cannot deal with the errors.


Another option to access the data if the hard drive is confirmed to be healthy....put the iMac into Target Disk Mode and connect it to another computer to access the data. This requires the proper cables & adapters and is best done when connected to another Mac.


Do not use Disk Utility to create an image of the boot drive even if the hard drive is healthy. Theoretically it should work, but many times it will fail. Better to just make an image of the home user folder located in the "Users" folder.


Jul 14, 2023 4:06 PM in response to IpodTouchERM

That error is related to some sort of network issue. Try connecting the iMac directly to the router using an Ethernet cable for a faster more reliable connection which bypasses hard to troubleshoot WiFi issues.


If you have access to another Mac from 2008 to 2015, then you can create & use a bootable macOS 10.11 USB installer:

Create a bootable installer for macOS - Apple Support


Jul 12, 2023 4:42 AM in response to Servant of Cats

Thank you for the prompt replies. A few comments:


  • The full drive is one of my queries, if you see from the picture above the Untitled drive is showing as only having 69.39GB used. It's only when I run First Aid on it or try to create an image that it then shows it's full. If I come out DU and back in it then shows 63.9GB used again. Is the full disk pic an anomaly of DU and a Red Herring?
  • As I mentioned, I'm not an expert with Apples, if I can't boot it up then how can I use a third party backup program?
  • Just checked S.M.A.R.T status for the physical disk which is 'Verified'.
  • It's unlikely to be a RAM seated issue, it has sat in the same place for years without moving and she wouldn't have a clue how to access the RAM modules and tbh neither do I! I've had a look and there's a slot on the side under the CD-ROM drive which looks like an SDRAM slot with nothing in it, is that what you are referring to? Can't see any way of accessing the RAM modules from there.

At the moment all I really want is to get her Data backed up then I can worry about trying to restore the system or moving it to an external drive. Would all her Data be stored down the 'USR'DIR? Using DU I can navigate around the Directory structure ok. If the drive is actually full could it be failing as I'm trying to back it up to a 1TB backup? Could I just backup certain directories to get her data backed up?


Thanks again for your help.

Jul 12, 2023 4:04 AM in response to IpodTouchERM

The "iMac11,2" on the panic screen seems to correspond to an iMac (21.5-inch, Mid 2010).


That machine had user-accessible RAM, and I suppose it is remotely possible that poorly-seated RAM could be causing crashes. Poorly seated RAM wouldn't explain why the internal drive is completely full (which may be the real culprit behind all of the filesystem issues). I'm just mentioning it for completeness.


You don't have to open the case to get to the RAM – there's a small access hatch. If you do pull and reseat the RAM, be careful not to break the plastic straps that you will probably have to use to unseat the RAM.

Jul 12, 2023 4:14 AM in response to IpodTouchERM

It might help to use a third-party backup program like Carbon Copy Cloner or SuperDuper!, instead of creating a disk image with Disk Utility. Maybe if you were just trying to back up data (not create a bootable backup), one of them would keep going in the face of errors, and tell you what files it couldn't copy afterwards?!?


Disk Utility is probably giving up completely on creating a disk image at the sign of the first error.

Jul 12, 2023 12:46 PM in response to Servant of Cats

Thanks for your replies, very much appreciated. As you surmised, the only thing I can access is the Disk Utility via Recovery, I can't bootup to anything else so the only utilities available to me are what's in DU.


There's no way I created the image on the disk I was imaging, as I said previously, when you open DU it shows only 69.39GB used and still does. It's only when I run First Aid on it or try to create the image and when both fail they show the disk Untitled as full. When I close DU and come back in it show usage as back to 69.39GB as per the original attached pics.


I can't access Finder (which I'm assuming is a desktop app) or a terminal session, the only thing available to me is DU.


Are you suggesting I try to make the external backup drive bootable and see if I can access the MAC HD from that using your points above?



Jul 14, 2023 2:45 AM in response to HWTech

Thanks very much, I tried the first bit and it does seem to access online recovery, it started up and connected to my router then said 'Starting Internet Recovery, this may take a while' then it's just been sitting for a while with a picture of the globe and an exclamation mark in the middle showing apple.com/support with -3403D under it. Tried a few times with the same result so guessing it won't work.


I'll try everything else you've suggested but unfortunately we head off on hols today so I've let the neighbour know that it will have to wait till we get back in a couple of weeks now. I'll update in here once I've tried what's been suggested.


Thanks again for all your help so far guys.


Regards

Charlie

Nov 20, 2023 7:03 AM in response to HWTech

Hi, I'm back again. Long story but I have been unable to look at this further for a few months as I've been too busy and my neighbour has been in hospital. She will be getting out soon so I've picked it up again. The latest is that nothing suggested so far worked. I won't bore you with the details but the good news is that I managed to get into Terminal from DU and get all her data off onto the external drive. Hadn't used Unix commands for over 30 years since I started out on the old Apple Macs at Uni so I was impressed I remembered the commands! ;oP


Found an OS Installation CD and managed to erase the disk and re-build it then restore the data which all worked perfectly. Had a few concerns, it was un-useably painfully slow, opening a safari window would take about a minute to load Google! I left it for a while and when I came back it had hung. Rebooted it and it was gubbed (sorry, just realised this is probably a Scottish word which might not translate, means 'not working') again. Went into DU and ran First Aid and it failed again. Rebuilt it a second time (luckily I'd managed to do a Time Backup before it died) and everything seemed OK but again painfully slow. Tried to check for updates and it said it couldn't connect to the internet (have an Ethernet cable direct) then when I clicked on Network Diagnostics it kept saying the connection was fine!


Has now died for a 3rd time and won't bootup (no errors, get Apple logo for a while then it just switches off), First Aid is failing on the drive again.


Is it safe to say the HD is gone and needs replaced with an SSD, that was my initial thought at the start? She had only used about 70GB of a 1TB drive but I've just found out it's a very old machine around 2010 according to the online check of the serial No.


As always, appreciate and feedback from the experts :o)


Charlie

Nov 24, 2023 1:43 AM in response to IpodTouchERM

Hi there,


Are any of the experts here able to confirm my thoughts in my last message that the HD is corrupted on this MAC as it has now been built 3 times and crashed 3 times with First Aid failing. I just want to be sure I'm not missing anything before I suggest to my neighbour that I need to replace with a SDD for her. It is a 1TB drive and she has only ever used around 70GB of that but I still think this is the problem.


Regards

Help needed to fix elderly neighbour's iMac booting up with panic(cpu 2) error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.