I had Windows 7 dual booted with Ubuntu 14.04. Yesterday I ran sudo apt-get upgrade

and after installing everything and restarting, I only got Ubuntu's option in my Grub.

Checking in grub-customizer, I saw that Windows boot loader had been erased and as such decided to restore it using boot-repair via live USB.
Now the problem is using boot-repair in recommended settings gave the following error

grub-pc purge cancelled. Send this to mail...

I also tried accessing the drive via live USB, mounting and installing grub using the link
How to Repair, Restore, or Reinstall Grub 2 with a Ubuntu Live CD or USB.

This method was not allowing me to run boot-repair or grub-customizer in the mounted drive. It kept giving the error which was something like

couldn't identify the host

That only gave me a single "System Setup" option in Grub.

Right now, I have used the "Restore MBR" option of the boot-repair to restore Windows boot loader and I am directly booting into Windows now. I am not greeted with the GRUB prompt on booting.

I have spent my whole day in figuring out a solution but to no avail. Do I have no option other than to reinstall Ubuntu? Please help.

EDIT-1: Added Boot-Info

EDIT-2: Added GParted's result

GParted's result

Here /dev/sda1 is Windows primary partition (C)
/dev/sda2 is secondary (D)
/dev/sda3 is dedicated to Ubuntu

  • 1
    You have a new UEFI based system, but Windows installed in the 35 yr old BIOS/MBR configuration with Windows type boot loader in MBR. You also show /grldr which usually is EasyBCD & the very old grub4dos. If you want help with EasyBCD, you should go to their forum. Otherwise reboot Ubuntu installer in BIOS boot mode, add Boot-Repair and install grub to MBR to dual boot. – oldfred Apr 5 '17 at 21:53
  • 1
    If you boot Boot-Repair in BIOS mode, it should just auto install grub to MBR. In advanced options you can choose an operating system and drive and many other settings like full uninstall/reinstall of grub and get new kernel. Advanced options: sourceforge.net/p/boot-repair/home/Home You may want to unintall EasyBCD also. – oldfred Apr 6 '17 at 13:05
  • 1
    You do have full backup of Windows? And a Windows repair disk? One should never make changes to any system without the current version of that install's repair disk or with Ubuntu the live installer. And backup of all of your data. System knows if you have backups and then it works to fix without issues. When you do not have backups, it never works. :) or so it seems. – oldfred Apr 6 '17 at 14:28
  • 1
    Windows users normally do full image backups. With Linux it is easy to reinstall Ubuntu, so normally user data & configuration is all that is required. help.ubuntu.com/community/BackupYourSystem & help.ubuntu.com/community/CategoryBackupRecovery & ubuntuforums.org/… – oldfred Apr 6 '17 at 16:17
  • 1
    If you can mount it you should be able to back up. Most of your data is in /home. But best to repair boot, so you can also export list of installed apps, so you can more easily reinstall everything you added to standard install. You may have some configuration data in /etc if you manually edited hardware configuration.askubuntu.com/questions/545655/… – oldfred Apr 6 '17 at 17:26

Your Answer

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

Browse other questions tagged or ask your own question.