Install Grub2 From Windows

Windows has been pushing a lot of updates lately and there is one thing consistent amongst all of them. They all override the Windows Boot Manager. So, in case you are running Ubuntu and Windows on dual boot, you will not be able to boot into Ubuntu after the Windows update. Nevertheless, we have found a couple of unique ways to fix this issue.

I thought this will install grub on /boot (It might have, I don't know) Installation was successful. I rebooted into Windows and ran EasyBCD 2.3 (latest) to add a boot entry for grub in windows boot manager. But that option was greyed out. EasyBCD say that because I have secure boot enabled some features are not supported. In order to install GRUB as your boot loader, you need to first install the GRUB system and utilities under your UNIX-like operating system (see Obtaining and Building GRUB). You can do this either from the source tarball, or as a package for your OS. Dual Boot Linux with Windows 10 – Windows Installed First. For many users, Windows 10 installed first will be the likely configuration. In fact, this is the ideal way to dual boot Windows and Linux.

Grubinst has 2 clients, a gui and a command-line utility. The video leverages the gui. Save the file as grub.cfg and put it on the USB drive in the boot/grub folder. The USB drive is now bootable from BIOS and can be used to install Windows on your PC. Next install DOS: SYS C: 2.6 Installing Windows 98. Insert the GRUB disk. When you see the menu insert the Windows 98 Emergency disk. Select partition 3 (floppy) from the menu.Hit enter. This will boot the floppy disk and hide partition 1 and 2. Run FDISK and check that the C: drive is partition 3. Next install Windows 98: SYS C: 2.7 The final.

How to Fix Grub After Windows 10 Upgrade

Case 1: Faulty Windows Boot Manager

Post-Windows update, Microsoft overrides the Windows Boot Manager to use the NT bootloader. So, now when you restart your system, it directly boots up to Windows 10. This is because the Windows bootloader cannot identify Ubuntu. In order to enable booting to Ubuntu, we would need to make changes in the Windows boot registry.

To do that, open the command line with administrator privileges and run the following command.

This would change the bootloader back to GRUB. Now, reboot your system and most probably, you will get the violet GRUB menu.

But, in case you get a “System Bootloader not found” error message, we would need to disable secure boot through the UEFI firmware.

To get to the firmware settings, press F2 or F10 on the boot splash screen. In the firmware settings, disable secure boot. I am using an Acer E5-575G laptop, so my firmware settings would be different from yours. In Acer, you need to set the Supervisor password in order to disable Secure Boot.

Fix Grub2 From Windows

Install Grub2 From Windows

Case 2: Faulty GRUB file

If the first solution didn’t fix your problem, a possible reason may be that you have a broken GRUB file. In that scenario, we would need to repair the file using a tool called Boot Repair. Now, since you cannot boot into Ubuntu, we would need a bootable USB drive or Ubuntu live CD. You can download the Ubuntu ISO image from the official website and then use a Bootable USB Software to flash the image on the USB. Plugin the bootable USB media or live CD, restart your system and select “Try Ubuntu without installing”.

Once you boot into live Ubuntu, open the command line, and type the following command.

The command will add the Boot Repair tool’s repository to apt and also update all the repositories.

Now, we can download the repair tool using the following command

After downloading the tool, run it using the following command.

The Boot Repair tool will now automatically scan all the disks in your system to find the ext4 partition. Post that, you will be presented with 2 options. Click on “Recommended Repair” and it will handle all the complexities. If you have dealt with GRUB before and you have an in-depth idea of the Ubuntu file system, you can also select “Advanced Options”. This will provide you more drilled down controls. However, it’s recommended to go with “Recommended Repair” as it mostly solves the problem.

If you get a prompt saying secure boot is enabled, click on Continue and head over to the BIOS settings and disable secure boot.

Restart your system and now you should see the GRUB boot menu which will let you boot to Ubuntu.

Wrapping Up

Install Grub2 From Windows Xp

Windows

These solutions should fix your problem. There are slim chances that they won’t and in that case, you would have to install a fresh copy of Ubuntu all over again.

Install Grub2 From Windows

For more queries or issues regarding Ubuntu and GRUB2, let me know in the comments below.

Also Read: How to Disable Incognito Mode in Windows, Ubuntu, and macOS