Bug 2015574

Summary: os-prober doesn't see UEFI WIndows installation
Product: [Fedora] Fedora Reporter: František Zatloukal <fzatlouk>
Component: os-proberAssignee: Hedayat Vatankhah <hedayatv>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: agk, fzatlouk, hedayatv
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-19 16:04:44 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:
Bug Depends On:    
Bug Blocks: 1891955    

Description František Zatloukal 2021-10-19 14:30:54 UTC
Description of problem:
os-prober doesn't see Windows installed at the same hard drive in UEFI mode.

Version-Release number of selected component (if applicable):
os-prober-1.77-8.fc35.x86_64

How reproducible:
Always (tested just on one desktop, in UEFI, with a pretty old Win10 build)

Steps to Reproduce:
1. Install windows 10 in UEFI
2. Install Fedora 35 in UEFI next to the Windows 10 on the same drive
3.

Actual results:
grub is not displayed on boot, booting each os directly through the UEFI boot menu works well. 

Expected results:
grub should get displayed (because there is another OS available to boot into), os-prober should see Windows 10 installation.

Additional info:

Comment 1 František Zatloukal 2021-10-19 14:31:50 UTC
I can test this on some other desktop and in BIOS mode too with newer Win 10 build tomorrow.

Comment 2 Fedora Blocker Bugs Application 2021-10-19 14:38:42 UTC
Proposed as a Blocker for 35-final by Fedora user frantisekz using the blocker tracking app because:

 The installer must be able to install into free space alongside an existing clean Windows installation and install a bootloader which can boot into both Windows and Fedora.

On the first attempt, grub didn't show Windows 10 boot option. On the second attempt, it wasn't possible to a cleanly installed Windows 10 after Fedora installation at all (not even through the UEFI boot menu).

I'll do some more clean test attempts.

Comment 3 František Zatloukal 2021-10-19 16:04:44 UTC
So, this works just fine, must've misconfigured something. There are some issues in more complicated setups that I'll verify, after the release probably.

Sorry for the noise.

Comment 4 Hedayat Vatankhah 2021-10-21 20:07:23 UTC
No problem. About the issue, my guess is that the Windows partition was not mountable in the first attempts because it was not properly unmounted (this happens when Windows 'fast poweroff' feature is enabled, or if windows is hibernated).