Stuck at Loading screen, can't boot into recovery either
Here's the Scenario..
i was using my desktop(macmini mid 2011) today without any issue, while i was on my browser this evening, it started to hang so i quit it through activity monitor
and then the finder app started to hang, i tried to shut it down but couldnt so i did force shut own by holding down the power button. then when i tried to reboot it didn't, instead it was stuck at the apple logo and the spinning wheel (Osx 10.7.5)
I have a separate partition with OSX Yosemite installed on it(which i use from time to time and as a backup in case of a situation like this), i tried to boot into this OS and the same thing happens, it gets stuck at the apple logo and the loading bar at a little less than half)
I can't even boot into any of the recovery partitions either, it's the same thing that happens.
i tried resetting the NVRAM/PRAM but that didn't make a difference
i'm typing this by loading a linux ubuntu that i have on a Usb. i can see all the drives/partitions on my mac.
How can i fix this. please help me.
Thanks in advance
Cheers
Mac mini, Mac OS X (10.7.5)