Ask Your Question

installing grub to a partition rather than the mbr.

asked 2016-06-23 08:56:08 -0500

Abdallah Abdelazim gravatar image

I want to dual-boot windows and fedora so I want to install GRUB bootloader to a partition. I will modify the windows bootloader ,with easyBCD, and add entry for fedora so that the windows bootloader will chainload grub. Unlike debian and debian-based distros fedora installer ,anaconda, doesn't allow to install grub to a partition. I have read that I can install fedora without installing GRUB and I did that. But I don't know how to properly install GRUB to a partition.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-06-23 11:23:13 -0500

Mordoc gravatar image

If you are looking to install grub on another partition, do the following:

grub2-install /dev/sdX

This was taken from the following page:

edit flag offensive delete link more


Thank you. I tried this command but it gave me warning about installing grub to a partition is unreliable and things like that. I forced it to install by using --force option The commands that I used and worked with me are:

sudo grub2-install --force /dev/sda1
grub2-mkconfig -o /boot/grub2/grub.cfg

sda1 is my root partition

Abdallah Abdelazim gravatar imageAbdallah Abdelazim ( 2016-06-23 13:54:14 -0500 )edit

answered 2016-06-23 11:27:19 -0500

If all you want is to dual boot then,install fedora normally and GRUB will autodetect the windows bootloader( if you are dual booting with windows 7 or previous ones). Now,if you are running Win 8 or Win 10,even after installing fedora your system will boot into windows.To fix this you can run easyBCD as said and 'add a new entry' of linux on the partition you have installed fedora.Save settings and on the next reboot you will see two option in your metro bootloader ,one for Windows and other which you added for fedora, clicking the other will boot into fedora via GRUB.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-06-23 08:56:08 -0500

Seen: 3,777 times

Last updated: Jun 23 '16