First of all, i tried finding previous questions, didn't find anything that quite matches my case.
I have Windows 8.1 as well as Ubuntu 14.04 LTS in dual boot.
In the grub OS list at boot, I selected my acer laptop's recovery partition by mistake, didn't do the recovery obviously and quickly turned my laptop off. That, for some reason messed up grub and i was presented by the grub rescue screen. I tried the Ubuntu boot repair from a live CD and now my laptop boots straight to windows. I couldn't see my Linux partition using gparted. I tried using test disk and i was able to see my Linux partition, but i wasn't quite sure how to restore it.
How do I get back GRUB and Ubuntu, or at least how would I get my data from the hidden Linux partition?