Prohibition Sign and Can't Reinstall OS X I have no idea what happened, but my macbook pro's battery died, and when I went to turn it on, it took me to a grey screen with the prohibition symbol. When I researched the problem, most solutions were to reinstall OS X. I booted up recovery mode and went to do do so, but when prompted to select a disk to install it on, the menu was empty.

Went to Disk Utility, and the HDD is showing up there. Tried to repair, got several weird errors, so I used Internet Recovery mode instead. Trying to reinstall OS X on there also did not work as the menu is also empty.

This time, trying to repair the disk gave some progress, but I kept getting stuck on a "partition map failed while adjusting size for logical volume" error message. I went into Single User Mode and ran fsck -fy, which did return a successful "The volume appears to be OK" message, but when I try to repair the disk again, it still gives the same message.

I have no idea what to do and have exams in 4 days, so if anyone knows what to do or knows how I could access my files (class notes), I'd really appreciate it.

The computer is a mid 2012 Macbook Pro non-retina model, and I bought it in October 2013. It was running the latest OS.

Thank you in advance.
Wow. After a frustrating 6 hours, I managed to fix it 10 minutes after posting this.

Although I have no idea what I really did, I'll post my "solution" for anyone with the same problem who happens to come across this because the amount of frustration I felt at people who described my exact problem but never gave an update is unreal.

Anyways, all I did was kept restarting my computer, booting into internet recovery mode and just continuously repairing the disk over and over, ignoring the "this disk can't be repaired" and other messages. I only ran the "fsck -fy" command once in total. It looks like the key is just continuously repairing the disk until it starts to function again.

I knew it was working when it returned a success message and the disk showed up in the OS X reinstall menu, but I didn't even need to reinstall; I rebooted and everything is working fine.