Bug 1322956

Summary: Update Windows detection support
Product: Red Hat Enterprise Linux 7 Reporter: rmarshall
Component: os-proberAssignee: rmarshall
Status: CLOSED ERRATA QA Contact: Jan Ščotka <jscotka>
Severity: unspecified Docs Contact:
Priority: high    
Version: 7.3CC: mbanas, rmarshall, salmy
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: os-prober-1.58-6 Doc Type: Bug Fix
Doc Text:
Cause: Lack of proper data to identify a Windows installation. Consequence: Windows 10 shows up as recovery partition if it could be detected, or failure to detect Windows at all. Fix: Add support for Windows 10 Result: Can now detect Windows 10 and installations where the OS identifying file is a binary mode file instead of a text mode file.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 04:29:00 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:

Description rmarshall 2016-03-31 18:39:20 UTC
Description of problem: Backport updates from upstream already present in Fedora that improve the detection of Windows and add support for the proper detection of Windows 10.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 7 Martin Banas 2016-08-30 14:09:31 UTC
Reproduced on RHEL-7.2 GA:
[root@localhost ~]# rpm -q os-prober
os-prober-1.58-5.el7.x86_64
[root@localhost ~]# grub2-mkconfig 2> /dev/null | grep 'root=/dev'
	linux16 /vmlinuz-3.10.0-327.el7.x86_64 root=/dev/mapper/rhel00-root ro  
		linux16 /vmlinuz-3.10.0-327.el7.x86_64 root=/dev/mapper/rhel00-root ro  
		linux16 /vmlinuz-3.10.0-327.el7.x86_64 root=/dev/mapper/rhel00-root ro single 
		linux16 /vmlinuz-0-rescue-100ed28aa8dde6458785541fb34d4ab7 root=/dev/mapper/rhel00-root ro  
		linux16 /vmlinuz-0-rescue-100ed28aa8dde6458785541fb34d4ab7 root=/dev/mapper/rhel00-root ro single 
	linux /vmlinuz-0-rescue-100ed28aa8dde6458785541fb34d4ab7 root=/dev/dm-2
		linux /vmlinuz-0-rescue-100ed28aa8dde6458785541fb34d4ab7 root=/dev/dm-2
		linux /vmlinuz-3.10.0-327.el7.x86_64 root=/dev/dm-2

Verified on RHEL-7.3 Snapshot1:
[root@localhost ~]# rpm -q os-prober
os-prober-1.58-8.el7.x86_64
[root@localhost ~]# grub2-mkconfig 2> /dev/null | grep 'root=/dev'
	linux16 /vmlinuz-3.10.0-327.el7.x86_64 root=/dev/mapper/rhel00-root ro  
		linux16 /vmlinuz-3.10.0-327.el7.x86_64 root=/dev/mapper/rhel00-root ro  
		linux16 /vmlinuz-3.10.0-327.el7.x86_64 root=/dev/mapper/rhel00-root ro single 
		linux16 /vmlinuz-0-rescue-100ed28aa8dde6458785541fb34d4ab7 root=/dev/mapper/rhel00-root ro  
		linux16 /vmlinuz-0-rescue-100ed28aa8dde6458785541fb34d4ab7 root=/dev/mapper/rhel00-root ro single 
	linux /vmlinuz-0-rescue-100ed28aa8dde6458785541fb34d4ab7 root=/dev/mapper/rhel-root
		linux /vmlinuz-0-rescue-100ed28aa8dde6458785541fb34d4ab7 root=/dev/mapper/rhel-root
		linux /vmlinuz-3.10.0-327.el7.x86_64 root=/dev/mapper/rhel-root

Comment 9 errata-xmlrpc 2016-11-04 04:29:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2351.html