Bug 1144657 - UEFI Secure Boot failure to boot Windows, cannot load image
Summary: UEFI Secure Boot failure to boot Windows, cannot load image
Keywords:
Status: CLOSED DUPLICATE of bug 1170245
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 21
Hardware: x86_64
OS: Windows
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F21FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2014-09-20 07:03 UTC by lonelywoolf
Modified: 2015-01-16 15:47 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-16 15:47:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
error message (1.24 MB, image/jpeg)
2014-09-20 07:03 UTC, lonelywoolf
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1010704 0 high CLOSED Grub2 does not specify root for windows entries where uefi partition 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1170245 0 unspecified CLOSED SecureBoot enabled causes Win 8 UEFI to not start from grub 2021-02-22 00:41:40 UTC

Internal Links: 1010704 1170245

Description lonelywoolf 2014-09-20 07:03:33 UTC
Created attachment 939481 [details]
error message

Description of problem:
 UEFI Secure Boot failure to boot Windows, cannot load image

How reproducible:
Just enable secure boot in UEFI BIOS settings. Always.

Actual results:
Error message (in attachment)

Expected results:
Boot windows normally.

Comment 1 Chris Murphy 2014-09-20 19:05:45 UTC
Please specify the filename for the media you're using, e.g. Fedora-Live-Workstation-x86_64-21_Alpha-1.iso, and how it was created, e.g. dd to USB, and what the dd command was.

Does the error happen when booting installer media? Or only when booting the installed system?

Comment 2 Chris Murphy 2014-09-20 19:06:49 UTC
What make/model/firmware version for the system?

Comment 3 lonelywoolf 2014-09-23 16:28:07 UTC
This is Samsung NP535U3C-A0HRU ultrabook with 500 GB HDD and firmware is P12ABH

Released in early 2014 or end 2013 as I remember.

See also bug 986731

Comment 4 lonelywoolf 2014-09-23 16:33:51 UTC
(In reply to Chris Murphy from comment #1)
> Please specify the filename for the media you're using, e.g.
> Fedora-Live-Workstation-x86_64-21_Alpha-1.iso, and how it was created, e.g.
> dd to USB, and what the dd command was.
> 
> Does the error happen when booting installer media? Or only when booting the
> installed system?

I was not tested installer media. I was just upgraded to F21 with yum. And F20 have this bug too. Fedora installation booting as normal in any case, but with secure boot enabled this reports an error loading in-kernel certificate.

Sorry for my bad English.

Comment 5 Samuel Sieb 2014-10-20 19:33:01 UTC
I had this problem with F20 several months ago.  But any recent installs of F20 (I include updates in the install) have been able to boot Windows from the Fedora grub menu.  I suspect there was a change in the grub config generation somewhere along the way.  Try regenerating your grub config and see if that fixes it.

Comment 6 lonelywoolf 2014-10-21 00:49:56 UTC
Was tried and no hope. Which device/firmware are you use?

Comment 7 Samuel Sieb 2014-10-21 00:57:01 UTC
You have the latest grub-efi package and you regenerated the grub efi config file?

I have this working on many Windows 8 laptops.  I don't have physical access to any of them right now, but I know it wasn't working when I first tried dual-booting with W8 last year and it is now.  I will note that these were all clean installs.  Next time I am there I will try to track down one of the older installs that couldn't chain load W8 (without disabling secure boot) and see if it will work now.

Comment 8 Samuel Sieb 2014-10-21 23:24:10 UTC
Btw, I have always seen that error about loading in-kernel certificate, but as far as I can tell, it has no actual effect on anything.

Comment 9 lonelywoolf 2014-10-25 17:43:51 UTC
(In reply to Samuel Sieb from comment #7)
> You have the latest grub-efi package and you regenerated the grub efi config
> file?
> 
Yes, it is.  Seems as firmware incompatibility. with secureboot disabled it load's windows loader and windows 8.1 and windows10 preview runs correctly, but I see thesame error message. Trying to modify it, but without success now. Seems as thus bug affected samsung np530 series, some np900 and may be np535 series.

Comment 10 Chris Murphy 2014-10-31 17:23:19 UTC
lonelywoolf: Please clarify. The problem booting Windows from GRUB only happens when Secure Boot is enabled, it works when disabled. Correct? And does Fedora boot when Secure Boot is enabled or does it also fail?

Comment 11 Fedora Blocker Bugs Application 2014-10-31 17:26:20 UTC
Proposed as a Blocker for 21-final by Fedora user chrismurphy using the blocker tracking app because:

 "The installer must be able to install into free space alongside an existing clean Windows installation and install a bootloader which can boot into both Windows and Fedora."

Comment 12 Kamil Páral 2014-11-05 19:05:26 UTC
Discussed at 2014-11-05 blocker review meeting [1]. We decided the punt the decision. This requires some more testing to confirm. Will rediscuss at next meeting.

[1] http://meetbot.fedoraproject.org/fedora-blocker-review/2014-11-05/

Those of you who tested this, can you please test with a clean Fedora 21 Beta installation? I see just a single report of failure, and that is an upgraded system (with an unsupported method). Thanks.

Comment 13 lonelywoolf 2014-11-06 06:18:45 UTC
Seems that it is bug in my Notebook's firmware. It's buggy with UEFI in some other cases (LID status, AC/DC status, some power energy freezes, etc). Now it isn't booting with Secure boot anything, reverted to CSM. I think, we may close thus bug.

Comment 14 lonelywoolf 2014-11-06 06:26:06 UTC
Just tested now, and closing this bug as the failure because reporter has is very specific environment (bugged firmware).

Comment 15 Kamil Páral 2014-11-06 12:42:29 UTC
Just a note for the purposes of the blocker bug proposal: I have tested this quite extensively, see bug 986731 comment 36. I have found no problems with our test machine.

Comment 16 Chris Murphy 2015-01-10 06:41:19 UTC
I'm able to reproduce this bug on a Dell XFS 13. Opened new bug 1180787.

Comment 17 Kamil Páral 2015-01-15 15:22:30 UTC
(In reply to Chris Murphy from comment #16)
> I'm able to reproduce this bug on a Dell XFS 13. Opened new bug 1180787.

Since you opened a new bug, does it make sense to keep this one opened as well?

Maybe we can dupe this to bug 1170245 or vice versa? It seems to be the same problem.

Comment 18 Chris Murphy 2015-01-15 21:25:27 UTC
Yes it looks like bug 1144657, bug 1170245, and bug 1180787 are dups. Feel free to mark 2 as dups of 1.

Comment 19 Kamil Páral 2015-01-16 15:47:15 UTC
Closing as a duplicate of bug 1170245, because it contains logs, so it's more useful. Please feel free to attach logs of your non-working systems to that bug as well. Thanks.

*** This bug has been marked as a duplicate of bug 1170245 ***


Note You need to log in before you can comment on or make changes to this bug.