0

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

enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here

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 
10
  • Just post the question here since it's most relevant here. No need to cross-post. Commented Sep 17 at 2:26
  • By "install Ubuntu with the default features" do you mean you chose to use all drive? i.e. erase everything? If so it should have created all the necessary partitions and just work... Commented Sep 17 at 8:12
  • And how does that "boot loop with 'Reset system'" looks like exactly? Isn't something from the original Windows? Commented Sep 17 at 10:33
  • thanks, I was hesitating between stack and unix OF, More information: I choose to install Ubuntu and erase the previous system. Once it is installed and asks for a reboot, the usb sticks is removed, the lenovo logo appears, and then I see "Reset system" on the top left of a black screen, and it boots again. I had tried with Ventoy, and now I tried using the dd command for a full bootable stick. Both result in a boot loop. Commented Sep 17 at 12:42
  • You should have checked (and do it anyway now) in UEFI settings > Boot menu and assure "Ubuntu" (Grub) is the 1st OS selection. Again, what you describe seems to be something from Windows. It shouldn't happen if you have a single drive and selected the option you say was selected but still it's worth checking. With more than one drive boot stanzas may persist in the original ESP. Commented Sep 17 at 13:16

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.