Windows 10 deleted GRUB [FIXED BY EXPERTS]

3 minute read
windows 10 deleted grub

Home » Fix » Windows 10 deleted GRUB [FIXED BY EXPERTS]

GRUB is a multiboot loader and an essential part of the Linux operating system, but some users on the Microsoft community and Linux forums have reported that Windows 10 has deleted their grub, thus leaving their Linux distribution unable to boot. If you are also troubled this issue, here are a couple of solutions that can help you resolve this problem.

How do I recover GRUB after installing Windows?

1. Run Boot Repair

Boot Repair Disk to install GRUB windows 10 deleted grub

  1. There are two ways to get boot-repair. First is to create a disk containing the tool like Boot-Repair-Disk. This will help you to create a disk starting Boot-Repair automatically and boot on it.
  2. The second option is to Install Boot-Repair in Ubuntu. To do this, create Ubuntu Live-session on your USB and then choose “Try Ubuntu“.
  3. Connect to the Internet.
  4. Open a new terminal, and type the following command. Press enter after running each command.
    sudo add-apt-repository ppa:yannubuntu/boot-repair
    sudo apt-get update
    sudo apt-get install -y boot-repair && boot-repair
  5. Now you need to launch Boot-Repair by typing boot-repair in a terminal.  You can also launch it from the Dash (Ubuntu logo at the top).
  6. Next, click the “Recommended Repair” button.
  7. Wait for the repair to finish. Note the URL that appeared on the screen.
  8. Now reboot the system and check if you can access the OS and GRUB is reinstalled.

Want to learn how to dual boot Windows 10? You won’t believe how easy it is!



2. Reinstall GRUB

grub menu windows 10 deleted grub

  1. First, boot into your system using any Live Linux Distribution.
  2. Open Gnome Disks or GParted, the partition editor.
  3. Now find the partition where your Linux system is on. The Linux system is usually in /dev/sdax path (here X means number).
  4. Now close the Disk partition tool that is running (Gnome Disks or GParted).
  5. Open a terminal and run the following command and press Enter to execute it.
    sudo mount /dev/sdaX /mnt && sudo mount –bind /dev /mnt/dev && sudo mount –bind /dev/pts /mnt/dev/pts && sudo mount –bind /proc /mnt/proc && sudo mount –bind /sys /mnt/sys && sudo chroot /mnt
  6. In the above command replace X with the disk number that you discovered in the step 3.
  7. Next, enter the following command and hit enter as well.
    grub-install /dev/sda && update-grub && exit

    udo umount /mnt/sys && sudo umount /mnt/proc && sudo umount /mnt/dev/pts && sudo umount /mnt/dev && sudo umount /mnt && reboot
  8. If everything goes right, this should reinstall GRUB. Reboot the computer and check if GRUB is re-installed successfully

By following any one of the methods above you should be able to fix the deleted GRUB issue. One thing to keep in mind is that if you want to dual boot on your system with Linux and Windows 10, always install Windows 10 first and then install Linux. This way Windows 10 won’t delete the GRUB by mistaking the EFI partition for its own.

RELATES STORIES YOU MAY LIKE:

Discussions

Next up

5 best software that interprets Java bytecode you can get today

Daniel By: Daniel
Less than a 1 minute read

Are you a software developer or programmer? Do you need a reliable Java bytecode interpreter? This article is especially for you. In this piece, we’ll […]

Continue Reading

Browser not showing images? Here’s how you fix this

Alexandru Voiculescu By: Alexandru Voiculescu
2 minute read

Browsers are essential tools for surfing the Internet. Also, the interface of any browser is crucial for providing a user-friendly experience. However, this feature is […]

Continue Reading

Fix Power Bi column errors with these quick solutions

Tashreef Shareef avatar. By: Tashreef Shareef
3 minute read

While using the Power Bi desktop app you may face some issues with your data and file. One such error is related to Power Bi […]

Continue Reading