boot-repair-4ppa2088 [20260215_1441] ============================= Boot Repair Summary ============================== modprobe: FATAL: Module efivars not found in directory /lib/modules/6.8.0-41-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 /boot/efi added in sda2/fstab Mount /dev/sda1 on /mnt/boot-sav/sda2/boot/efi Unhide GRUB boot menu in sda2/etc/default/grub ===================== Reinstall the grub-efi of /dev/sda2 ====================== chroot /mnt/boot-sav/sda2 grub-install --version grub-install (GRUB) 2.12-1ubuntu7.3 modprobe: FATAL: Module efivars not found in directory /lib/modules/6.8.0-41-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-41-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.17.0-14-generic Found initrd image: /boot/initrd.img-6.17.0-14-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.1 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/mmx64.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.1 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.1 LTS on sda2 ================================ Host/Hardware ================================= CPU architecture: 64-bit Video: 2nd Generation Core Processor Family Integrated Graphics Controller from Intel Corporation Live-session OS is Ubuntu 64-bit (Ubuntu 24.04.1 LTS, noble, x86_64) ===================================== UEFI ===================================== BIOS/UEFI firmware: 9QKT37AUS(0.37) from LENOVO The firmware is EFI-compatible, and is set in EFI-mode for this live-session. SecureBoot disabled - This system doesn't support Secure Boot. BootCurrent: 0000 Timeout: 0 seconds BootOrder: 0000,0001,0006,0008,0005,0007 Boot0000* Hard Drive BBS(HD,,0x0)20555342204449534b20332e3020504d415000 Boot0001* Network Card BBS(Network,,0x0)5265616c74656b20505845204230322044303000 Boot0005* Ubuntu HD(1,GPT,3d211f56-83b2-4f51-8a43-536f1c125409,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi) Boot0006* CD/DVD Drive BBS(CDROM,,0x0)50303a20484c2d44542d53544456442d52414d20474837304e202020202000 Boot0007* UEFI: USB USB Hard Drive PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(2,0)/HD(2,GPT,eed3de8a-acd3-4541-ba17-9014c007d874,0xb8b5a0,0x27a0) Boot0008* Hard Drive BBS(HD,,0x0)50343a205354353030444d3030322d31424431343220202020202020202000 07e25dcaf57c776875f78fa36827c58e sda1/BOOT/bkpbootx64.efi 07e25dcaf57c776875f78fa36827c58e sda1/BOOT/bootx64.efi 39bc76ff6662f4fbe9aa116e4c997b41 sda1/BOOT/fbx64.efi 4ba5a5aad43c197e9fb58b76b404d287 sda1/BOOT/mmx64.efi 94c7467f956700d44c5b4dcd3967535c 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-bad-efi, 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: 465.76 GiB, 500107862016 bytes, 976773168 sectors Disk identifier: 2517A258-7B92-430D-8E2A-2BCCD3D254F2 Start End Sectors Size Type sda1 2048 2203647 2201600 1G EFI System sda2 2203648 976771071 974567424 464.7G Linux filesystem Disk sdb: 57.77 GiB, 62026416128 bytes, 121145344 sectors Disk identifier: EED3DE8A-ACD3-4541-BA15-9014C007D874 Start End Sectors Size Type sdb1 64 12105119 12105056 5.8G Microsoft basic data sdb2 12105120 12115263 10144 5M EFI System sdb3 12115264 12115863 600 300K Microsoft basic data sdb4 12115968 121143295 109027328 52G Linux filesystem parted -lm (filtered): _________________________________________________________ sda:500GB:scsi:512:4096:gpt:ATA ST500DM002-1BD14:; 1:1049kB:1128MB:1127MB:fat32::boot, esp; 2:1128MB:500GB:499GB:ext4::; sdb:62.0GB:scsi:512:512:gpt: USB DISK 3.0:; 1:32.8kB:6198MB:6198MB::ISO9660:hidden, msftdata; 2:6198MB:6203MB:5194kB::Appended2:boot, esp; 3:6203MB:6203MB:307kB::Gap1:hidden, msftdata; 4:6203MB:62.0GB:55.8GB:ext4::; blkid (filtered): ______________________________________________________________ NAME FSTYPE UUID PARTUUID LABEL PARTLABEL sda ├─sda1 vfat 4710-463F 6f669d25-bb62-418d-a25b-1bcde4a5d6ab └─sda2 ext4 96da8b70-54cb-438c-9590-b28436f4a68d f93c8eaa-4dca-4389-b3c4-7504b919f79b sdb iso9660 2024-08-27-16-23-26-00 Ubuntu 24.04.1 LTS amd64 ├─sdb1 iso9660 2024-08-27-16-23-26-00 eed3de8a-acd3-4541-ba14-9014c007d874 Ubuntu 24.04.1 LTS amd64 ISO9660 ├─sdb2 vfat 3C53-CAEB eed3de8a-acd3-4541-ba17-9014c007d874 ESP Appended2 ├─sdb3 eed3de8a-acd3-4541-ba16-9014c007d874 Gap1 └─sdb4 ext4 d835fb78-5553-42fb-b998-d498b5872f36 55933a4e-a266-4271-8475-16a38d901638 writable Mount points (filtered): _______________________________________________________ Avail Use% Mounted on /dev/sda1 1G 1% /mnt/boot-sav/sda1 /dev/sda2 423.5G 2% /mnt/boot-sav/sda2 /dev/sdb1 0 100% /cdrom efivarfs 0 96% /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 96da8b70-54cb-438c-9590-b28436f4a68d root hd0,gpt2 set prefix=($root)'/boot/grub' configfile $prefix/grub.cfg ====================== sda2/boot/grub/grub.cfg (filtered) ====================== Ubuntu 96da8b70-54cb-438c-9590-b28436f4a68d ### 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/96da8b70-54cb-438c-9590-b28436f4a68d / ext4 defaults 0 1 # /boot/efi was on /dev/sda1 during curtin installation /swap.img none swap sw 0 0 UUID=4710-463F /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 78.136680603 = 83.898621952 boot/vmlinuz 1 78.136680603 = 83.898621952 boot/vmlinuz-6.17.0-14-generic 1 78.136680603 = 83.898621952 boot/vmlinuz.old 1 387.775299072 = 416.370556928 boot/initrd.img 1 387.775299072 = 416.370556928 boot/initrd.img-6.17.0-14-generic 1 387.775299072 = 416.370556928 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