| Summary: | grub2-mkconfig identifies recovery partition as 'Windows NT/2000/XP' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Patrick C. F. Ernzer <pcfe> |
| Component: | os-prober | Assignee: | Hedayat Vatankhah <hedayatv> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 16 | CC: | dennis, hedayatv, mads, pjones |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-04-18 13:05:12 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 494832 | ||
|
Description
Patrick C. F. Ernzer
2011-12-01 21:55:57 UTC
grub2 relies on the output of os-prober. What do direct invocation of os-prober show? bad news, the HD on the machine in question started acting up a month ago and has been replaced. Oddly enough, bugzilla mail tells me the needinfo is from yesterday. Still I should have caught your question in december. If you do not have a machine with a Windows restore partition at hand, close this as insufficient info. But with some luck there is a fairly new laptop, that came win a Win restore partition, near you. Alternatively, the dying disk is probably still readable, can I point os-prober at an external disk? If yes, how? $ man os-prober No manual entry for os-prober I guess it requires a machine with a 'Compaq diagnostics' to reproduce the problem. That partition might be based on some windows version, so the entry might not be completely wrong. AFAIK os-prober can't be controlled and will look at all available devices. Well, AFAIK os-prober does not look at the partition types at all. It looks inside partitions to acquire required information. You probably cannot reproduce this bug in newer laptops with Windows Vista or newer recovery partitions (os-prober works fine to detect my ThinkPad X61 recovery partition). It can find the correct title inside bcd. For Windows NT/2000/XP, it looks inside boot.ini to find the title; if failed it'll use the generic "Windows NT/2000/XP" title. Which looks like to be what happened on your old hard disk. I wonder if os-prober should be asked to look at the partition type too. |