On vendredi, 9 février 2018 10.38:38 h CET Peter Suetterlin wrote:
Andrei Borzenkov wrote:
Andrei, you surely know much more about the boot setup and dependencies:
Thinking about the issue, it seems the installation has not touched the other entry for debian (although that disk/directory was not available), but it has deleted/overwritten the existing entry for opensuse.
I wonder if that should be regarded as error? Am I only allowed one opensuse install per computer? Shouldn't the installer always create only new entries without touching any older ones?
Currently there is no provision for it. It will derive location on ESP and menu title from distributor name which defaults to openSUSE. You can go to bootloader settings on summary screen and change distributor name so that the first word is different, like openSUSE-test or similar.
It should not depend on the name, as this is (only) a label. I had to specify the exact entry *number* to make changes. efibootmgr even has an option to remove double entries, which implies you can (easily?) create them.
Just did that as a test: woodstock:~ # efibootmgr -v BootCurrent: 0002 Timeout: 2 seconds BootOrder: 0004,0003,0002,0001,001A,001B,001C,0017,0018,0019,001D,0022 Boot0001* opensuse-secureboot HD(2,GPT,f8779391-5543-430b-9d17-ef59de3f598c,0xa000800,0xfa000)/File(\EFI\ opensuse\shim.efi) Boot0002* opensuse HD(1,GPT,2bfd8cb4-2c72-4fce-b8d9-3dea01dd9c75,0x800,0x100000)/File(\EFI\ope nsuse\grubx64.efi) Boot0003* debian HD(1,GPT,2bfd8cb4-2c72-4fce-b8d9-3dea01dd9c75,0x800,0x100000)/File(\EFI\deb ian\grubx64.efi) Boot0004* debian HD(1,GPT,2bfd8cb4-2c72-4fce-b8d9-3dea01dd9c75,0x800,0x100000)/File(\EFI\deb ian\grubx64.efi) ....
In doubt I'd say it is preferable to have a user scratch his head which of the two 'opensuse' entries is the right one, than removing the second without asking...
I guess You should be able to determine which by crossing information between blkid and efibootmgr blkid /dev/nvme0n1: PTUUID="08be79f4-879c-4830-ab8a-4f0472974f62" PTTYPE="gpt" /dev/nvme0n1p1: SEC_TYPE="msdos" UUID="55EE-42B2" TYPE="vfat" PARTLABEL="primary" PARTUUID="cfe806b5-42f1-4acb-b521-38cdcb4801e0" efibootmgr -v BootCurrent: 0001 Timeout: 1 seconds BootOrder: 0001,0002,0004,0005 Boot0000* opensuse HD(2,GPT,84209ec8-9191-4536-a2cc-f6dd1695458c, 0x1000,0x41800)/File(\EFI\opensuse\grubx64.efi) Boot0001* opensuse-secureboot HD(1,GPT,cfe806b5-42f1-4acb- b521-38cdcb4801e0,0x800,0x4e000)/File(\EFI\opensuse\shim.efi) In my case cfe806b5-42f1-4acb-b521-38cdcb4801e0 is the uid of my efi partition and it seem that I can remove the Boot0000 :-) (the other one are bootable nic) -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch Bareos Partner, openSUSE Member, fsfe fellowship GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org