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?
As I said in the question, after doing a scan for file systems using test-disk, I was able to see my partition and my data in it. there is a restore method using test disk, but i was afraid I would mess up my windows partition. Which is also a problem.
– Tao Jan 09 '15 at 15:28