Hello, I’m using Ubuntu 24.04.2 LTS for a while now on my Lenovo Thinkpad P50.
After installing Ledger Live on my desktop yesterday and running it for a short while, Ubuntu froze and a restart failed. My Thinkpad got stuck every time it tried to boot.
For this reason I ran my device via live USB and used boot-repair.
But after rebooting from the harddrive there was no change.
Please advise what else I can do to restore my Laptop.
Thank you so much in advance for your assistance!
I got this link & information:
boot-repair-4ppa2081 [20250310_1002]
============================= Boot Repair Summary ==============================
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.8.0-31-generic
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will reinstall the grub-efi of
sda2,
using the following options: sda1/boot/efi
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
mv /mnt/boot-sav/sda1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
Mount /dev/sda1 on /mnt/boot-sav/sda2/boot/efi
===================== Reinstall the grub-efi of /dev/sda2 ======================
chroot /mnt/boot-sav/sda2 grub-install --version
grub-install (GRUB) 2.12-1ubuntu7.1
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.8.0-31-generic
chroot /mnt/boot-sav/sda2 modprobe efivars
chroot /mnt/boot-sav/sda2 efibootmgr -v (filtered) before grub install
EFI variables are not supported on this system.
error trace:
chroot /mnt/boot-sav/sda2 uname -r
6.8.0-31-generic
chroot /mnt/boot-sav/sda2 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
df /dev/sda1
mv /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/sda2/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi
chroot /mnt/boot-sav/sda2 grub-install --efi-directory=/boot/efi --target=x86_64-efi
Installing for x86_64-efi platform.
grub-install: warning: EFI variables cannot be set on this system.
grub-install: warning: You will have to complete the GRUB setup manually.
Installation finished. No error reported.
chroot /mnt/boot-sav/sda2 efibootmgr -v (filtered) after grub install
EFI variables are not supported on this system.
error trace:
Warning: NVram is locked (Ubuntu not found in efibootmgr).
chroot /mnt/boot-sav/sda2 update-grub
Sourcing file `/etc/default/grub’
Found linux image: /boot/vmlinuz-6.11.0-19-generic
Found initrd image: /boot/initrd.img-6.11.0-19-generic
Found linux image: /boot/vmlinuz-6.11.0-17-generic
Found initrd image: /boot/initrd.img-6.11.0-17-generic
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Adding boot menu entry for UEFI Firmware Settings …
Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
Boot successfully repaired.
Locked-NVram detected. Please do not forget to make your UEFI firmware boot on the Ubuntu 24.04.2 LTS entry (sda1/efi/ubuntu/grubx64.efi file) !
============================ Boot Info After Repair ============================
=> No boot loader is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi
/efi/BOOT/fbx64.efi /efi/BOOT/grubx64.efi
/efi/BOOT/mmx64.efi /efi/ubuntu/fwupdx64.efi
/efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
/efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 24.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sdb and looks at sector 0 of the same hard drive for
core.img, but core.img can not be found at this
location.
Mounting failed: mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
dmesg(1) may have more information after failed mount system call.
================================ 1 OS detected =================================
OS#1 (linux): Ubuntu 24.04.2 LTS on sda2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GM107GLM [Quadro M2000M] HD Graphics 530 simpledrmdrmfb from NVIDIA Corporation Intel Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 24.04 LTS, noble, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: N1EETA2W (1.75 )(1.75) from LENOVO
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 001F
Timeout: 2 seconds
BootOrder: 0001,0000,0010,0011,0012,0013,001F,0020,0017,0018,0019,001A,001B,001C,001D,001E,0002
Boot0000* Windows Boot Manager HD(1,GPT,b1dcd3ba-c10f-4354-aa89-a9df2bff196e,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000068000100000010000000040000007fff0400
Boot0001* Ubuntu HD(1,GPT,cb7a70df-803b-4170-b819-3391f67fda32,0x800,0x219800)/File(\EFI\ubuntu\shimx64.efi)
Boot0002* Linux-Firmware-Updater HD(1,GPT,cb7a70df-803b-4170-b819-3391f67fda32,0x800,0x219800)/File(\EFI\ubuntu\shimx64.efi) File(.\fwupdx64.efi)
Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0012 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0014 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0015 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0016 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0017* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0018* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0019* NVMe0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001A* NVMe1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a401)
Boot001B* ATA HDD2 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot001C* ATA HDD3 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f604)
Boot001D* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f603)
Boot001E* ATA HDD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f602)
Boot001F* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0020* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot0021* IDER BOOT CDROM PciRoot(0x0)/Pci(0x14,0x0)/USB(15,1)
Boot0022* IDER BOOT Floppy PciRoot(0x0)/Pci(0x14,0x0)/USB(15,0)
Boot0023* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0024* ATAPI CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
07e25dcaf57c776875f78fa36827c58e sda1/BOOT/bkpbootx64.efi
07e25dcaf57c776875f78fa36827c58e sda1/BOOT/bootx64.efi
39bc76ff6662f4fbe9aa116e4c997b41 sda1/BOOT/fbx64.efi
df697393036a90b6a84d524ce39ec945 sda1/BOOT/grubx64.efi
4ba5a5aad43c197e9fb58b76b404d287 sda1/BOOT/mmx64.efi
258e2247878acb0a2944052e26657e81 sda1/ubuntu/fwupdx64.efi
df697393036a90b6a84d524ce39ec945 sda1/ubuntu/grubx64.efi
4ba5a5aad43c197e9fb58b76b404d287 sda1/ubuntu/mmx64.efi
07e25dcaf57c776875f78fa36827c58e sda1/ubuntu/shimx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has—ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda2 : is-os, 64, apt-get, signed grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
Partitions info (2/3): _________________________________________________________
sda1 : is—ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, vfat
sda2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
Partitions info (3/3): _________________________________________________________
sda1 : not–sepboot, no—boot, part-has-no-fstab, not-sep-usr, no—usr, part-has-no-fstab, no–grub.d, sda
sda2 : not–sepboot, with-boot, fstab-without-boot, not-sep-usr, with–usr, fstab-without-usr, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 5DAF31D6-D3A3-414B-A8CE-6B04E4D2C29A
Start End Sectors Size Type
sda1 2048 2203647 2201600 1G EFI System
sda2 2203648 1000212479 998008832 475.9G Linux filesystem
Disk sdb: 58.59 GiB, 62914560000 bytes, 122880000 sectors
Disk identifier: 1CF7D054-8DB5-4194-971E-3C8665684807
Start End Sectors Size Type
sdb1 64 11931883 11931820 5.7G Microsoft basic data
sdb2 11931884 11942023 10140 5M EFI System
sdb3 11942024 11942623 600 300K Microsoft basic data
sdb4 11943936 122877951 110934016 52.9G Linux filesystem
parted -lm (filtered): _________________________________________________________
sda:512GB:scsi:512:512:gpt:ATA SanDisk SD9TN8W5:;
1:1049kB:1128MB:1127MB:fat32::boot, esp;
2:1128MB:512GB:511GB:ext4::;
sdb:62.9GB:scsi:512:512:gpt:Generic Flash Disk:;
1:32.8kB:6109MB:6109MB::ISO9660:hidden, msftdata;
2:6109MB:6114MB:5192kB::Appended2:boot, esp;
3:6114MB:6115MB:307kB::Gap1:hidden, msftdata;
4:6115MB:62.9GB:56.8GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 4183-DC1F cb7a70df-803b-4170-b819-3391f67fda32
└─sda2 ext4 8eeef9a3-293c-4904-901d-a42b482ff139 ac023e27-7455-48da-821b-98437730c93d
sdb iso9660 2024-04-24-11-29-09-00 Ubuntu 24.04 LTS amd64
├─sdb1 iso9660 2024-04-24-11-29-09-00 1cf7d054-8db5-4194-971f-3c8665684807 Ubuntu 24.04 LTS amd64 ISO9660
├─sdb2 vfat 37B6-BC6E 1cf7d054-8db5-4194-971c-3c8665684807 ESP Appended2
├─sdb3 1cf7d054-8db5-4194-971d-3c8665684807 Gap1
└─sdb4 ext4 2415ea46-482f-49d6-9115-24f454a9f1e8 f4b9bc34-9d26-4f55-89e9-465fd9a2a3c1 writable
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda1 1G 1% /mnt/boot-sav/sda1
/dev/sda2 399.3G 9% /mnt/boot-sav/sda2
/dev/sdb1 0 100% /cdrom
efivarfs 75.9K 47% /sys/firmware/efi/efivars
Mount options (filtered): ______________________________________________________
/dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
/dev/sda2 ext4 rw,relatime
/dev/sdb1 iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 8eeef9a3-293c-4904-901d-a42b482ff139 root hd0,gpt2
set prefix=($root)‘/boot/grub’
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 8eeef9a3-293c-4904-901d-a42b482ff139
END /etc/grub.d/30_os-prober
UEFI Firmware Settings uefi-firmware
END /etc/grub.d/30_uefi-firmware
========================== sda2/etc/fstab (filtered) ===========================
/ was on /dev/sda2 during curtin installation
/dev/disk/by-uuid/8eeef9a3-293c-4904-901d-a42b482ff139 / ext4 defaults 0 1
/boot/efi was on /dev/sda1 during curtin installation
/swap.img none swap sw 0 0
UUID=4183-DC1F /boot/efi vfat defaults 0 1
======================= sda2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu
GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash”
GRUB_CMDLINE_LINUX=“”
GRUB_DISABLE_OS_PROBER=false
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
139.783805847 = 150.091718656 boot/vmlinuz 1
27.268192291 = 29.278998528 boot/vmlinuz-6.11.0-17-generic 2
139.783805847 = 150.091718656 boot/vmlinuz-6.11.0-19-generic 1
27.268192291 = 29.278998528 boot/vmlinuz.old 2
25.535976410 = 27.419045888 boot/initrd.img 1
406.669162750 = 436.657688576 boot/initrd.img-6.11.0-17-generic 1
25.535976410 = 27.419045888 boot/initrd.img-6.11.0-19-generic 1
9.572307587 = 10.278187008 boot/initrd.img-6.8.0-31-generic 1
406.669162750 = 436.657688576 boot/initrd.img.old 1
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18133 Apr 4 2024 10_linux
-rwxr-xr-x 1 root root 43202 Apr 4 2024 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Apr 4 2024 20_linux_xen
-rwxr-xr-x 1 root root 786 Apr 4 2024 25_bli
-rwxr-xr-x 1 root root 13120 Apr 4 2024 30_os-prober
-rwxr-xr-x 1 root root 1174 Apr 4 2024 30_uefi-firmware
-rwxr-xr-x 1 root root 722 Apr 5 2024 35_fwupd
-rwxr-xr-x 1 root root 214 Apr 4 2024 40_custom
-rwxr-xr-x 1 root root 215 Apr 4 2024 41_custom