Ask Your Question
0

How do I install and use grub to boot multiple distros?

asked 2012-01-02 12:21:27 -0500

macroron gravatar image

updated 2012-01-05 06:11:18 -0500

FranciscoD_ gravatar image

hello,

I installed two distros on my hard drive. First I installed ubuntu. The second fedora 16. When I installed fedora, it successfully detected ubuntu on the mbr of the drive and installed it's own grub2 and added ubuntu to the menu. I would like to install another distro to replace ubuntu but keep the fedora menu as the primary.
I would like to keep fedoras grub2 as the primary an the mbr of the drive. What is the safest way to get the newly installed distro that replaces ubuntu on fedora's menulist?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-01-04 11:49:15 -0500

asto gravatar image

Install the other OS (leave the MBR unmodified when you're asked). Then boot back into Fedora and merely re-install grub2. It will automatically find any other OSes and add them to the list.

sudo grub2-install /dev/sda

Replace "sda" with the disk you want to install the bootloader in.

In case the other OS doesn't give you the option to leave the MBR untouched, it will probably detect Fedora itself and let you boot into it. Once logged into Fedora, reinstall grub2

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-01-02 12:21:27 -0500

Seen: 1,651 times

Last updated: Jan 05 '12