Please, I'm in a really bad situation.
My Mac didn't boot anymore (a folder with a question mark appears when I power on and can't boot), so I booted the recovery trying to reinstall Mac but the ssd didn't show up in disk utility and in "diskutil list" command in terminal neither. I booted a Linux live usb and the disk appeared on Gparted, so I format it and come back to Mac recovery, but nothing, didn't show up. I tried programs like testdisk but didn't fixed anything. I don't know what to do, the ssd works (Linux sees it) but Mac doesn't see it at all. Now I just installed Ubuntu in the ssd, and it works, so it's not a problem of a broken or dead ssd.
What can I try to fix?
My Mac didn't boot anymore (a folder with a question mark appears when I power on and can't boot), so I booted the recovery trying to reinstall Mac but the ssd didn't show up in disk utility and in "diskutil list" command in terminal neither. I booted a Linux live usb and the disk appeared on Gparted, so I format it and come back to Mac recovery, but nothing, didn't show up. I tried programs like testdisk but didn't fixed anything. I don't know what to do, the ssd works (Linux sees it) but Mac doesn't see it at all. Now I just installed Ubuntu in the ssd, and it works, so it's not a problem of a broken or dead ssd.
What can I try to fix?