Results 1 to 4 of 4

Thread: zypper dup kills efi boot

  1. #1
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    3,297

    Default zypper dup kills efi boot

    The system has two efi boots:

    Code:
    hofkirchen:~ # efibootmgr 
    BootCurrent: 0000
    Timeout: 1 seconds
    BootOrder: 0000,0001
    Boot0000* opensuse
    Boot0001* opensuse.rescue
    hofkirchen:~ #
    Whenever zypper dup updates the kernel all entries get removed but Boot0000* opensuse. Any idea how to preserve existing boots?
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,676
    Blog Entries
    3

    Default Re: zypper dup kills efi boot

    I suppose you can report that as a bug.

    I think when grub2-efi is reinstalled, the script that is used removes any boot entries with "opensuse", and that's what's causing the problem. Whether it should do that -- probably not.

    I am using "opensuse" and "betasuse" for my two entries. And "betasuse" is not being removed, so that works for me as a backup boot entry. I have not needed to use that backup for a long time. Hmm, maybe I should test it more often than I do.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  3. #3
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    3,297

    Default Re: zypper dup kills efi boot

    Quote Originally Posted by nrickert View Post
    I suppose you can report that as a bug.

    I think when grub2-efi is reinstalled, the script that is used removes any boot entries with "opensuse", and that's what's causing the problem. Whether it should do that -- probably not.
    Who is to blame? pbl?

    I am using "opensuse" and "betasuse" for my two entries. And "betasuse" is not being removed, so that works for me as a backup boot entry. I have not needed to use that backup for a long time. Hmm, maybe I should test it more often than I do.
    Now I use:
    Code:
    hofkirchen:~ # efibootmgr
    BootCurrent: 0000
    Timeout: 1 seconds
    BootOrder: 0002,0001,0000
    Boot0000* default
    Boot0001* backup
    Boot0002* opensuse
    hofkirchen:~ #
    Yast > Boot loader now refreshes opensuse, but keeps off from default and backup. Resetting boot order is less error prone than creating the boots again.
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,676
    Blog Entries
    3

    Default Re: zypper dup kills efi boot

    Yes, using "backup" as your alternative name will avoid the issue.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

Posting Permissions

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