Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (Not For Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (Not For Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10th October 2016, 02:17 PM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 4,546
linuxfedorachrome
Exclamation F24 onwards GRUB workaround for Windows black screen dual-boot issue (UEFI)

Symptoms of issue this addresses:
1. Install Fedora 24 onwards
2. Reboot the PC to access windows at some point
3. Select Windows from the GRUB menu
4. Press Enter/Return to load it
5. Sit there staring at a black screen wondering why it's suddenly broken
6. Swear under breath and reach for reset button
7. Search the internet for a solution and hopefully find this guide

Workaround? Rolling back to the Fedora 23 build of grub2, grub2-efi, grub2-tools seems to be the only answer even though they've had the best part of 6 months to fix this already.

NB - If you think all the following steps are too much for you there is an alternative. press c to switch grub to the command prompt and then type exit. press enter/return and windows will boot

Open a terminal and carry out the following steps:

get root rights (enter the root password when prompted)
Code:
su -
create a new directory for the downloads required for the downgrade
Code:
mkdir downgrade_grub
change to that directory
Code:
cd downgrade_grub
install wget if not already present on your system
Code:
dnf install wget
set the download source for the packages
Code:
GRUBSOURCE=https://kojipkgs.fedoraproject.org//packages/grub2/2.02/0.24.fc23/x86_64
download the downgrade packages
Code:
wget $GRUBSOURCE/grub2-efi-2.02-0.24.fc23.x86_64.rpm
wget $GRUBSOURCE/grub2-tools-2.02-0.24.fc23.x86_64.rpm
wget $GRUBSOURCE/grub2-2.02-0.24.fc23.x86_64.rpm
apply the downgrade
Code:
dnf downgrade *.rpm
That should fix it

The next step to prevent those files being overwritten and GRUB broken again is to exclude them from dnf update checks.

using your preferred text editor (run with root or sudo rights) add the following line to the end of this file: etc/dnf/dnf.conf

Code:
exclude=grub2 grub2-efi grub2-tools
if you installed and use yum-deprecated/yumex then make the same addition to etc/yum.conf as well. save the changes and you are done.
__________________
Latest survey shows that 3 out of 4 people make up 75% of the world's population - Stephen Hawking
Download, Install and Share Fedora
- Official ISO Torrents
| Live ISO Respins containing post-release updates

Last edited by antikythera; 10th October 2016 at 03:18 PM.
  #2  
Old 10th October 2016, 10:43 PM
nonamedotc Offline
Mithrandir
 
Join Date: Mar 2011
Location: /
Posts: 4,979
linuxchrome
Re: F24 onwards GRUB workaround for Windows black screen dual-boot issue (UEFI)

Stuck and closed.
__________________
Fedora 24 x86_64 XFCE - Sager | Intel Core i7 - 4810 MQ | NVIDIA GeForce GTX 860M | 16 GB RAM | 480 GB ADATA SSD |
CentOS 7.2.1511 x86_64 Server - Thinkpad T520 | Intel Core i7 - 2630 QM | NVIDIA NVS 4200M | 16 GB RAM | 500 GB 7200 RPM HDD |


The Linux Documentation Project | Fedora Documentation
  #3  
Old 14th December 2016, 05:16 PM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 4,546
windows_98_nt_2000chrome
Re: F24 onwards GRUB workaround for Windows black screen dual-boot issue (UEFI)

A newer build of GRUB2 has been released that is supposed to address memory allocation errors or missing image errors with W10 chainloader entries in GRUB. This may also fix the blank screen problem. I am unable to test for it at present due to not being at home.

To try it, remove the exclude entries from dnf.conf and/or yum.conf. then check for updates again.

If problems still persist (or return after the next major kernel update from 4.8.XXX to 4.9.XXX) you can always rollback to the suggested build as per the above instructions and block further updates yet again.
__________________
Latest survey shows that 3 out of 4 people make up 75% of the world's population - Stephen Hawking
Download, Install and Share Fedora
- Official ISO Torrents
| Live ISO Respins containing post-release updates
Closed Thread

Tags
dualboot, f24, grub, onwards, uefi, windows, workaround

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB failure after Apper F22 kernel upgrade, dual boot Win8 UEFI itpwrusr Installation, Upgrades and Live Media 0 7th March 2016 08:55 PM
Dual boot Fedora 17/Windows 7 + UEFI ashram Installation, Upgrades and Live Media 2 21st October 2012 12:39 AM
How to make grub on F17 (uefi w/ grub 1) boot windows 7 (uefi)? premudriy Installation, Upgrades and Live Media 4 21st August 2012 06:58 PM
dual boot with xp issue - grub can't boot into windows JohnRock Installation, Upgrades and Live Media 7 10th January 2010 02:26 AM
Grub Geom errors on Windows dual-boot: Workaround, plain English felch Installation, Upgrades and Live Media 0 8th August 2006 04:02 PM


Current GMT-time: 20:39 (Thursday, 27-07-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat