I have a Thinkpad X1 Lenovo on Windows which I want to convert to Linux. I have ubuntu-24.04.3-desktop-amd64.iso on a usb stick using Ventoy. I start the laptop, press F12, install Ubuntu with the default features. The laptop then restarts, I remove the usb stick, and then the laptop enters a boot loop with 'Reset system'. I have tried the grub2 mode and the following using chatgpt:
sudo mount /dev/nvme0n1p2 /mnt sudo mount /dev/nvme0n1p1 /mnt/boot/efi sudo mount --bind /dev /mnt/dev sudo mount --bind /proc /mnt/proc sudo mount --bind /sys /mnt/sys sudo chroot /mnt grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ubuntu --recheck update-grub efibootmgr -c -d /dev/nvme0n1 -p 1 -L "Ubuntu" -l '\EFI\ubuntu\grubx64.efi' I keep coming back to the boot loop and I am running out of ideas.
----- Added after comments: screenshots of the Setup panel
I have created a boot-repair summary, accessible at the following link:
https://paste.ubuntu.com/p/b2nQxQsHyX/ and the log for a boot-repair:
https://paste.ubuntu.com/p/sQrYtZb99r/ modprobe: FATAL: Module efivars not found in directory /lib/modules/6.14.0-27-generic 



