Bug 880491

Summary: Grub2 fails to add all alternative distributions
Product: [Fedora] Fedora Reporter: Leslie Satenstein <lsatenstein>
Component: os-proberAssignee: Hedayat Vatankhah <hedayatv>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 18CC: bcl, dcantrell, dennis, hedayatv, mads, pjones
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-03 08:05:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The original grub.cfg created by Fedora 18 Rc1 with btfrs as default file system
none
The grub.cfg after Fedora 18 RC1 was installed. none

Description Leslie Satenstein 2012-11-27 06:16:46 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Install Fedora 18 RC 1 from DVD.  On reboot, the grub menu does not show all other distributions.


Steps to Reproduce:
1.
2.
3.
  
Actual results:
Fedora 17 missing from the grub.cfg.

Expected results:
Expected F17 to be includedé

Additional info:
Logged into root and reran the grub2-mkconfig > /tmp/grub.cfg.
Verified that the /tmp/grub.cfg included the missing distributions. 
Replaced /boot/grub.cfg  and rebooted.

Note. For full inclusion with multi=boot, all alternate partitions should be mounted.

Comment 1 Mads Kiilerich 2012-11-27 11:19:17 UTC
Please show the output from os-prober.

If possible then please also try it from the install dvd.

The problem is most likely caused by lvm/dm not being initialized correctly when running from the install dvd.

Comment 2 Hedayat Vatankhah 2012-11-27 18:13:00 UTC
Please specify where the undetected distributions are located (partition type/file system type). I can think of two reasons for not detecting other OSes during installation:
1. OSes on file systems not supported in Anaconda
2. OSes on LVM partitions due to bug #825236 (in this case your bug will be duplicate of that bug).

Comment 3 Leslie Satenstein 2012-11-29 03:53:24 UTC
Created attachment 653982 [details]
The original grub.cfg created by Fedora 18 Rc1 with btfrs as default file system

Comment 4 Leslie Satenstein 2012-11-29 03:56:32 UTC
Created attachment 653983 [details]
The grub.cfg after Fedora 18 RC1 was installed.

This grub.cfg was created after I mounted the unmounted partitions. 
I used grub2-mkconfig

The file system is btfrs, the system is dual core 32bit (I can redo to 64bit if you need a 64bit version. 

The Intel dual core system has 3.5gig of ddr2. 

Anything else such as 

> *os-prober
> /dev/sdb6:Ubuntu 12.04.1 LTS (12.04):Ubuntu:linux
> /dev/mapper/vg_lesliedesktop-lv_root:Fedora release 17 (Beefy
> Miracle):Fedora:linux
> *

Can be provided.

Comment 5 Mads Kiilerich 2012-11-29 11:14:13 UTC
Yeah, I'm quite sure that is bug #825236.

To confirm that please boot up on the install media and run 'os-prober' manually, perhaps on a ctrl+alt+Fsomething terminal.

Comment 6 Hedayat Vatankhah 2012-12-03 08:05:47 UTC

*** This bug has been marked as a duplicate of bug 825236 ***