F22 :: EFI boot :: grub2 does not find Windows 8.1 - solved

Adrian Sevcenco Adrian.Sevcenco at cern.ch
Sun May 31 07:27:08 UTC 2015


On 05/31/2015 03:04 AM, Pete Travis wrote:
> Grub does not live in the MBR of a drive on UEFI systems.  It's a UEFI
> executable file on the EFI system partition.  In Fedora, the relevant
> bits come from a completely different package.  You could try something
> like this:
> 
>     - Set up a chroot with appropriate bind mounts (
> https://fedorapeople.org/groups/docs/multiboot-guide/html/common_operations_appendix.html#common-chroot_from_live
> )
>     - # dnf remove grub
>     - # dnf install grub2-efi shim
>     - Create an efi boot entry (the one in your paste is from the live
> image)
>        
> https://fedorapeople.org/groups/docs/multiboot-guide/html/GRUB-reinstalling.html
> 
> It's a somewhat complicated and involved process; if you've just
> installed Fedora it may be easier to reinstall.
Thanks for info! basically what i tried was what you said (with chroot and recreate entry with efibootmgr)
but without that reinstall of grub2-efi and shim .. it did not worked well with creating the efi entry.. 
so, making sure that i have a uefi only bios, i reinstalled and things worked out: 

Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.0.4-301.fc22.x86_64
Found initrd image: /boot/initramfs-4.0.4-301.fc22.x86_64.img
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi

[root at x360 fedora]# efibootmgr -v
BootCurrent: 0001
Timeout: 5 seconds
BootOrder: 0001,3001,0002,2001,2002,2004
Boot0001* Fedora        HD(2,c8800,82000,f5495ca8-ccea-4573-afe6-ec42fb4cdb01)File(\EFI\fedora\shim.efi)
Boot0002* Windows Boot Manager  HD(2,c8800,82000,f5495ca8-ccea-4573-afe6-ec42fb4cdb01)File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...e................
Boot2001* EFI USB Device        RC
Boot3001* Internal Hard Disk or Solid State Disk        RC

One more clarification i would like:
what is the difference between the loaders?:
gcdx64.efi
grubx64.efi
MokManager.efi
shim.efi
shim-fedora.efi

the shim part i know that is for secure boot (which is disabled in my case).
what are the others? is there a wiki page explaining this files?

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/20150531/acdd28f7/attachment.p7s>


More information about the users mailing list