Code:
boot-repair-4ppa2075 [20240113_0030]
============================= Boot Repair Summary ==============================
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.2.0-26-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
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.06-2ubuntu7.2
modprobe: FATAL: Module efivars not found in directory /lib/modules/6.2.0-26-generic
chroot /mnt/boot-sav/sda2 modprobe efivars
chroot /mnt/boot-sav/sda2 efibootmgr -v before grub install
EFI variables are not supported on this system.
chroot /mnt/boot-sav/sda2 uname -r
6.2.0-26-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
EFI variables are not supported on this system.
Warning: NVram is locked (Ubuntu not found in efibootmgr).
chroot /mnt/boot-sav/sda2 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Found linux image: /boot/vmlinuz-6.2.0-39-generic
Found initrd image: /boot/initrd.img-6.2.0-39-generic
Found linux image: /boot/vmlinuz-6.2.0-37-generic
Found initrd image: /boot/initrd.img-6.2.0-37-generic
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 22.04.3 LTS entry (sda1/efi/ubuntu/grubx64.efi file) !
============================ Boot Info After Repair ============================
=> No boot loader is installed in the MBR of /dev/sda.
=> No boot loader is installed in the MBR of /dev/sdb.
=> No boot loader is installed in the MBR of /dev/sdc.
=> No boot loader is installed in the MBR of /dev/sdd.
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 22.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdc1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sdd1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sde: ___________________________________________________________________________
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
sde 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/sde: /dev/sde already mounted or mount point busy.
================================ 1 OS detected =================================
OS#1: Ubuntu 22.04.3 LTS on sda2
================================ Host/Hardware =================================
CPU architecture: 64-bit
Video: GK208B [GeForce GT 710] from NVIDIA Corporation
Live-session OS is Ubuntu 64-bit (Ubuntu 22.04.3 LTS, jammy, x86_64)
===================================== UEFI =====================================
BIOS/UEFI firmware: P1.10(5.17) from American Megatrends Inc.
The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
SecureBoot disabled (confirmed by mokutil).
BootCurrent: 0002
Timeout: 1 seconds
BootOrder: 0002,0001
Boot0001* ubuntu HD(1,GPT,bd0686e0-0be9-4701-8c97-d23439b37efd,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO
Boot0002* UEFI: TOSHIBA TOSHIBA USB DRV PMAP, Partition 2 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(2,GPT,f45e2fa1-c5a6-4d79-876d-c8245af921e0,0x95f864,0x2754)..BO
64349b3622c65f495a99dbf6102496e3 sda1/BOOT/bkpbootx64.efi
64349b3622c65f495a99dbf6102496e3 sda1/BOOT/bootx64.efi
a9c517741ac31962d7feb152948ad1ee sda1/BOOT/fbx64.efi
a660182adef313615746a665966d2ccc sda1/BOOT/mmx64.efi
a1da253696a304dce6b4668b70151c0e sda1/ubuntu/grubx64.efi
a660182adef313615746a665966d2ccc sda1/ubuntu/mmx64.efi
64349b3622c65f495a99dbf6102496e3 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
sdb : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdc : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
sdd : is-GPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-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-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sdb1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdc1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sdd1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, 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
sdb1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdc1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdd1 : isnotESP, part-has-no-fstab, 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
sdb1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdb
sdc1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdc
sdd1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sdd
fdisk -l (filtered): ___________________________________________________________
Disk sda: 223.57 GiB, 240057409536 bytes, 468862128 sectors
Disk identifier: F67B32DF-306B-4B7B-B8D3-EB99025AEC95
Start End Sectors Size Type
sda1 2048 1050623 1048576 512M EFI System
sda2 1050624 468860927 467810304 223.1G Linux filesystem
Disk sdb: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 8DFA5813-3BD3-49F1-BEEF-4F3B697026BF
Start End Sectors Size Type
sdb1 2048 234440703 234438656 111.8G Linux filesystem
Disk sdc: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 781288B8-D088-4C28-8D0D-44F603F4475A
Start End Sectors Size Type
sdc1 2048 234440703 234438656 111.8G Linux filesystem
Disk sdd: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 480BBA39-4051-4EDA-939B-28AEEC589F50
Start End Sectors Size Type
sdd1 2048 234440703 234438656 111.8G Linux filesystem
Disk sde: 14.44 GiB, 15506341888 bytes, 30285824 sectors
Disk identifier: F45E2FA1-C5A6-4D79-876F-C8245AF921E0
Start End Sectors Size Type
sde1 64 9828451 9828388 4.7G Microsoft basic data
sde2 9828452 9838519 10068 4.9M EFI System
sde3 9838520 9839119 600 300K Microsoft basic data
sde4 9842688 30285760 20443073 9.7G Linux filesystem
parted -lm (filtered): _________________________________________________________
sda:240GB:scsi:512:512:gpt:ATA INTEL SSDSC2KW24:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:240GB:240GB:ext4::;
sdb:120GB:scsi:512:512:gpt:ATA INTEL SSDSC2BW12:;
1:1049kB:120GB:120GB:ext4::;
sdc:120GB:scsi:512:512:gpt:ATA INTEL SSDSC2BW12:;
1:1049kB:120GB:120GB:ext4::;
sdd:120GB:scsi:512:512:gpt:ATA INTEL SSDSC2BW12:;
1:1049kB:120GB:120GB:ext4::;
sde:15.5GB:scsi:512:512:gpt:TOSHIBA TOSHIBA USB DRV:;
1:32.8kB:5032MB:5032MB::ISO9660:hidden, msftdata;
2:5032MB:5037MB:5155kB::Appended2:boot, esp;
3:5037MB:5038MB:307kB::Gap1:hidden, msftdata;
4:5039MB:15.5GB:10.5GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 89BB-BA8F bd0686e0-0be9-4701-8c97-d23439b37efd EFI System Partition
└─sda2 ext4 2d562fa8-4427-451c-b9d8-98cb7882012d c638e404-24b6-41be-a2ae-ffe02b4c1123
sdb
└─sdb1 ext4 827eac09-9086-4f4b-8239-26ccfe66a8e1 d3017330-9f67-467c-8d12-67c7434caea2
sdc
└─sdc1 ext4 6a0d5b2c-0102-42fa-9c73-bb80b421e1a7 e89b2561-1cea-4bb5-9353-1e041f2ab026
sdd
└─sdd1 ext4 8b6dc8bf-2418-4b2f-8df2-39837c95b47c 9981eccf-5e00-4f1a-afff-c84589e6b64e
sde iso9660 2023-08-08-01-19-05-00 Ubuntu 22.04.3 LTS amd64
├─sde1 iso9660 2023-08-08-01-19-05-00 f45e2fa1-c5a6-4d79-876e-c8245af921e0 Ubuntu 22.04.3 LTS amd64 ISO9660
├─sde2 vfat F7DB-4D56 f45e2fa1-c5a6-4d79-876d-c8245af921e0 ESP Appended2
├─sde3 f45e2fa1-c5a6-4d79-876c-c8245af921e0 Gap1
└─sde4 ext4 00e50e44-75db-43b0-9088-4d3e792e4e70 88c30865-84f7-784b-b35d-9a6085c25064 writable
Mount points (filtered): _______________________________________________________
Avail Use% Mounted on
/dev/sda1 504M 1% /mnt/boot-sav/sda1
/dev/sda2 64.8G 65% /mnt/boot-sav/sda2
/dev/sdb1 40.2G 58% /mnt/boot-sav/sdb1
/dev/sdc1 40.2G 58% /mnt/boot-sav/sdc1
/dev/sdd1 103.9G 0% /mnt/boot-sav/sdd1
/dev/sde1 0 100% /cdrom
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 ext4 rw,relatime
/dev/sdc1 ext4 rw,relatime
/dev/sdd1 ext4 rw,relatime
/dev/sde1 iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 2d562fa8-4427-451c-b9d8-98cb7882012d root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 2d562fa8-4427-451c-b9d8-98cb7882012d
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda2/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=2d562fa8-4427-451c-b9d8-98cb7882012d / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=89BB-BA8F /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
======================= sda2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
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
96.052886963 = 103.136002048 boot/vmlinuz 1
37.638824463 = 40.414380032 boot/vmlinuz-6.2.0-37-generic 1
96.052886963 = 103.136002048 boot/vmlinuz-6.2.0-39-generic 1
37.638824463 = 40.414380032 boot/vmlinuz.old 1
26.398101807 = 28.344745984 boot/initrd.img 3
39.230606079 = 42.123542528 boot/initrd.img-6.2.0-26-generic 3
39.750972748 = 42.682281984 boot/initrd.img-6.2.0-37-generic 4
26.398101807 = 28.344745984 boot/initrd.img-6.2.0-39-generic 3
39.750972748 = 42.682281984 boot/initrd.img.old 4
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18683 Dec 18 2022 10_linux
-rwxr-xr-x 1 root root 43031 Dec 18 2022 10_linux_zfs
-rwxr-xr-x 1 root root 14387 Dec 18 2022 20_linux_xen
-rwxr-xr-x 1 root root 13369 Dec 18 2022 30_os-prober
-rwxr-xr-x 1 root root 1372 Dec 18 2022 30_uefi-firmware
-rwxr-xr-x 1 root root 700 May 17 2023 35_fwupd
-rwxr-xr-x 1 root root 214 Dec 18 2022 40_custom
-rwxr-xr-x 1 root root 215 Dec 18 2022 41_custom
Bookmarks