although my win11 entry was left intact
:o Now I need to get my UEFI artix entry back
Thing is that I have 2nd hdd with legacy grub installed. Thus I could choose there to boot from my 1st hdd's artix partition. And then I tried
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=gruband
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grubresulting in
EFI variables are not supported on this system So what's the easiest way to back artix entry on my 1st hdd?
I would suggest trying some of these solutions from the Artix wiki:
https://wiki.artixlinux.org/Main/Troubleshooting
https://wiki.archlinux.org/title/GRUB#UEFI
Has some information about this.
Also you can add UEFI boot entries with efibootmgr. Touched on at the above link but more here
https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface#efibootmgr
Why are you re-installing the grub EFI bootloader?
Your UEFI firmware's entry to the EFI executable was wiped, not the executable itself
Go to your UEFI firmware's menu, I'm pretty sure there is an option to search EFI partitions for executables, you can add the grub EFI bootloader from there.
No, there is not. Unfortunately.
The only way I know to mess with Linux uefi is to install Linux first then Install windows.
sure thing.
That's why win11 was the first to install in my case.
Can you give us a list of all your block devices? do a lsblk -f
├─sda1 vfat FAT32 76EB-6981 36,6M 62% /boot/efi
├─sda2
├─sda3 ntfs 6004F48004F54A8C
└─sda4 ext4 1.0 54f2804c-800d-547b-bbfd-2442a8b16056 188G 56% /
sda3 - win11
sda4 - artix (the subject of topic)
Your UEFI entry was configured during Artix install, thus it can be reconfigured again. Try booting from Artix installation media, then chroot into your system as during the manual install, and run update-grub from there. This should update EFI variables.