Results 1 to 4 of 4

Thread: Grub not showing after upgrading to Ubuntu 20.04 LTS with Windows 10 dualboot

  1. #1
    Join Date
    Jan 2021
    Beans
    2

    Grub not showing after upgrading to Ubuntu 20.04 LTS with Windows 10 dualboot

    I recently upgraded from Ubuntu 18.04 LTS to 20.04 LTS which is installed alongside with Windows 10. After the upgrade Grub menu is not displayed on the laptop screen, although I am able to move and select the different entries with the arrow key during the time-out.

    I have tried boot-repair without success, with the following report:
    paste.ubuntu.com/p/KvDhsjV8q3/

    Note: I previously had Manjaro which I replaced by Ubuntu, however it seems I did not remove correctly during the installation process since in the boot-repair report it is still showing.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Grub not showing after upgrading to Ubuntu 20.04 LTS with Windows 10 dualboot

    Boot-Repair shows it reinstalled grub without error & grub has Windows entry.
    Grub only boots working Windows.
    So if Windows update turned fast start up back on, then you have to turn it off again.

    Fast Start up off (always on hibernation), note that Windows turns this back on with updates, SHIFT + Shut down button
    http://ubuntuforums.org/showthread.p...2#post13488472
    http://www.tenforums.com/tutorials/4...dows-10-a.html
    http://www.tenforums.com/tutorials/2...dows-10-a.html

    With UEFI, you have to manually remove UEFI entries that are not valid anymore.
    You can use efibootmgr. See:
    man efibootmgr

    # from liveDVD or flash booted in UEFI mode and use efibootmgr
    sudo efibootmgr -v
    The "-v" option displays all the entries so you can confirm you're deleting the right one, and then you use the combination of "-b ####" (to specify the entry) and "-B" (to delete it). Examples #5 is delete:, with Ubuntu you need sudo, others must be at root. some need all 4 hex chars, others only need significant digits
    sudo efibootmgr -b XXXX -B

    Report did not show another folder in /EFI, but if you have one that is /EFI/Manjaro, you can remove it also. Some distributions use /EFI/grub, all Ubuntu official flavors and many others based on Ubuntu use /EFI/ubuntu as folder & UEFI boot entry.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    May 2008
    Beans
    3,986
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Grub not showing after upgrading to Ubuntu 20.04 LTS with Windows 10 dualboot

    If it is only a matter of the grub menu not visible when you power on the PC, you can edit the configuration:-

    Code:
    sudo nano /etc/default/grub
    Change GRUB_TIMEOUT_STYLE from hidden to menu

    Code:
    GRUB_DEFAULT=0
    GRUB_TIMEOUT_STYLE=menu
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""
    Ctrl O to save and Ctrl X to exit.

    Code:
    sudo update-grub
    Reboot - any joy?

  4. #4
    Join Date
    Jan 2021
    Beans
    2

    Thumbs up Re: Grub not showing after upgrading to Ubuntu 20.04 LTS with Windows 10 dualboot

    Quote Originally Posted by oldfred View Post
    Boot-Repair shows it reinstalled grub without error & grub has Windows entry.
    Grub only boots working Windows.
    So if Windows update turned fast start up back on, then you have to turn it off again.

    Fast Start up off (always on hibernation), note that Windows turns this back on with updates, SHIFT + Shut down button
    http://ubuntuforums.org/showthread.p...2#post13488472
    http://www.tenforums.com/tutorials/4...dows-10-a.html
    http://www.tenforums.com/tutorials/2...dows-10-a.html

    With UEFI, you have to manually remove UEFI entries that are not valid anymore.
    You can use efibootmgr. See:
    man efibootmgr

    # from liveDVD or flash booted in UEFI mode and use efibootmgr
    sudo efibootmgr -v
    The "-v" option displays all the entries so you can confirm you're deleting the right one, and then you use the combination of "-b ####" (to specify the entry) and "-B" (to delete it). Examples #5 is delete:, with Ubuntu you need sudo, others must be at root. some need all 4 hex chars, others only need significant digits
    sudo efibootmgr -b XXXX -B

    Report did not show another folder in /EFI, but if you have one that is /EFI/Manjaro, you can remove it also. Some distributions use /EFI/grub, all Ubuntu official flavors and many others based on Ubuntu use /EFI/ubuntu as folder & UEFI boot entry.
    Indeed Windows had turned back on the Fast Start up, setting it to NORMAL (off) did the trick. I also deleted the Manjaro entry with efibootmgr as you suggested.

    Thank you very much for the fast responses and your help!



Tags for this Thread

Bookmarks

Posting Permissions

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