After step 4

grub2-install /dev/sda        # put the correct boot logic

grub2-mkconfig -o /boot/grub2/grub.cfg   # find all the bootable partitions

exit

reboot


On 7/4/23 11:13, Larry Len Rainey wrote:

I use this to fix my non booting OpenSUSE

change the device to what you have - I have nvme so my device is /dev/nvme0n1

https://www.suse.com/support/kb/doc/?id=000016749

On 7/4/23 10:39, Carlos E. R. wrote:
On 2023-07-04 16:48, Andrei Borzenkov wrote:
On 04.07.2023 12:52, Wodel Youchi wrote:
Hi,

I did a new installation using Leap 15.5, I have a dual-boot system with windows, I am using EFI without secure-boot.
I had another linux distribution and I wanted to replace it with Leap.
The installation process seemed to go well until I rebooted and I was greeted by the grub shell.
mounting /boot/efi partition (which I did not format)
I compared the opensuse directory with the old linux directory and there was a huge difference.
In the opensuse directory there was on file GRUBX64.EFI and no grub.cfg, on the other hand the old linux efi directory was full of files.
Why is this happening

Because you do not use secure boot.

and how can I solve it?


Solve what? What exactly does not work?

«The installation process seemed to go well until I rebooted and I was greeted by the grub shell.»

:-)