F22 :: EFI boot :: grub2 does not find Windows 8.1
Adrian Sevcenco
Adrian.Sevcenco at cern.ch
Sat May 30 19:58:53 UTC 2015
On 05/30/2015 06:24 PM, Pete Travis wrote:
>
> On May 30, 2015 2:35 AM, "Adrian Sevcenco" <Adrian.Sevcenco at cern.ch
> <mailto:Adrian.Sevcenco at cern.ch>> wrote:
>>
>> Hi! I know that there is another thread with similar subject but as
>> i tried everything i will reiterate the problem with grub2-mkconfig
>> not seeing the windows 8.1 even after adding custom entry. So, this
>> are my information: [root at localhost grub.d]# parted -l Model: ATA
>> Corsair Force 3 (scsi) Disk /dev/sda: 90.0GB Sector size
>> (logical/physical): 512B/512B Partition Table: gpt Disk Flags:
>> pmbr_boot
>>
>> Number Start End Size File system Name
>> Flags 8 1049kB 3146kB 2097kB
>> bios_grub 1 5243kB 420MB 415MB ntfs Basic data
>> partition hidden, diag 2 420MB 693MB 273MB
>> fat32 EFI system partition boot, esp 3 693MB
>> 945MB 252MB Microsoft reserved partition msftres
>> 4 945MB 38.2GB 37.3GB ntfs Basic data partition
>> msftdata 5 38.2GB 61.3GB 23.1GB ntfs Basic data
>> partition msftdata 6 61.3GB 78.5GB 17.2GB ext4 7
>> 78.5GB 90.0GB 11.5GB ext4
>>
>> [root at localhost grub.d]# mount | grep ^/dev/ /dev/sda6 on / type
>> ext4 (rw,relatime,seclabel,data=ordered) /dev/sda2 on /boot/efi
>> type vfat
>> (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=winnt,errors=remount-ro)
>>
>>
/dev/sda7 on /home type ext4 (rw,relatime,seclabel)
>> /dev/sda4 on /mnt/WIN_C type fuseblk
>> (rw,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
>>
>>
/dev/sda5 on /mnt/WIN_D type fuseblk (rw,noatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
>>
>> [root at localhost grub.d]# cat 40_custom #!/bin/sh exec tail -n +3
>> $0 # This file provides an easy way to add custom menu entries.
>> Simply type the # menu entries you want to add after this comment.
>> Be careful not to change # the 'exec tail' line above.
>>
>> menuentry 'Microsoft Windows 8.1' { set root='hd0,gpt4' chainloader
>> /EFI/Microsoft/Boot/bootmgfw.efi boot }
>>
>> i must say that with both gpt2 and gpt4 (esp partition and C:\
>> partition) does not work..
>>
>> [root at localhost grub.d]# ll /etc/grub*.cfg lrwxrwxrwx. 1 root root
>> 29 May 30 10:07 /etc/grub2.cfg -> /boot/efi/EFI/fedora/grub.cfg
>> lrwxrwxrwx. 1 root root 29 May 30 10:04 /etc/grub2-efi.cfg ->
>> /boot/efi/EFI/fedora/grub.cfg
>>
>> So, what i am missing? and why? (wasn't fedora tested for efi dual
>> boot situations? i would think that is preaty obvious that a HUGE
>> percentage of usage will be on modern efi/gpt windows 8.1 laptops
>> and desktops)
>>
>> Did anyone have a working dual boot EFI installation of Windows 8.1
>> + fedora 22?
>>
>> Thank you! Adrian
>>
>
> A bios_grub partition suggests you do not have a UEFI installation of
> Fedora. Mixing UEFI and not-UEFI will not work well. To confirm, can
> you share the output of `sudo efibootmgr` from your fedora
> installation?
You were right! In bios it was enabled the legacy option and with bios partition
it seems that grub was working in legacy mode ...
I set up bios to efi only and deleted the bios partition and from within a chroot (fedora live)
i get :
[root at x360 /]# efibootmgr -v
BootCurrent: 0000
Timeout: 5 seconds
BootOrder: 0001,2001,2002,2004
Boot0000* USB CD/DVD ROM Drive (UEFI) ACPI(a0341d0,0)PCI(14,0)USB(3,0)USB(1,0)CD-ROM(1,2b,2798)RC
Boot0001* fedora HD(2,c8800,82000,f5495ca8-ccea-4573-afe6-ec42fb4cdb01)File(\EFI\fedora\grubx64.efi)
Boot2001* EFI USB Device RC
but when i try to boot i receive the message that boot device is not found even if i already did
grub2-install /dev/sda from within chroot
and also i tried with :
--efi-directory=/boot/efi --target=x86_64-efi
Any idea how to correct this?
Thank you!
Adrian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2272 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20150530/57f26892/attachment-0001.p7s>
More information about the users
mailing list