Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- boot-repair-4ppa2081 [20241104_2230]
- ============================= Boot Repair Summary ==============================
- User choice:
- Is there RAID on this computer? no
- BTRFS detected on nvme0n1p6
- ls /dev/nvme0n1p6:
- ---
- mount /dev/nvme0n1p6 /mnt/boot-sav/nvme0n1p6/
- MOUNTCODE=0
- ---
- os-prober before @ subvol mount:
- /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
- ---
- umount /mnt/boot-sav/nvme0n1p6
- ---
- mount -t btrfs -o subvol=@ /dev/nvme0n1p6 /mnt/boot-sav/nvme0n1p6/
- ---
- MOUNTCODE=0
- os-prober after @ subvol mount:
- /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
- /dev/nvme0n1p6:Linux Mint 22 Wilma (22):LinuxMint:linux
- ---
- BTRFS detected on nvme0n1p7
- ls /dev/nvme0n1p7:
- ---
- mount /dev/nvme0n1p7 /mnt/boot-sav/nvme0n1p7/
- MOUNTCODE=0
- ---
- os-prober before @ subvol mount:
- /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
- /dev/nvme0n1p6:Linux Mint 22 Wilma (22):LinuxMint:linux
- ---
- grub-probe: error: cannot find a GRUB drive for /dev/sda2. Check your device.map.
- grub-probe: error: cannot find a GRUB drive for /dev/sda2. Check your device.map.
- grub-probe: error: cannot find a GRUB drive for /dev/sda2. Check your device.map.
- grub-probe: error: cannot find a GRUB drive for /dev/sda2. Check your device.map.
- grub-probe: error: cannot find a GRUB drive for /dev/sda2. Check your device.map.
- 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 unsign) and reinstall the grub-efi of
- nvme0n1p6,
- using the following options: nvme0n1p1/boot/efi
- Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file
- Mount /dev/nvme0n1p1 on /mnt/boot-sav/nvme0n1p6/boot/efi
- chroot /mnt/boot-sav/nvme0n1p6 apt-get -y update
- Purge the GRUB of /dev/nvme0n1p6
- grub-efi available
- The following additional packages will be installed:
- grub-efi-amd64
- The following packages will be REMOVED:
- grub-gfxpayload-lists grub-pc
- The following NEW packages will be installed:
- grub-efi grub-efi-amd64
- 0 upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
- DEBCHECK debOK, grub-efi
- DEBCHECK debOK
- Please type: sudo chroot "/mnt/boot-sav/nvme0n1p6" dpkg --configure -ansudo chroot "/mnt/boot-sav/nvme0n1p6" apt-get install -fynsudo chroot "/mnt/boot-sav/nvme0n1p6" apt-get purge --allow-remove-essential -y grub-com*nsudo chroot "/mnt/boot-sav/nvme0n1p6" apt-get purge --allow-remove-essential -y grub2-com*nsudo chroot "/mnt/boot-sav/nvme0n1p6" apt-get purge --allow-remove-essential -y shim-signednsudo chroot "/mnt/boot-sav/nvme0n1p6" apt-get purge --allow-remove-essential -y grub-common:*nsudo chroot "/mnt/boot-sav/nvme0n1p6" apt-get purge --allow-remove-essential -y grub2-common:*n
- Then type: sudo chroot "/mnt/boot-sav/nvme0n1p6" apt-get install -y grub-efi
- Unhide GRUB boot menu in nvme0n1p6/etc/default/grub
- =================== Reinstall the grub-efi of /dev/nvme0n1p6 ===================
- chroot /mnt/boot-sav/nvme0n1p6 grub-install --version
- grub-install (GRUB) 2.12-1ubuntu7
- modprobe: FATAL: Module efivars not found in directory /lib/modules/6.8.0-38-generic
- chroot /mnt/boot-sav/nvme0n1p6 modprobe efivars
- chroot /mnt/boot-sav/nvme0n1p6 efibootmgr -v (filtered) before grub install
- EFI variables are not supported on this system.
- error trace:
- chroot /mnt/boot-sav/nvme0n1p6 uname -r
- 6.8.0-38-generic
- chroot /mnt/boot-sav/nvme0n1p6 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/nvme0n1p1
- mv /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/Boot/bkpbootx64.efi
- cp /mnt/boot-sav/nvme0n1p6/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/nvme0n1p6/boot/efi/EFI/Boot/bootx64.efi
- chroot /mnt/boot-sav/nvme0n1p6 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/nvme0n1p6 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/nvme0n1p6 update-grub
- Sourcing file `/etc/default/grub'
- Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
- Sourcing file `/etc/default/grub.d/60_mint-theme.cfg'
- /usr/sbin/grub-probe: error: failed to get canonical path of `/boot/grub/fonts/UbuntuMono16.pf2'.
- No path or device is specified.
- Usage: grub-probe [OPTION...] [OPTION]... [PATH|DEVICE]
- Try 'grub-probe --help' or 'grub-probe --usage' for more information.
- Boot successfully repaired.
- Locked-NVram detected. Please do not forget to make your UEFI firmware boot on the Linux Mint 22 Wilma (22) entry (nvme0n1p1/efi/ubuntu/grubx64.efi file) !
- ============================ Boot Info After Repair ============================
- => Windows is installed in the MBR of /dev/nvme0n1.
- => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
- the same hard drive for core.img. core.img is at this location and looks
- for (,2)/grub. It also embeds following components:
- modules
- ---------------------------------------------------------------------------
- offsetio extcmd macho elf file gettext boot bufio verifiers crypto
- terminal normal datetime date mmap drivemap blocklist archelp newc
- vga_text relocator video chain ntldr search_label search_fs_file
- search_fs_uuid search keylayouts at_keyboard pci usb usb_keyboard gcry_md5
- hashsum gcry_crc gzio xzio lzopio lspci fshelp ext2 xfs acpi reboot
- iso9660 gcry_sha1 div udf exfat font diskfilter raid6rec zstd btrfs ventoy
- read halt video_fb vbe linux linux16 test true sleep echo bitmap gfxterm
- bitmap_scale trig video_colors gfxmenu videotest videoinfo functional_test
- videotest_checksum video_cirrus video_bochs vga minicmd help configfile tr
- biosdisk disk ls tar zfs squash4 pbkdf2 gcry_sha512 password_pbkdf2
- all_video png jpeg part_gpt part_msdos fat ntfs loopback
- gfxterm_background procfs gfxterm_menu smbios
- ---------------------------------------------------------------------------
- nvme0n1p1: _____________________________________________________________________
- 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/fwupdx64.efi /efi/ubuntu/grubx64.efi
- /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
- /efi/ubuntu/grub.cfg
- /efi/Microsoft/Boot/SecureBootRecovery.efi
- /efi/Microsoft/Boot/bootmgfw.efi
- /efi/Microsoft/Boot/bootmgr.efi
- nvme0n1p5: _____________________________________________________________________
- File system: swap
- Boot sector type: -
- Boot sector info:
- nvme0n1p6: _____________________________________________________________________
- File system: btrfs
- Boot sector type: -
- Boot sector info:
- Operating System: Linux Mint 22
- Boot files: /etc/fstab /etc/default/grub
- nvme0n1p7: _____________________________________________________________________
- File system: btrfs
- Boot sector type: -
- Boot sector info:
- Operating System:
- Boot files:
- sda1: __________________________________________________________________________
- File system: exfat
- Boot sector type: -
- Boot sector info:
- Mounting failed: mount: /mnt/BootInfo/sda1: /dev/sda1 already mounted or mount point busy.
- dmesg(1) may have more information after failed mount system call.
- sda2: __________________________________________________________________________
- File system: iso9660
- Boot sector type: Unknown
- Boot sector info:
- Operating System:
- Boot files: /boot/grub/grub.cfg
- ================================ 1 OS detected =================================
- OS#1 (linux): Linux Mint 22 Wilma (22) on nvme0n1p6
- ================================ Host/Hardware =================================
- CPU architecture: 64-bit
- Video: TU116 [GeForce GTX 1660 SUPER] HD Graphics 530 from NVIDIA Corporation Intel Corporation
- Live-session OS is Linuxmint 64-bit (Linux Mint 22, wilma, x86_64)
- ===================================== UEFI =====================================
- BIOS/UEFI firmware: 2.30.0(2.30) from Dell Inc.
- The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
- SecureBoot disabled (confirmed by mokutil).
- BootCurrent: 0003
- Timeout: 0 seconds
- BootOrder: 0002,0000,0001,0003
- Boot0000* Windows Boot Manager HD(1,GPT,9026a27d-a45d-42fc-877d-cdf49003ae47,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d00000031000100000010000000040000007fff0400
- Boot0001* Linux Firmware Updater HD(1,GPT,9026a27d-a45d-42fc-877d-cdf49003ae47,0x800,0x32000)/File(\EFI\ubuntu\fwupdx64.efi)
- Boot0002* ubuntu HD(1,GPT,9026a27d-a45d-42fc-877d-cdf49003ae47,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
- Boot0003* UEFI: SanDisk Extreme 0001 PciRoot(0x0)/Pci(0x14,0x0)/USB(7,0)/USB(0,0)/HD(2,MBR,0xcc4f99cc,0x7730ab0,0x10000)0000424f
- 66f69798ad23240e43b7ba0044a914c4 nvme0n1p1/Boot/bkpbootx64.efi
- 66f69798ad23240e43b7ba0044a914c4 nvme0n1p1/Boot/bootx64.efi
- 39bc76ff6662f4fbe9aa116e4c997b41 nvme0n1p1/Boot/fbx64.efi
- 4ba5a5aad43c197e9fb58b76b404d287 nvme0n1p1/Boot/mmx64.efi
- d008780449d7affb8a84d3816b167108 nvme0n1p1/ubuntu/fwupdx64.efi
- 66f69798ad23240e43b7ba0044a914c4 nvme0n1p1/ubuntu/grubx64.efi
- 4ba5a5aad43c197e9fb58b76b404d287 nvme0n1p1/ubuntu/mmx64.efi
- 07e25dcaf57c776875f78fa36827c58e nvme0n1p1/ubuntu/shimx64.efi
- 23837e7f81b5b729c2cc673d3da56273 nvme0n1p1/Microsoft/Boot/SecureBootRecovery.efi
- e34c4135d75ce5708a2939554a087183 nvme0n1p1/Microsoft/Boot/bootmgfw.efi
- 3029d8cf512ca3d3dec4bf64c2d0d20c nvme0n1p1/Microsoft/Boot/bootmgr.efi
- ============================= Drive/Partition Info =============================
- Disks info: ____________________________________________________________________
- nvme0n1 : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
- sda : notGPT, no-BIOSboot, has-noESP, usb-disk, not-mmc, no-os, no-wind, 2048 sectors * 512 bytes
- Partitions info (1/3): _________________________________________________________
- nvme0n1p1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
- nvme0n1p6 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
- nvme0n1p7 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
- sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
- Partitions info (2/3): _________________________________________________________
- nvme0n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, vfat
- nvme0n1p6 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, btrfs
- nvme0n1p7 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, btrfs
- sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, exfat
- Partitions info (3/3): _________________________________________________________
- nvme0n1p1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
- nvme0n1p6 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, customized, nvme0n1
- nvme0n1p7 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
- sda1 : maybesepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
- fdisk -l (filtered): ___________________________________________________________
- Disk nvme0n1: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
- Disk identifier: 0A9EA85A-F9B5-4351-8315-8F14816D936C
- Start End Sectors Size Type
- nvme0n1p1 2048 206847 204800 100M EFI System
- nvme0n1p5 206848 134424575 134217728 64G Linux swap
- nvme0n1p6 134424576 671293439 536868864 256G Linux filesystem
- nvme0n1p7 671293440 3907028991 3235735552 1.5T Linux filesystem
- Disk sda: 59.63 GiB, 64023257088 bytes, 125045424 sectors
- Disk identifier: 0xcc4f99cc
- Boot Start End Sectors Size Id Type
- sda1 * 2048 124979887 124977840 59.6G 7 HPFS/NTFS/exFAT
- sda2 124979888 125045423 65536 32M ef EFI (FAT-12/16/32)
- Disk mapper/ventoy: 2.71 GiB, 2907832320 bytes, 5679360 sectors
- Disk identifier: 0x712697c0
- Boot Start End Sectors Size Id Type
- mapper/ventoy-part1 * 64 5679359 5679296 2.7G 0 Empty
- mapper/ventoy-part2 8644 18883 10240 5M ef EFI (FAT-12/16/32)
- parted -lm (filtered): _________________________________________________________
- sda:64.0GB:scsi:512:512:msdos:SanDisk Extreme:;
- 1:1049kB:64.0GB:64.0GB:::boot;
- 2:64.0GB:64.0GB:33.6MB:fat16::esp;
- mapper/ventoy:2908MB:dm:512:512:unknown:Linux device-mapper (linear):;
- nvme0n1:2000GB:nvme:512:512:gpt:CT2000P5PSSD8:;
- 1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
- 5:106MB:68.8GB:68.7GB:linux-swap(v1)::swap;
- 6:68.8GB:344GB:275GB:btrfs::;
- 7:344GB:2000GB:1657GB:btrfs::;
- blkid (filtered): ______________________________________________________________
- NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
- sda
- ├─sda1 exfat 4E21-0000 cc4f99cc-01 Ventoy
- │ └─ventoy
- └─sda2
- nvme0n1
- ├─nvme0n1p1 vfat 18A9-E4E1 9026a27d-a45d-42fc-877d-cdf49003ae47 EFI system partition
- ├─nvme0n1p5 swap e3ff5f63-72ca-400d-b51c-bf6804ed492a 34416be4-965c-42e1-b70b-d1ec6f4b177a
- ├─nvme0n1p6 btrfs 58b00ce1-ac05-48a6-89d1-3cd9ae1f4598 79e04ff6-4599-4efa-9fa2-e196e91d18e1
- └─nvme0n1p7 btrfs 2c8906e3-a956-43c7-8a60-1c5c24b1c120 34489189-2a53-4b04-853b-21220d867819
- Mount points (filtered): _______________________________________________________
- Avail Use% Mounted on
- /dev/mapper/ventoy 0 100% /cdrom
- /dev/nvme0n1p1 37.9M 60% /mnt/boot-sav/nvme0n1p1
- /dev/nvme0n1p6[/@] 204.7G 18% /mnt/boot-sav/nvme0n1p6
- /dev/nvme0n1p7 1.3T 12% /mnt/boot-sav/nvme0n1p7
- efivarfs 126.1K 49% /sys/firmware/efi/efivars
- Mount options (filtered): ______________________________________________________
- /dev/mapper/ventoy iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
- /dev/nvme0n1p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
- /dev/nvme0n1p7 btrfs rw,relatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/
- ============================== ls -R /dev/mapper/ ==============================
- /dev/mapper:
- control
- ventoy
- =================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
- search.fs_uuid 58b00ce1-ac05-48a6-89d1-3cd9ae1f4598 root
- set prefix=($root)'/@/boot/grub'
- configfile $prefix/grub.cfg
- ======================== nvme0n1p6/etc/fstab (filtered) ========================
- # <file system> <mount point> <type> <options> <dump> <pass>
- # / was on /dev/nvme0n1p6 during installation
- UUID=58b00ce1-ac05-48a6-89d1-3cd9ae1f4598 / btrfs defaults,subvol=@ 0 1
- # /boot/efi was on /dev/nvme0n1p1 during installation
- UUID=18A9-E4E1 /boot/efi vfat umask=0077 0 1
- # /home was on /dev/nvme0n1p7 during installation
- UUID=2c8906e3-a956-43c7-8a60-1c5c24b1c120 /home btrfs defaults,subvol=@home 0 2
- # swap was on /dev/nvme0n1p5 during installation
- UUID=e3ff5f63-72ca-400d-b51c-bf6804ed492a none swap sw 0 0
- //192.168.120.3/docker_backups /mnt/docker_backups cifs credentials=/root/smbcredentials,uid=1000,gid=1000,x-gvfs-show,x-gvfs-name=DockerBackups 0 0
- //192.168.120.3/ISOs /mnt/isos cifs credentials=/root/smbcredentials,uid=1000,gid=1000,x-gvfs-show,x-gvfs-name=ISOs 0 0
- //192.168.120.3/Medias /mnt/medias cifs credentials=/root/smbcredentials,uid=1000,gid=1000,x-gvfs-show,x-gvfs-name=Medias 0 0
- //192.168.120.3/Memories /mnt/memories cifs credentials=/root/smbcredentials,uid=1000,gid=1000,x-gvfs-show,x-gvfs-name=Memories 0 0
- //192.168.120.3/syncthing /mnt/syncthing cifs credentials=/root/smbcredentials,uid=1000,gid=1000,x-gvfs-show,x-gvfs-name=Syncthing 0 0
- //192.168.120.3/vmoriaux /mnt/vmoriaux cifs credentials=/root/smbcredentials,uid=1000,gid=1000,x-gvfs-show,x-gvfs-name=vmoriaux 0 0
- //192.168.120.1/Disque040dur /mnt/freebox cifs guest,uid=1000,gid=1000,x-gvfs-show,x-gvfs-name=Freebox 0 0
- ==================== nvme0n1p6/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
- ================= nvme0n1p6: Location of files loaded by Grub ==================
- GiB - GB File Fragment(s)
- 139.946922302 = 150.266863616 boot/vmlinuz 1
- 135.379291534 = 145.362407424 boot/vmlinuz-6.8.0-47-generic 1
- 139.946922302 = 150.266863616 boot/vmlinuz-6.8.0-48-generic 1
- 135.379291534 = 145.362407424 boot/vmlinuz.old 1
- 166.939270020 = 179.249676288 boot/initrd.img 2
- 164.304897308 = 176.421040128 boot/initrd.img-6.8.0-47-generic 2
- 166.939270020 = 179.249676288 boot/initrd.img-6.8.0-48-generic 2
- 164.304897308 = 176.421040128 boot/initrd.img.old 2
- =================== nvme0n1p6: 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 214 Apr 4 2024 40_custom
- -rwxr-xr-x 1 root root 215 Apr 4 2024 41_custom
- ====================== sda2/boot/grub/grub.cfg (filtered) ======================
- Start Linux Mint 22 Cinnamon 64-bit
- Start Linux Mint 22 Cinnamon 64-bit (compatibility mode)
- OEM install (for manufacturers)
- Boot from next volume
- UEFI Firmware Settings
- Memory test
- ==================== sda2: Location of files loaded by Grub ====================
- GiB - GB File Fragment(s)
- ?? = ?? boot/grub/grub.cfg 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement