LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-17-2018, 06:43 PM   #1
hrsetrdr
LQ Newbie
 
Registered: Aug 2004
Distribution: Arch Linux
Posts: 9

Rep: Reputation: 3
2nd OS not listed in Grub2 menu after Fedora install


2nd OS not listed in Grub2 menu after Fedora install


Haven't had this happen in years. Install Fedora and all well except CentOS 7 is not listed in Grub menu. I thought that
Code:
os-prober
, then
Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
would fix the issue, but upon reboot CentOS is still not listed.

Running "fdisk -l" :

Code:
Device     Boot     Start       End   Sectors  Size Id Type
/dev/sda1  *         2048 136796159 136794112 65.2G 83 Linux
/dev/sda2       136798206 156327935  19529730  9.3G  5 Extended
/dev/sda3       156327936 293046271 136718336 65.2G 83 Linux
/dev/sda5       136798208 156327935  19529728  9.3G 82 Linux swap / Solaris
...shows Centos 7 at /dev/sda3. Dumb question: should /dev/sda3 be flagged "bootable"?
 
Old 10-17-2018, 07:02 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Did it show up in the os-prober run ?.
Grub ignores the boot flag - that is merely a hangover from MS-DOS that M$oft, and some BIOS writers, still think is needed.

Bolding your entire post is pointless.
 
Old 10-17-2018, 07:07 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Quote:
Dumb question: should /dev/sda3 be flagged "bootable"
That should not be necessary.

I'd suggest trying an update-grub. http://manpages.ubuntu.com/manpages/...te-grub.8.html
 
Old 10-17-2018, 07:08 PM   #4
hrsetrdr
LQ Newbie
 
Registered: Aug 2004
Distribution: Arch Linux
Posts: 9

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by syg00 View Post
Did it show up in the os-prober run ?.
No, only shows:

Code:
/dev/sda3:Fedora 28 (Twenty Eight):Fedora:linux

Quote:
Originally Posted by syg00 View Post
Bolding your entire post is pointless.
Sorry if the bolding bothers you, not sure why.
 
Old 10-17-2018, 07:37 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
os-prober is just a script, and looks for "known" patterns for kernel names. I would be surprised if CentOS didn't conform.
 
Old 10-17-2018, 07:57 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
in the past on fedora i found that forcing a kernel update solves this issue
-- the needed scripts are then ran

Code:
dnf -f update kernel*
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me to install fedora 15 as 2nd OS swtjeeva Linux - Newbie 3 08-15-2012 09:16 AM
grub2-install issue on fedora 16 kickstart theooze Fedora 2 04-23-2012 03:15 PM
how to install the fedora 16 without grub2 was4444 Fedora - Installation 3 10-05-2011 09:03 AM
Fedora 15 Grub2 Graphical Menu "Invisible" yet there Remore Linux - Newbie 2 08-21-2011 09:36 AM
How do I install packages? (not listed in the menu) aweir14150 Mandriva 8 04-12-2004 05:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration