They say pictures speak a thousand words, so does a picture of words speak more?
The error message is along the top:
panic(cpu 2 caller 0xffffff800f16f6cf): initproc exited -- exit reason namespace 2 subcode 0xa
I've been handed this by one of my users who has requested I take a look at it. User hasn't done anything out of the ordinary, just turned the MacBook Pro on one day and was confronted with the above Kernel Panic screen.
Currently it can boot into macOS Utilities using Command+R. So it's not completely toasted, and we can see that the drives are still reporting as present:
After running the First Aid from Disk Utility it reports back that the First Aid process has failed with Error Code 8:
Disk Utility also reports the OS X Base Media (2GB in size), I assume this is the macOS recovery media.
What can I do to recover from this situation with the least amount of data loss?
Bonus Question: If an OS restore isn't possible, how should I go about recovering the data from the macOS disk?
I have since booted the Macbook with a Live Linux USB and attempted recovery of the files by mounting the drive and copying off. This did not work. The device is reported as there, gParted can see the drive, and it's partitions, but is unable to mount it.
Attempting to manually mounting the data partition from the terminal with:
mount -r /dev/sda2 ...
Returns this error (from memory):
unable to find /dev/sda2 in /etc/fstab or
/dev/sda2 does not exist in /etc/fstab or something of a similar meaning.
Currently thinking about ddrescue...?