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.