Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- boot-repair-4ppa2081 [20250119_2220]
- ============================= Boot Repair Summary ==============================
- modprobe: FATAL: Module efivars not found in directory /lib/modules/6.8.0-38-generic
- Recommended repair: ____________________________________________________________
- The default repair of the Boot-Repair utility will purge (in order to fix packages) and 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
- chroot /mnt/boot-sav/sda2 apt-get -y update
- Purge the GRUB of /dev/sda2
- grub-efi available
- The following additional packages will be installed:
- grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
- grub2-common os-prober
- Suggested packages:
- multiboot-doc grub-emu xorriso desktop-base
- The following NEW packages will be installed:
- grub-common grub-efi grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
- grub2-common os-prober
- 0 upgraded, 7 newly installed, 0 to remove and 334 not upgraded.
- DEBCHECK debOK, grub-efi
- DEBCHECK debOK
- Then type: sudo chroot "/mnt/boot-sav/sda2" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda2" apt-get install -fynsudo chroot "/mnt/boot-sav/sda2" apt-get install -y grub-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.1
- modprobe: FATAL: Module efivars not found in directory /lib/modules/6.8.0-38-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-38-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 (Linuxmint not found in efibootmgr).
- chroot /mnt/boot-sav/sda2 update-grub
- Sourcing file `/etc/default/grub'
- Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
- Found linux image: /boot/vmlinuz-6.8.0-38-generic
- Found initrd image: /boot/initrd.img-6.8.0-38-generic
- 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 Linux Mint 22 Wilma (22) 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: Linux Mint 22
- Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
- sdb: ___________________________________________________________________________
- File system: iso9660
- Boot sector type: Unknown
- Boot sector info:
- 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): Linux Mint 22 Wilma (22) on sda2
- ================================ Host/Hardware =================================
- CPU architecture: 64-bit
- Video: HD Graphics 5500 from Intel Corporation
- Live-session OS is Linuxmint 64-bit (Linux Mint 22, wilma, x86_64)
- ===================================== UEFI =====================================
- BIOS/UEFI firmware: J5ET64WW (1.35 )(1.35) from LENOVO
- The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
- SecureBoot disabled (confirmed by mokutil).
- BootCurrent: 000D
- Timeout: 0 seconds
- BootOrder: 0014,000A,000D,0009,000B,000C,0008,0007,000E,0013
- Boot0000 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
- Boot0001 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
- Boot0002 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
- Boot0003 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
- Boot0004 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
- Boot0005 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
- Boot0006 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
- Boot0007* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
- Boot0008* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
- Boot0009* ATAPI CD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35401)
- Boot000A* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
- Boot000B* ATA HDD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
- Boot000C* ATA HDD2 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f602)
- Boot000D* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
- Boot000E* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
- Boot000F* IDER BOOT CDROM PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,1,0)
- Boot0010* IDER BOOT Floppy PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0)
- Boot0011* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
- Boot0012* ATAPI CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
- Boot0013* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
- Boot0014* Ubuntu HD(1,GPT,8931cc57-d1c8-47dd-ac97-309eafc8f092,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
- df697393036a90b6a84d524ce39ec945 sda1/BOOT/bkpbootx64.efi
- df697393036a90b6a84d524ce39ec945 sda1/BOOT/bootx64.efi
- 39bc76ff6662f4fbe9aa116e4c997b41 sda1/BOOT/fbx64.efi
- 4ba5a5aad43c197e9fb58b76b404d287 sda1/BOOT/mmx64.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, 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, 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: 465.76 GiB, 500107862016 bytes, 976773168 sectors
- Disk identifier: 489DFE0D-D3BE-468B-9F9F-3E136509DF19
- Start End Sectors Size Type
- sda1 2048 1050623 1048576 512M EFI System
- sda2 1050624 976771071 975720448 465.3G Linux filesystem
- Disk sdb: 7.65 GiB, 8210350080 bytes, 16035840 sectors
- Disk identifier: 0xb1a1dab8
- Boot Start End Sectors Size Id Type
- sdb1 * 2048 16035839 16033792 7.6G c W95 FAT32 (LBA)
- parted -lm (filtered): _________________________________________________________
- sda:500GB:scsi:512:4096:gpt:ATA ST500LM021-1KJ15:;
- 1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
- 2:538MB:500GB:500GB:ext4::;
- sdb:8210MB:scsi:512:512:msdos:hp v125w:;
- 1:1049kB:8210MB:8209MB:fat32::boot, lba;
- blkid (filtered): ______________________________________________________________
- NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
- sda
- ├─sda1 vfat 8B26-A8CE 8931cc57-d1c8-47dd-ac97-309eafc8f092 EFI System Partition
- └─sda2 ext4 92323a7f-4afd-4325-89bd-90a07b264e42 9ef9c6b5-8499-494c-b195-9435679023f0
- sdb iso9660 2024-07-21-12-46-00-00 Linux Mint 22 Cinnamon 64-bit
- └─sdb1 vfat B990-3DFC b1a1dab8-01 PINK - BOOT
- Mount points (filtered): _______________________________________________________
- Avail Use% Mounted on
- /dev/sda1 500.7M 2% /mnt/boot-sav/sda1
- /dev/sda2 424.4G 2% /mnt/boot-sav/sda2
- /dev/sdb1 627.9M 92% /cdrom
- efivarfs 40.6K 29% /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 vfat ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
- ===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
- search.fs_uuid 92323a7f-4afd-4325-89bd-90a07b264e42 root hd0,gpt2
- set prefix=($root)'/boot/grub'
- configfile $prefix/grub.cfg
- ====================== sda2/boot/grub/grub.cfg (filtered) ======================
- Ubuntu 92323a7f-4afd-4325-89bd-90a07b264e42
- ### END /etc/grub.d/30_os-prober ###
- UEFI Firmware Settings uefi-firmware
- ### 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=92323a7f-4afd-4325-89bd-90a07b264e42 / ext4 errors=remount-ro 0 1
- # /boot/efi was on /dev/sda1 during installation
- UUID=8B26-A8CE /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=`( . /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
- 5.671142578 = 6.089342976 boot/vmlinuz 1
- 5.671142578 = 6.089342976 boot/vmlinuz-6.8.0-38-generic 1
- 7.397144318 = 7.942623232 boot/initrd.img 2
- 7.397144318 = 7.942623232 boot/initrd.img-6.8.0-38-generic 2
- 7.397144318 = 7.942623232 boot/initrd.img.old 2
- ===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
- -rwxr-xr-x 1 root root 18133 Sep 11 13:15 10_linux
- -rwxr-xr-x 1 root root 43202 Sep 11 13:15 10_linux_zfs
- -rwxr-xr-x 1 root root 14513 Sep 11 13:15 20_linux_xen
- -rwxr-xr-x 1 root root 786 Sep 11 13:15 25_bli
- -rwxr-xr-x 1 root root 13120 Sep 11 13:15 30_os-prober
- -rwxr-xr-x 1 root root 1174 Sep 11 13:15 30_uefi-firmware
- -rwxr-xr-x 1 root root 214 Sep 11 13:15 40_custom
- -rwxr-xr-x 1 root root 215 Sep 11 13:15 41_custom
- sprunge.us ko ()
Advertisement
Add Comment
Please, Sign In to add comment