I am having issues with my 2013 iMac 27” booting up. It freezes on the Apple logo and loading bar. I have tried everything an I am out of ideas on what to do. Any suggestions or ideas of what the problem is?
It is El Capitan, but I want to upgrade it but having all these issues now.Could you tell us what "you've tried"?
Have you tried a safe boot (boot with shift key held down)?
Have you tried INTERNET recovery (command-OPTION-R at boot)?
Which version of the OS is on it?
It is a 512 GB SSD.What kind of boot drive?
original spinning hard drive?
Fusion drive?
SSD?
/sbin/fsck -fy
/sbin/mount -uw /
I ran the file system check command above and got the following output. I don't see any errors.You probably (somehow) need to test the SSD.
I think your first chance is Single User mode.
When the text scrolls down, and you get the command prompt - a couple of lines up are your possible next steps.
Run the fsck command
typethen press enter to run that command. Should show a few results, testing the drive directory.Code:/sbin/fsck -fy
If you get a result with errors, that may simply be showing you that the drive is failing.
If the command runs, no errors, and reports no problems, then run the mount command(there's a space between mount and -uw, and another space between the -uw and the final / )Code:/sbin/mount -uw /
I would try booting to an external drive with a macOS bootable system installed, just as a test to see if your iMac will boot to ANYTHING. Or, get a bootable macOS installer - maybe you can successfully boot to that. You can also try Disk Utility while booted to the installer, to try to run First Aid on the drive.
Do you have another Mac, or have access to one? (it's a simpler process to make a bootable macOS installer on a Mac, but can be built on a windows PC, if that's all you have... )
OP:
Since you have a USB bootable flashdrive (with El Cap on it)
and
Since you were able to get the iMac booted up from that
but
Since it seems to have problems booting the OS from the internal drive
Have you considered...
... Getting an EXTERNAL USB3 drive,
then
Booting from the USB flashdrive installer
and
Install a copy of the OS onto the EXTERNAL drive, to see if that can be made bootable?
Another thought...
I'm wondering if there could be a problem with the iMac's discrete GPU (if it has one)?
When you boot to the verbose mode (which I assume would not use a discrete GPU), it boots.
When you boot from an external USB installer (which may not use the discrete GPU either) it runs and installs,
but...
... when you try to boot from the internal drive, a "normal" boot (that I believe will switch over to the discrete GPU), it fails.
Just an idea.
I could be wrong.
Since I've had the iMac in 2013 it has always had 32 GB of RAM. I've never change the RAM or anything in it.Have you ever upgraded the memory in your iMac?
How much RAM is installed now?
When did all this start happening (1 month/3 months/right after I installed more memory - or some other thing that you have added to your iMac - hardware, or software (?) )
@Fishrrman: there's no difference for the GPU either booting to an internal or an external system. (Bootable installer would certainly be a minimal system, but a fully installed system on an external drive would use same hardware as an internal boot drive.
But, it would be a Good Thing™ to try installing an El Cap system to an external USB drive, and see if that will boot successfully (particularly the second time!)