Im going to, If not I may just say screw it and go windows on this machine, Since Im on an NVME ssd and rather not keep fooling around with OS problems. Hate to ask but do you know of any good guides (along side the arch wiki) to install systemd-boot?
Don’t know where you got that grub-install command. The wiki states:
grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=GRUB
In your script you’re not telling the installer where to install.
Also - what is the partition filesystem that the /boot directory resides in?
If I’m not wrong you should have replaced “esp” with
Your mount for the EFI seems wierd too. I think you wanted:
mount /dev/nvme0n1p1 /mnt/boot/EFI
You just mounted a partition to “/mnt” and haven’t chrooted into the system yet so your boot partition resides in “/mnt/boot”