I lost Windows boot option on installation of Fedora 22

Bill Oliver vendor at billoblog.com
Fri May 29 22:22:36 UTC 2015


On Sat, 30 May 2015, Michael D. Setzer II wrote:

> On 29 May 2015 at 13:54, Bill Oliver wrote:
>
> Date sent:      	Fri, 29 May 2015 13:54:14 +0000 (UTC)
> From:           	Bill Oliver <vendor at billoblog.com>
> To:             	"Michael D. Setzer II" <mikes at kuentos.guam.net>
> Copies to:      	Community support for Fedora users
> <users at lists.fedoraproject.org>
> Subject:        	Re: I lost Windows boot option on installation of Fedora 22
>
>> On Fri, 29 May 2015, Michael D. Setzer II wrote:
>>
>>>> [snip]
>>>
>>> I was going to recommand the grub2-mkconfig, but you show it isn't finding
>>> the windows?
>>>
>>> With my Fedora 21, I ran it with an strace to see what it was doing to find the
>>> windows 7 that I have on machine. Seems it is the following.
>>> /etc/grub.d/30_os-prober
>>>
>>> The script seems to use os-prober to find the windows partitions.
>>> So, see if os-prober reports that it finds any windows partitions.
>>>
>>> Not sure is 22 uses the same script, but you might try running it, and see if it
>>> finds the windows partition.
>>>
>>> What does cat /proc/partitions show?
>>
>> Here it is:
>>
>> % more /proc/partitions
>> major minor  #blocks  name
>>
>>     8        0  488386584 sda
>>     8        1     665600 sda1
>>     8        2     266240 sda2
>>     8        3     131072 sda3
>>     8        4  135359738 sda4
>>     8        5   25876480 sda5
>>     8        6  320636928 sda6
>>     8        7    5443584 sda7
>>    11        0    1048575 sr0
>>
>
> What do you get when you run os-prober and /etc/grub.d/30_os-prober??
> Do you get nothing or an error?
>
> What does blkid report.
>
>


[root at localhost oliver]# os-prober
<a couple seconds wait>
[root at localhost oliver]#



[root at localhost oliver]# /etc/grub.d/30_os-prober
[root at localhost oliver]#


[root at localhost oliver]# blkid
/dev/sda1: LABEL="WINRE" UUID="C0125289125283F6" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="5049eae8-8677-437b-b94c-e4b1beef7e11"
/dev/sda2: SEC_TYPE="msdos" LABEL="efi" UUID="9AC3-5063" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="1c7ee56b-2983-4f32-a96e-7cf9aa3233af"
/dev/sda4: LABEL="Windows" UUID="9AAEDC99AEDC6EEF" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="89988b85-0f51-4072-b87c-9faf6314be74"
/dev/sda5: LABEL="RECOVERY" UUID="6CE4E22AE4E1F5EC" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="9a35b4bb-c899-4c66-98ad-56136f037766"
/dev/sda6: LABEL="root" UUID="9d7d5f49-6803-43e4-9920-130788991f5b" TYPE="ext4" PARTUUID="a104a97d-d5a3-414d-9607-b1189d1fb3f9" 
/dev/sda7: LABEL="swap" UUID="bb3f6351-ad6b-4c95-8c3a-64270fd01954" TYPE="swap" PARTUUID="ee291490-853d-421a-9b8a-5f99d55c33c2"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="24552e97-5182-4d3b-8900-065f02062b4c"


Is it possible that something was inadvertently reformatted, like the efi partition?  If that were the case, am I screwed?


billo


More information about the users mailing list