Here’s how to fix Windows 10 Bootloader from Linux

3 minute read
ubuntu fix windows 10 bootloader from linux

Home » Fix » Here’s how to fix Windows 10 Bootloader from Linux

Due to the aggressive and territorial nature of Windows 10, problems like this will emerge quite often. That’s why it’s advised to install Windows 10 first before installing Linux in a dual-boot mode.

Linux is much less intrusive and won’t damage Windows 10 bootloader. Despite that, things still can go wrong after Windows 10 major updates ‘ reinstall’ Windows 10. If that happens, you can fix it with Linux (Ubuntu) and we offered 3 methods below.

How to repair Windows 10 bootloader errors from Linux

  1. Use the Boot Repair utility on Ubuntu
  2. Fix Windows 10 bootloader within the Terminal
  3. Try with LILO

Solution 1 – Use the Boot Repair utility on Ubuntu

Let’s start with the simplest method. Probably knowingly, Ubuntu comes with the small utility called Boot Repair which fixes Windows 10 bootloader corruption upon running. What you’ll need to have is the latest version of bootable Ubuntu mounted on your USB drive. After that, you’ll need to install the utility and, without the meddling in the Terminal, repair the Windows 10 bootloader.

Here’s how to do it in a few simple steps:

    1. Download Ubuntu live distro version, here, and mount it to your USB. You can do it with the Universal USB Installer (preferably) tool. It’s important to use this application or the drive won’t be bootable.
    2. Plug-in the drive and boot from it.
    3. Go for the “Try Ubuntu without installing” option. In case this fails, open BIOS/UEFI settings, disable Secure Boot option, and try again.
    4. Once Ubuntu boots, press Ctrl+Alt+T to open the Terminal.
    5. In the command line, run the following string and press Enter after each:
      • sudo add-apt-repository ppa:yannubuntu/boot-repair
      • sudo apt update
      • sudo apt install boot-loader
    6. This should install Boot Repair application and you can now find it among the Application menu.
    7. Open it and choose Recommended repair and wait until it’s done.

Solution 2 – Fix Windows 10 bootloader within the Terminal

The second method relies on the Syslinux run through the Terminal. There’s a batch of commands you’ll need to run in order to install and utilize Syslinux to fix the Windows 10 bootloader.

If you’re not familiar with the way these work, we advise you to stick to the first method. Otherwise, the steps are rather easy and you just need to replace the “sda” input to your Windows 10 system drive letter.

Follow these steps to fix Windows 10 bootloader with Syslinux:

    1. Boot again with the bootable USB drive.
    2. Open Terminal.
    3. In the command line, type the following string and press Enter after each:
      • sudo apt-get install syslinux
      • sudo dd if=/usr/lib/syslinux/mbr.bin of=/dev/sda
      • sudo apt-get install mbr
      • sudo install-mbr -i n -p D -t 0 /dev/sda
    4. Don’t forget to replace “sda” with the Windows 10 system drive.
    5. Reboot after that and Windows 10 should boot without any issues.

Solution 3 – Try with LILO

The final method utilizes LILO (Linux Loader) which is a small program responsible for managing dual boot. The procedure is similar to the previous one, at least for the unaccustomed eye.

Either way, if the previous two steps weren’t working for you (the first one should resolve bootloader issues), LILO is certainly a handy alternative.

Here’s how to fix Windows 10 bootloader issues with the LILO through Linux Terminal:

  1. Boot again with the bootable USB drive.
  2. Open Terminal.
  3. In the command line, type the following string and press Enter after each:
    • sudo apt-get install lilo
    • sudo lilo -M /dev/sda mbr
  4. Reboot and you’re good to go. The Windows 10 bootloader is fixed.

With that said, we can conclude this article. Hopefully, you managed to resolve the issue with the Windows 10 bootloader in

RELATED STORIES YOU SHOULD CHECK OUT:

Discussions

Next up

There was a problem updating your controller [FIXED]

Alexandra Miu avatar. By: Alexandra Miu
2 minute read

Have you ever had There was a problem updating your controller error while you were trying to update your Xbox One controller? If the answer […]

Continue Reading

Printer will not accept new cartridge [SOLVED]

Vladimir Popescu avatar. By: Vladimir Popescu
2 minute read

One of the most common printer issues is that the printer will not accept a new ink cartridge. This issue appears on all printer brands, […]

Continue Reading

Alexa is coming to your Windows 10 lock screen in September

Rabia Noureen avatar. By: Rabia Noureen
2 minute read

Microsoft is currently testing a new Windows 10 build 18362.10005 that will allow digital assistants such as Alexa to appear on the Windows 10 lock […]

Continue Reading