I have a late 2015 27” iMac with a 512gb SSD running Monterey that won’t boot up, but I can get into the recovery mode and access the emergency partition just fine. When I try repair or reformat the SSD nothing shows up in diskdocor. If I go into the terminal and enter “diskutil list” a bunch of partions and volumes show up.
Is there any way to determine if this is a SSD drive failure or just a software problem I have to figure out?