@arvidjaar I know that. I’ve posted the commands I used and I always chrooted before using grub2-mkconfig.
@jpachucki I’m even less of an expert so I don’t want to copy disk sectors to a pendrive if you say it’s risky. But I’ve used gdisk to check MBR/GRUB and I have:
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): DEC8563F-DC5E-45DF-BDF1-21388B1D7E25
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 3437 sectors (1.7 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 616447 300.0 MiB 2700 Basic data partition
2 616448 821247 100.0 MiB EF00 EFI system partition
3 821248 1083391 128.0 MiB 0C01 Microsoft reserved part
4 1083392 628226047 299.0 GiB 0700 Basic data partition
5 628226048 629147647 450.0 MiB 2700
6 629147648 633346047 2.0 GiB 8200 primary
7 633346048 717238271 40.0 GiB 0700 primary
8 717238272 1953523711 589.5 GiB 0700 primary
@ALL
Perhaps I do have MBR on the first partition and it’s booted, ignoring the EFI partition? Should I remove every partition but the Windows one? Because I think that the way of solving my problem is what @gogalthorp suggested. That I have to install grub2-efi from LiveCD as it’s only a few clicks and once fixed my other problem with Grub. But I have to fix these errors.
I’ve found this topic:
https://forums.opensuse.org/showthread.php/492342-13-1-Error-while-installing-GRUB2-EFI
…so perhaps I should manually change the grub.cfg file? What do you think?