FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,280

    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.
    Last edited by antikythera; 10th October 2016 at 03:18 PM.

  2. #2
    Join Date
    Mar 2011
    Location
    /
    Posts
    5,093

    Re: F24 onwards GRUB workaround for Windows black screen dual-boot issue (UEFI)

    Stuck and closed.
    Fedora 27 x86_64 XFCE - Sager | Intel Core i7 - 4810 MQ | NVIDIA GeForce GTX 860M | 16 GB RAM | 480 GB ADATA SSD |
    Fedora 27 x86_64 XFCE - Dell Precision M4800 | Intel Core i7 - 4900 MQ | NVIDIA Quadro K1100M | 16 GB RAM | 750 GB 7200 RPM HDD |


    The Linux Documentation Project | Fedora Documentation

  3. #3
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    5,280

    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.

Similar Threads

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •