boot-repair-4ppa2074 [20240827_1613] ============================= Boot Repair Summary ============================== ping: google.com: Name or service not known 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 modprobe: FATAL: Module efivars not found in directory /lib/modules/5.15.0-76-generic chroot /mnt/boot-sav/sda2 modprobe efivars chroot /mnt/boot-sav/sda2 efibootmgr -v before grub install BootCurrent: 0001 Timeout: 0 seconds BootOrder: 2002,2001,2003 Boot0000* Unknown Device: HD(1,GPT,e02844e8-66a1-4f0d-abe3-a3451a765c0b,0x800,0x219800)/File(EFIubuntushimx64.efi) File(.䍒) dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 98 21 00 00 00 00 00 e8 44 28 e0 a1 66 0d 4f ab e3 a3 45 1a 76 5c 0b 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 75 00 62 00 75 00 6e 00 74 00 75 00 5c 00 73 00 68 00 69 00 6d 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00 data: 52 43 Boot0001* ATAPI CDROM: Slimtype DVD A DA8AESH PciRoot(0x0)/Pci(0x13,0x0)/Sata(1,0,0)/CDROM(1,0x8f,0x2130)RC dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 13 / 03 12 0a 00 01 00 00 00 00 00 / 04 02 18 00 01 00 00 00 8f 00 00 00 00 00 00 00 30 21 00 00 00 00 00 00 / 7f ff 04 00 data: 52 43 Boot0002* Unknown Device: FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)5243a695de30 dp: 04 07 14 00 67 d5 81 a8 b0 6c ee 4e 84 35 2e 72 d3 3e 45 b5 / 04 06 14 00 b7 d6 7a c5 15 05 a8 40 9d 21 55 16 52 85 4e 37 / 7f ff 04 00 data: 52 43 a6 95 de 30 Boot0004* Unknown Device: HD(1,GPT,ed9d35e1-f81d-4c33-b762-18a263b10ff4,0x800,0x219800)/File(EFIubuntushimx64.efi) File(.䍒) dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 98 21 00 00 00 00 00 e1 35 9d ed 1d f8 33 4c b7 62 18 a2 63 b1 0f f4 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 75 00 62 00 75 00 6e 00 74 00 75 00 5c 00 73 00 68 00 69 00 6d 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00 data: 52 43 Boot0005* Unknown Device: HD(1,GPT,e02844e8-66a1-4f0d-abe3-a3451a765c0b,0x800,0x219800)/File(EFIubuntushimx64.efi) File(.䍒) dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 98 21 00 00 00 00 00 e8 44 28 e0 a1 66 0d 4f ab e3 a3 45 1a 76 5c 0b 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 75 00 62 00 75 00 6e 00 74 00 75 00 5c 00 73 00 68 00 69 00 6d 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00 data: 52 43 Boot2001* EFI USB Device RC dp: 7f ff 04 00 data: 52 43 Boot2002* EFI DVD/CDROM RC dp: 7f ff 04 00 data: 52 43 Boot2003* EFI Network RC dp: 7f ff 04 00 data: 52 43 chroot /mnt/boot-sav/sda2 uname -r 5.15.0-76-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 after grub install BootCurrent: 0001 Timeout: 0 seconds BootOrder: 2002,2001,2003 Boot0000* Unknown Device: HD(1,GPT,e02844e8-66a1-4f0d-abe3-a3451a765c0b,0x800,0x219800)/File(EFIubuntushimx64.efi) File(.䍒) dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 98 21 00 00 00 00 00 e8 44 28 e0 a1 66 0d 4f ab e3 a3 45 1a 76 5c 0b 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 75 00 62 00 75 00 6e 00 74 00 75 00 5c 00 73 00 68 00 69 00 6d 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00 data: 52 43 Boot0001* ATAPI CDROM: Slimtype DVD A DA8AESH PciRoot(0x0)/Pci(0x13,0x0)/Sata(1,0,0)/CDROM(1,0x8f,0x2130)RC dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 00 13 / 03 12 0a 00 01 00 00 00 00 00 / 04 02 18 00 01 00 00 00 8f 00 00 00 00 00 00 00 30 21 00 00 00 00 00 00 / 7f ff 04 00 data: 52 43 Boot0002* Unknown Device: FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)5243a695de30 dp: 04 07 14 00 67 d5 81 a8 b0 6c ee 4e 84 35 2e 72 d3 3e 45 b5 / 04 06 14 00 b7 d6 7a c5 15 05 a8 40 9d 21 55 16 52 85 4e 37 / 7f ff 04 00 data: 52 43 a6 95 de 30 Boot0004* Unknown Device: HD(1,GPT,ed9d35e1-f81d-4c33-b762-18a263b10ff4,0x800,0x219800)/File(EFIubuntushimx64.efi) File(.䍒) dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 98 21 00 00 00 00 00 e1 35 9d ed 1d f8 33 4c b7 62 18 a2 63 b1 0f f4 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 75 00 62 00 75 00 6e 00 74 00 75 00 5c 00 73 00 68 00 69 00 6d 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00 data: 52 43 Boot0005* Unknown Device: HD(1,GPT,e02844e8-66a1-4f0d-abe3-a3451a765c0b,0x800,0x219800)/File(EFIubuntushimx64.efi) File(.䍒) dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 00 98 21 00 00 00 00 00 e8 44 28 e0 a1 66 0d 4f ab e3 a3 45 1a 76 5c 0b 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 75 00 62 00 75 00 6e 00 74 00 75 00 5c 00 73 00 68 00 69 00 6d 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00 data: 52 43 Boot2001* EFI USB Device RC dp: 7f ff 04 00 data: 52 43 Boot2002* EFI DVD/CDROM RC dp: 7f ff 04 00 data: 52 43 Boot2003* EFI Network RC dp: 7f ff 04 00 data: 52 43 Warning: NVram was not modified. chroot /mnt/boot-sav/sda2 update-grub Sourcing file `/etc/default/grub' Found linux image: /boot/vmlinuz-6.8.0-41-generic Found initrd image: /boot/initrd.img-6.8.0-41-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. You can now reboot your computer. Please do not forget to make your UEFI firmware boot on the Ubuntu 24.04 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 LTS Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub ================================ 1 OS detected ================================= OS#1: Ubuntu 24.04 LTS on sda2 ================================ Host/Hardware ================================= CPU architecture: 64-bit Video: Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller from Intel Corporation Live-session OS is Linuxmint 64-bit (Linux Mint 21.2, victoria, x86_64) ===================================== UEFI ===================================== BIOS/UEFI firmware: V1.20(0.0) from Insyde Corp. The firmware is EFI-compatible, and is set in EFI-mode for this live-session. SecureBoot disabled (confirmed by mokutil). BootCurrent: 0001 Timeout: 0 seconds BootOrder: 2002,2001,2003 Boot0000* Unknown Device: HD(1,GPT,e02844e8-66a1-4f0d-abe3-a3451a765c0b,0x800,0x219800)/File(\EFI\ubuntu\shimx64.efi)RC Boot0001* ATAPI CDROM: Slimtype DVD A DA8AESH PciRoot(0x0)/Pci(0x13,0x0)/Sata(1,0,0)/CDROM(1,0x8f,0x2130)RC Boot0002* Unknown Device: FvVol(a881d567-6cb0-4eee-8435-2e72d33e45b5)/FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)RC...0 Boot0004* Unknown Device: HD(1,GPT,ed9d35e1-f81d-4c33-b762-18a263b10ff4,0x800,0x219800)/File(\EFI\ubuntu\shimx64.efi)RC Boot0005* Unknown Device: HD(1,GPT,e02844e8-66a1-4f0d-abe3-a3451a765c0b,0x800,0x219800)/File(\EFI\ubuntu\shimx64.efi)RC Boot2001* EFI USB Device RC Boot2002* EFI DVD/CDROM RC Boot2003* EFI Network RC 07e25dcaf57c776875f78fa36827c58e sda1/BOOT/bkpbootx64.efi 07e25dcaf57c776875f78fa36827c58e sda1/BOOT/bootx64.efi 39bc76ff6662f4fbe9aa116e4c997b41 sda1/BOOT/fbx64.efi 4ba5a5aad43c197e9fb58b76b404d287 sda1/BOOT/mmx64.efi 66f69798ad23240e43b7ba0044a914c4 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 sda2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot 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: 2D491FA1-B2BC-4223-8041-5DA859006AA8 Start End Sectors Size Type sda1 2048 2203647 2201600 1G EFI System sda2 2203648 976771071 974567424 464.7G Linux filesystem parted -lm (filtered): _________________________________________________________ sda:500GB:scsi:512:4096:gpt:ATA TOSHIBA MQ01ABF0:; 1:1049kB:1128MB:1127MB:fat32::boot, esp; 2:1128MB:500GB:499GB:ext4::; blkid (filtered): ______________________________________________________________ NAME FSTYPE UUID PARTUUID LABEL PARTLABEL sda ├─sda1 vfat 8E89-FC92 e02844e8-66a1-4f0d-abe3-a3451a765c0b └─sda2 ext4 df5faa7d-6a82-4403-80c5-f64a50058877 4d269bc8-9475-4c54-8006-32367e11daa9 Mount points (filtered): _______________________________________________________ Avail Use% Mounted on /dev/sda1 1G 1% /mnt/boot-sav/sda1 /dev/sda2 424.3G 2% /mnt/boot-sav/sda2 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 ===================== sda1/efi/ubuntu/grub.cfg (filtered) ====================== search.fs_uuid df5faa7d-6a82-4403-80c5-f64a50058877 root hd0,gpt2 set prefix=($root)'/boot/grub' configfile $prefix/grub.cfg ====================== sda2/boot/grub/grub.cfg (filtered) ====================== Ubuntu df5faa7d-6a82-4403-80c5-f64a50058877 ### 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/df5faa7d-6a82-4403-80c5-f64a50058877 / ext4 defaults 0 1 # /boot/efi was on /dev/sda1 during curtin installation /swap.img none swap sw 0 0 UUID=8E89-FC92 /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) 303.304954529 = 325.671215104 boot/grub/grub.cfg 1 158.994388580 = 170.718924800 boot/vmlinuz 1 158.994388580 = 170.718924800 boot/vmlinuz-6.8.0-41-generic 1 158.994388580 = 170.718924800 boot/vmlinuz.old 1 157.971321106 = 169.620414464 boot/initrd.img 2 157.971321106 = 169.620414464 boot/initrd.img-6.8.0-41-generic 2 157.971321106 = 169.620414464 boot/initrd.img.old 2 ===================== sda2: ls -l /etc/grub.d/ (filtered) ====================== -rwxr-xr-x 1 root root 18133 Apr 4 10:12 10_linux -rwxr-xr-x 1 root root 43202 Apr 4 10:12 10_linux_zfs -rwxr-xr-x 1 root root 14513 Apr 4 10:12 20_linux_xen -rwxr-xr-x 1 root root 786 Apr 4 10:12 25_bli -rwxr-xr-x 1 root root 13120 Apr 4 10:12 30_os-prober -rwxr-xr-x 1 root root 1174 Apr 4 10:12 30_uefi-firmware -rwxr-xr-x 1 root root 722 Apr 5 11:36 35_fwupd -rwxr-xr-x 1 root root 214 Apr 4 10:12 40_custom -rwxr-xr-x 1 root root 215 Apr 4 10:12 41_custom sprunge.us ko () paste.ubuntu.com ko ()