I was dual booting Windows 7 and Ubuntu 13.10 then I installed windows 8.1, but now I can't login to Ubuntu. I tried boot repair to restore the grub. After clicking on recommended repair it shows that the repair is successful but after restarting my PC it goes directly to Windows 8.1.
I also tried using a live cd of Ubuntu 13.10 opened the terminal and tried typing fdisk -l but it does not show any partition not even windows.
When I try to install the Ubuntu again it shows me only 1 option to erase the whole disk and then install. There is no option of installing alongside Windows.
Please help me how to get the grub again or reinstalling it alongside windows 8.1
Thanks in advance.