How to install Grub after installing Windows ?

Good morning,

I recently installed Windows so that I can play from time to time. The problem is that I installed Windows 10 after installing Manjaro.

So my computer automatically starts up on Windows.

I would like to know how to reinstall Grub? (Without reinstalling Manjaro). I have an usb key with Manjaro on it so that I can access the terminal.

I've already searched on Google but I didn't succeed.
Here are my partitions :

/dev/nvme0n1p1 is I guess, the boot partition ?
/dev/nvme0n1p2 : I don't know what that is it
/dev/nvme0n1p3 is the Windows partition
/dev/nvme0n1p4 is the Manjaro partition

Thank you <3

There is this wiki post on how to restore grub. Please have a look:


I've already looked at this topic but I'm not sure I understand it all.

The command "sudo manjaro-chroot -a" doesn't work for me. I have the error "Can't mount 0". However, I can mount the partition.

And this "grub-install /dev/sda". Why use /dev/sda? I have no partition with /dev/sda.

That's why I'm a little confused.

At this type 1 and see if the chroot functions. Then:

sudo mount /dev/nvme0n1p1 /boot/efi

Then follow the rest for UEFI system from point 4:


Thank, I'll try this

Easier, faster and safer to use the just the [Simple Configfile Method].

It works, thank you !

I'm now able to boot on Manjaro.

Do I have to do one more action now? Because how do I choose if I want to boot on Manjaro or Linux?
I think, I have to follow this : GRUB menu not displayed on system boot No ?

I am not sure what your particular issue was at the outset, but by all means try the suggestion in the link and do:

sudo update-grub

afterwards. Reboot and see if you get the grub boot menu. If not, pleas create a new topic with details of your issue and the following info from your Manjaro system:

sudo parted -l (that is lowercase L)

All right, it's fixed.

Doing a sudo update-grub fixed the fact that the boot menu didn't show up

Thank you very much for your help, I appreciate it.

1 Like

That's great news!
I am glad you got it sorted out and you are very welcome!

1 Like

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

Forum kindly sponsored by