On 2023-10-09 16:53, Wolfgang Rosenauer wrote:
Am 09.10.23 um 16:38 schrieb Andrei Borzenkov:
...
Your openSUSE bootloader was removed
./EFI/opensuse: total 0
So you need to reinstall it.
Tried it pretty much like described here: https://en.opensuse.org/SDB:BTRFS#How_to_manually_re-install_grub_on_opensus...
But not only ran update-bootloader but also ran yast2 bootloader where settings looked about right and confirmed it.
Now there is EFI/opensuse/grub/grubx64.efi (only that)
But I still cannot boot from there.
What else to do in addition to "reinstall the bootloader"?
What I do is: I start the same as in that web page, except that as I don't use btrfs it is far easier. When I get to the section in "Change root and install grub", do that chroot, then: Edit in /etc/default/grub the line GRUB_DISTRIBUTOR=... and write something appropriate that is not "opensuse". For instance: GRUB_DISTRIBUTOR=Tumbleweed I have GRUB_DISTRIBUTOR=opensuse_main (I had trouble with "-" and uppercases) Run grub2-mkconfig -o /boot/grub2/grub.cfg Notice that not all chars are valid, it depends on the BIOS. No knowing which are invalid. Tell tale are boot problems, or that the name doesn't appear after booting in command "efibootmgr" after booting. This name will appear as tittle in the Grub menu. The purpose of this is that openSUSE uses always the same name for all installations and the overwrite one another. This name will also be the name of the directory in /boot/efi/EFI/whatever. So if something overwrites "opensuse", your boot will no longer be there, but in some other directory. If you have multiboot with openSUSE, this is crucial. Second step start yast in _text_ mode (call "yast" in xterm, konsole, etc). Go to "System"/"Boot Loader" Check that all things look correct, then on tab "Bootloader Options" change the timeout one second up or down. The side effect of this tiny change is that all files are written to destination on accept. Cross your fingers, light a candle, burn some scented pasta while you dance three times, accept and reboot. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.5 (Laicolasse))