After encountering a kernel panic loop, I rebooted my mac to Recovery Mode but now it only starts in Recovery Mode so I chose Install macOS Sierra, connected to my wifi, but it says the disk is locked.
Sometimes it’s a case that the disk is encrypted. If you right click the disk in Disk Utility, select Unlock, then enter your user password.
Does that work?
Cant right click on anything.
Pretty much locked into Recovery mode
I also can't Erase any of the images or devices that are in the left hand column of Disk Utility
What machine? If an MBP I'd suspect the SATA drive cable.
When you say you can't do any of that; Why can't you? Grayed out options? Error messages?
[doublepost=1535887571][/doublepost]
While that's a common failure, it usually leads to different symptoms.
What machine? If an MBP I'd suspect the SATA drive cable.
Right click brings up nothing anywhere I click.
First Aid runs but doesnt change anything.
It gives me a failure everytime I try to make a new partition. Erase, Restore, and Mount are grayed out. The OS X is gray and locked on the Install macOS High Sierra screen.
[doublepost=1535918321][/doublepost]
It's a desktop mac with High Sierra . or it did have high sierra
From the recovery screen, if you go to Utilities in the menu bar, you can bring up Terminal.
Run diskutil list to get a list of all disks seen by the Terminal (a lot of these will be related to the installation of macOS, ignore these)
Find your drive on the list, and note down its device ID (/dev/diskX, where X is a number).
Then run
diskutil eraseDisk JHFS+ MacintoshHD /dev/diskX
replacing X with the number of your disk, and optionally replacing MacintoshHD with what you want the drive named (No spaces. If you want the name to include a space, you need to put the whole name in quotation marks "")
If you get an error message, post it back here
When using terminal it lists GUID_partition_scheme, EFI EFI, OS X Base System (which is 499.2 GB), and Boot Recovery HD