0

I had dual booted my laptop with windows and ubuntu 14.04 and it was running fine only until my windows was infected by virus and so I had to refresh it. After refreshing when I restarted my laptop my grub failed to launch at startup. The laptop started booting windows straight. I tried repairing grub using live ubuntu and boot-repair, but nothing helped. This is the link to my last attempt to boot repair. http://paste.ubuntu.com/10325874/ However I am able to boot ubuntu manually by pressing F9 at startup and then choosing the appropriate option. Can anyone tell how to get grub back to load up when laptop starts.

0

As you are describing the problem, it seems to me, that the grub is installed to another drive (partition) than the current boot drive. You just need to change the boot partition using GRUB to the appropriate partition, so you will not need to press F9.

For example in gparted, you can set the boot flag on the graphical interface.

|improve this answer|||||
  • I used gparted. It shows boot flag under /dev/sda2 which has a mount point as /boot/efi. I tried various suggestions made to change the boot partition using grub but I ended up damaging the boot configuration of windows as well. @meskobalazs can you please elaborate on your suggestion, how I should implement the method that you mentioned above. – Sanjay Feb 23 '15 at 8:23
  • Thanks for the help @meskobalazs. Your answer provided me vital leads to understand and solve the problem. I googled how to change the boot partition using GRUB to the appropriate partition and I think one of the suggested solution, I still don't know which one exactly, solved the problem. – Sanjay Feb 28 '15 at 9:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.