I had a dual boot installation (Win8 & Ubuntu). I was not using Windows much and decided to have Ubuntu for the whole system. When I reinstalled Ubuntu, I got the error
error: no such partition
Entering rescue mode
grub rescue >
Then I tried the following at the grub rescue
set root=(hd1,1)
set prefix(hd1,1)/boot/grub
insmod normal
normal
When I tried these command, I got the Ubuntu boot menu where I was able to start the system. However, when I shut down the system and restarted I got the same grub rescue error. Can you please help?
I am not sure if this helps. Here is the output of sudo fdisk -l