Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: UEFI Boot Entry Disappeared After Updates?

  1. #11
    Join Date
    Mar 2008
    Location
    Europe
    Posts
    26,213
    Blog Entries
    34

    Default Re: UEFI Boot Entry Disappeared After Updates?

    Quote Originally Posted by oldcpu View Post
    I just received (last night) a new desktop PC with a Gigabyte GA-Z87X-D3H motherboard. The PC has a 2TB HD and a 256 GB SSD drive. There is no operating system (no data either) on the HD and SSD drives currently. I did boot to an openSUSE-13.1 liveDVD successfully prior to rebooting to firmware, and then I rebooted direct to firmware to obtain these images. An attempt to boot to an openSUSE-13.1 liveUSB failed, but I need to confirm the USB stick is still good (it did work a month ago on my Ultrabook).

    I have different selections than you, and this goes to illustrate the differences between manufacturers.

    Note below :


    with a zoom in here ...

    where I have 3 (and not just two) selections for UEFI or Legacy. I don't yet understand the ramifications of the combined UEFI/Legacy mode.
    Further to the above, when reading my new Gigabytte motherboard 'User's Manual', I noted some firmware controls that I over looked previous in my initial glance of the settings.

    The CSM Support on my motherboard provides two options: Always (which enables UEFI CSM and is the default setting), and Never (which disables UEFI CSM and supports UEFI BIOS boot process only). The user manual advises that this item is configurable only when the OS type is set to "Windows8" or "Windows 8 WHQL". On my motherboard I have the OS type set to the default setting, which is "Other OS". Hence that implies that the default value for "CSM Support" of 'Always' is always set (to enable UEFI CSM).

    Then there was the boot mode selection, which is designed to allow various operating systems to boot :

    However given I do not have Windows8 selected, and given that the CSM support is at its default value of "Always" -> that implies this Boot Mode selection allows me no choice, but rather is always set to "UEFI and Legacy".

    This suggests to me that a UEFI compatible GNU/Linux distribution may not be necessary for this motherboard with it as set today.

    I then noted the Storage Boot Option, and this is where things get very fuzzy for me.



    I think I'll start another thread on this, as the difference between "disabled", "legacy only" , "uefi only" , "legacy first" , and "uefi first" given I will have both an HD and an SSD drive is lost on me - and as well the difference between "Legacy OpROM and UEFI OpROM" is lost on me.

  2. #12

    Default Re: UEFI Boot Entry Disappeared After Updates?

    This still seems to be happening. Just installed openSUSE 13.1 again on my laptop, installed all available updates, rebooted, and can't boot back into openSUSE due to the UEFI entry being removed.

    Edit: https://forums.opensuse.org/showthre...29#post2597929 seems to fix it nicely, but it's still really weird that this happens. Maybe one of the updates I install updates grub, but it doesn't regenerate boot entries on its own?

  3. #13
    Join Date
    Sep 2012
    Posts
    4,131

    Default Re: UEFI Boot Entry Disappeared After Updates?

    Quote Originally Posted by Espionage724 View Post
    TMaybe one of the updates I install updates grub, but it doesn't regenerate boot entries on its own?
    grub2 update reistalls bootloader which also regenerates boot entries. To troubleshoot it one would need to reproduce this. Could you try record current "efibootmgr -v" output, run "update-bootloader --reinit" and check with "efibootmgr -v" whether entries are missing? Then reboot and check again?

  4. #14
    Join Date
    Nov 2009
    Location
    West Virginia Sector 9
    Posts
    14,580

    Default Re: UEFI Boot Entry Disappeared After Updates?

    There seem to be some EFI BIOSes that will only boot Windows. There is a trick to get around the bad behavior

    Essentially you copy the files from the openSUSE section of the EFI/boot and rename them the same as those files in the Windows section replacing the Windows boot code with openSUSE boot code. So then the machine will always boot to Grub2 and never direct into Windows. You should of course backup the Windows files just in case you need them



    oldcpu

    the UEFI + legacy mean you can have a MBR based boot along side a EFI based boot. Some how it make me think of Rub Goldberg

  5. #15
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    9,154
    Blog Entries
    3

    Default Re: UEFI Boot Entry Disappeared After Updates?

    Quote Originally Posted by Espionage724 View Post
    This still seems to be happening. Just installed openSUSE 13.1 again on my laptop, installed all available updates, rebooted, and can't boot back into openSUSE due to the UEFI entry being removed.
    Is this still the same ACER computer?

    Try the following command in Windows (from an Administrator command prompt)

    Code:
    bcdedit /set {bootmgr} path \EFI\opensuse\shim.efi
    This assumes that your opensuse system is setup for secure boot. If not, then change that "shim.efi" to "grubx64.efi".

    If you ever want to undo that change, here's the Windows command:
    Code:
    bcdedit /set {bootmgr} path \EFI\Microsoft\Boot\bootmgfw.efi
    I'll note that one of the Windows updates (the one people have been calling "update 1 to windows 8.1" failed to install on my system, until I undid that change (as indicated). I then redid the change and all is still working.

    This solves a quirk found in some UEFI implementations. We won't really know if it solves your problem until you try it.
    opensuse Leap 42.3; KDE Plasma 5;
    opensuse tumbleweed; KDE Plasma 5 (test system);

  6. #16
    Join Date
    Mar 2010
    Location
    UTC +1
    Posts
    193

    Default Re: UEFI Boot Entry Disappeared After Updates?

    Quote Originally Posted by Espionage724 View Post
    This still seems to be happening. Just installed openSUSE 13.1 again on my laptop, installed all available updates, rebooted, and can't boot back into openSUSE due to the UEFI entry being removed.

    Edit: https://forums.opensuse.org/showthre...29#post2597929 seems to fix it nicely, but it's still really weird that this happens. Maybe one of the updates I install updates grub, but it doesn't regenerate boot entries on its own?
    Is this the good (rather: bad) old "Win8.x-overwriting-everything-after-boot" problem? If you haven't made any power adjustments inside Win8.x that you know of, then expect it to be that:

    Windows 8 and Windows 8.1 are similar in that area, and you can see the link below for a way to adust Win8.x. I recommend the graphical way as that seems to do more adjustments inside Windows than the command line equivalent (I haven't seen it documented, but there have been problems solved by the GUI-method that the command line method didn't solve, so maybe MS is pulling some undocumented trick). Also beware the the actual wording has changed in W8.x since I wrote this (W8 has been upgraded/patched several times since) but I don't think you will be confused anyway. Take a look here:
    https://forums.opensuse.org/showthre...nux-UEFI-etc#4
    in particular the "Preparing Windows 8 for dual-booting:" item 4. That trick may solve your problem, but you still may need to make one more reinstall of grub after doing this. You may also want to take a look at part 6.

    Good luck!


    dayfinger

  7. #17

    Default Re: UEFI Boot Entry Disappeared After Updates?

    Quote Originally Posted by arvidjaar View Post
    grub2 update reistalls bootloader which also regenerates boot entries. To troubleshoot it one would need to reproduce this. Could you try record current "efibootmgr -v" output, run "update-bootloader --reinit" and check with "efibootmgr -v" whether entries are missing? Then reboot and check again?
    Installed 13.1, updated it, and did efibootmgr -v before rebooting; there were no entries. Did the update-bootloader --reinit command and then checked efibootmgr -v again, and opensuse was there. Rebooted and booted openSUSE without issue.

    Also, Windows isn't installed on the computer atm (openSUSE is using the entire disk), and SecureBoot is disabled. Just to re-clarify the problem, openSUSE and other Linux distros boot just fine in UEFI on this laptop. openSUSE 13.1 boot fine initially, but after installing updates, the UEFI boot entry disappears. Re-initializing the bootloader with the above command however (or just manually re-adding it via efibootmgr) re-adds the boot entry and allows for successful boot. The boot entry seems to stick after reboots as well.

  8. #18
    Join Date
    Sep 2012
    Posts
    4,131

    Default Re: UEFI Boot Entry Disappeared After Updates?

    Quote Originally Posted by Espionage724 View Post
    Installed 13.1, updated it, and did efibootmgr -v before rebooting; there were no entries.
    Please open bug report and attach yast logs from this system (/sbin/save_y2logs); mention bug number here. I assume you did have menu entries before update? Having "efibootmgr -v" output immediately before update would be helpful.

  9. #19

    Default Re: UEFI Boot Entry Disappeared After Updates?

    Besides the comprehensive explanation given in this thread, you can have a look here too:
    http://www.rodsbooks.com/linux-uefi/

  10. #20

    Default Re: UEFI Boot Entry Disappeared After Updates?

    Quote Originally Posted by arvidjaar View Post
    Please open bug report and attach yast logs from this system (/sbin/save_y2logs); mention bug number here. I assume you did have menu entries before update? Having "efibootmgr -v" output immediately before update would be helpful.
    https://bugzilla.novell.com/show_bug.cgi?id=887066 (uploaded that y2logs on the bug report)

    Here's my efibootmgr -v output right after openSUSE 13.1 install:
    Code:
    BootCurrent: 0000
    Timeout: 1 seconds
    BootOrder: 0000
    Boot0000* opensuse      HD(1,800,4e000,d44b2e19-8e12-4b50-bc4b-fba770312da4)File(\EFI\opensuse\grubx64.efi)
    And here it is after installing all 508 updates (as of today):
    Code:
    BootCurrent: 0000
    Timeout: 1 seconds
    BootOrder: 0000
    And here it is after running update-bootloader --reinit:
    Code:
    BootCurrent: 0000
    Timeout: 1 seconds
    BootOrder: 0000,0000
    Boot0000* opensuse      HD(1,800,4e000,d44b2e19-8e12-4b50-bc4b-fba770312da4)File(\EFI\opensuse\grubx64.efi)

Page 2 of 2 FirstFirst 12

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
  •