[solved] GRUB with Debian + Fedora

If none of the more specific forums is the right place to ask

[solved] GRUB with Debian + Fedora

Postby uthappam » 2018-06-10 19:12

My main operating system is Debian 9. On a separate partition on the same hard drive I have installed Fedora 28. After Fedora was installed it was the first option in the GRUB list. In order to make Debian the first, I tried sudo update-grub and then sudo grub-install /dev/sda. Debian then became not the first but the only option -- Fedora had disappeared. Is there any way to add Fedora to GRUB without re-installing it?
Last edited by uthappam on 2018-06-10 21:35, edited 1 time in total.
uthappam
 
Posts: 201
Joined: 2010-01-01 17:14
Location: Delhi, India

Re: GRUB with Debian + Fedora

Postby Head_on_a_Stick » 2018-06-10 19:19

Do you have os-prober installed?

If not, install it and run `update-grub` again (as root).
User avatar
Head_on_a_Stick
 
Posts: 8009
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: GRUB with Debian + Fedora

Postby uthappam » 2018-06-10 20:53

Unable to sleep (a common effect of Parkinson's Disease), I decided to install Fedora again. When that was done and I rebooted, I found that Debian had disappeared from the options. Now I can boot only into Fedora and do not know how to restore the GRUB in Debian.
uthappam
 
Posts: 201
Joined: 2010-01-01 17:14
Location: Delhi, India

Re: [solved] GRUB with Debian + Fedora

Postby uthappam » 2018-06-10 21:41

It turned out to be straightforward. I remembered that the Debian installation CD has a rescue mode. GRUB was re-installed and then updated in the manner you specified -- after I had checked and found that os-prober was present. Thank you.
uthappam
 
Posts: 201
Joined: 2010-01-01 17:14
Location: Delhi, India


Return to General Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable