Repair grub (bios) after installing windows 10

i read the article on the wiki about how to restore grub, but the articles assumes i’m running off of an installation media, when windows 10 broke grub i used easybcd to add manjaro to the windows bootloader, so i would like to repair grub running off of my actual manjaro system, this is my partition scheme:

Disk /dev/sda: 149.05 GiB, 160040803840 bytes, 312579695 sectors
Disk model: WDC WD1600AAJS-0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x53cb4d8c

Device     Boot    Start       End   Sectors   Size Id Type
/dev/sda1           2048  52430847  52428800    25G 83 Linux
/dev/sda2       52430848  69208063  16777216     8G 82 Linux swap / Solaris
/dev/sda3  *    69208064  70332415   1124352   549M  7 HPFS/NTFS/exFAT
/dev/sda4       70332416 312575999 242243584 115.5G  7 HPFS/NTFS/exFAT

sda1 is manjaro, sda2 swap, sda3 is windows’s System Reserved partition and sda4 windows.
btw sda3 has the boot flag, this is normal right?

Hey @iansixx :wink:

On a BIOS setup with dualboot, you have to overwrite the MBR and use grub instead of the windows boot loader. When booted into Manjaro, you have to install grub again:

sudo grub-install --force --target=i386-pc --recheck --boot-directory=/boot /dev/sda

and

sudo update-grub

https://wiki.manjaro.org/index.php/GRUB/Restore_the_GRUB_Bootloader#BIOS_System

Also deflag sda3 and flag sda1 as boot.

1 Like

Hey :slight_smile:
that worked perfectly, thanks :heart:

for future reference, while i was able to check off the boot flag from the Windows’s System Reserverd partition using KDE Partition manager, i couldn’t do the same for sda1, i had to follow this:

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.