boot-repair-4ppa130 [20211018_2212] ============================= Boot Repair Summary ============================== Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only. Recommended repair: ____________________________________________________________ The default repair of the Boot-Repair utility will purge (in order to fix packages) and reinstall the grub-efi-amd64-signed of sda2, using the following options: sda1/boot/efi, Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups /boot/efi added in sda2/fstab 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 Created sda2/boot/efi Mount sda1 on /mnt/boot-sav/sda2/boot/efi No sda2/boot/efi/efi/ ubuntu/mint folder chroot /mnt/boot-sav/sda2 apt-get -y update Erreur : GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files Purge the GRUB of sda2 grub-efi-amd64-signed available Lecture des listes de paquets… Construction de l'arbre des dépendances…SET@_progressbar1.pulse() Lecture des informations d'état… Les paquets supplémentaires suivants seront installés : efibootmgr grub-efi-amd64-bin mokutil shim-helpers-amd64-signed shim-signed shim-signed-common shim-unsigned Paquets recommandés : secureboot-db Les NOUVEAUX paquets suivants seront installés : efibootmgr grub-efi-amd64-bin grub-efi-amd64-signed mokutil shim-helpers-amd64-signed shim-signed shim-signed-common shim-unsigned 0 mis à jour, 8 nouvellement installés, 0 à enlever et 92 non mis à jour. Il est nécessaire de prendre 2 221 ko dans les archives. Après cette opération, 17,5 Mo d'espace disque supplémentaires seront utilisés. Réception de :1 http://deb.debian.org/debian buster/main amd64 efibootmgr amd64 15-1 [31,8 kB] Réception de :2 http://deb.debian.org/debian buster/main amd64 grub-efi-amd64-bin amd64 2.02+dfsg1-20+deb10u4 [670 kB] Réception de :3 http://deb.debian.org/debian buster/main amd64 grub-efi-amd64-signed amd64 1+2.02+dfsg1+20+deb10u4 [439 kB] Réception de :4 http://deb.debian.org/debian buster/main amd64 mokutil amd64 0.3.0+1538710437.fb6250f-1 [22,6 kB] Réception de :5 http://deb.debian.org/debian buster/main amd64 shim-unsigned amd64 15.4-7~deb10u1 [429 kB] Réception de :6 http://deb.debian.org/debian buster/main amd64 shim-helpers-amd64-signed amd64 1+15.4+7~deb10u1 [296 kB] Réception de :7 http://deb.debian.org/debian buster/main amd64 shim-signed-common all 1.38~1+deb10u1+15.4-7~deb10u1 [13,7 kB] Réception de :8 http://deb.debian.org/debian buster/main amd64 shim-signed amd64 1.38~1+deb10u1+15.4-7~deb10u1 [318 kB] 2 221 ko réceptionnés en 9s (238 ko/s) Téléchargement achevé et dans le mode téléchargement uniquement DEBCHECK debOK, grub-efi-amd64-signed DEBCHECK debOK shim-signed available Please 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 purge --allow-remove-essential -y grub*-common shim-signed shim-signed available linux-headers-generic NOT available (apt-cache policy problem) linux-signed-generic NOT available (apt-cache policy problem) Then type: sudo chroot "/mnt/boot-sav/sda2" apt-get install -y grub-efi-amd64-signed shim-signed No sda2/etc/default/grub No sda2/etc/default/grub =========== Reinstall the grub-efi-amd64-signed shim-signed of sda2 ============ grub-install --version grub-install (GRUB) 2.02+dfsg1-20+deb10u4 efibootmgr -v from chroot before grub install EFI variables are not supported on this system. uname -r 5.10.0-4-amd64 grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot Installing for x86_64-efi platform. grub-install: warning: EFI variables are not supported on this system.. 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/sparky/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot Installing for x86_64-efi platform. grub-install: warning: EFI variables are not supported on this system.. Installation finished. No error reported. efibootmgr -v from chroot after grub install EFI variables are not supported on this system. Error: NVram is locked (Sparky not found in efibootmgr). chroot /mnt/boot-sav/sda2 update-grub Generating grub configuration file ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-4.19.0-17-amd64 Found initrd image: /boot/initrd.img-4.19.0-17-amd64 Found linux image: /boot/vmlinuz-4.19.0-16-amd64 Found initrd image: /boot/initrd.img-4.19.0-16-amd64 Unhide GRUB boot menu in sda2/boot/grub/grub.cfg Une erreur est survenue pendant la réparation. Locked-NVram détecté. Ceci installera les paquets [pastebinit]. Voulez-vous continuer ? debconf: Impossible d'initialiser l'interface : Dialog debconf: (La variable TERM n'a pas de valeur, l'interface dialog est donc inutilisable.) debconf: Utilisation de l'interface Readline en remplacement debconf: Impossible d'initialiser l'interface : Readline debconf: (Cette interface a besoin d'un terminal de contrôle.) debconf: Utilisation de l'interface Teletype en remplacement dpkg-preconfigure: impossible de réouvrir stdin : ============================ 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/grubx64.efi /efi/debian/fbx64.efi /efi/debian/grubx64.efi /efi/debian/mmx64.efi /efi/debian/shimx64.efi /efi/grub/fbx64.efi /efi/grub/grubx64.efi /efi/grub/mmx64.efi /efi/grub/shimx64.efi /efi/sparky/fbx64.efi /efi/sparky/grubx64.efi /efi/sparky/mmx64.efi /efi/sparky/shimx64.efi /efi/debian/grub.cfg /efi/grub/grub.cfg /efi/sparky/grub.cfg sda2: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: SparkyLinux 5.15 (Nibiru) Boot files: /boot/grub/grub.cfg /etc/fstab sda3: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Boot files: ================================ 1 OS detected ================================= OS#1: SparkyLinux (5.15) on sda2 ============================ Architecture/Host Info ============================ CPU architecture: 64-bit Live-session OS is Sparky 64-bit (SparkyLinux 6 (Po-Tolo), bullseye, x86_64) ===================================== UEFI ===================================== BIOS is EFI-compatible, and is setup in EFI-mode for this live-session. SecureBoot disabled. Please install package efibootmgr and retry. This session has been detected as 'live' because /proc/cmdline contains (boot=live) This session has been detected as 'live' because df -Th / contains overlay 1b236359c52f180ce9fe705cbce94703 sda1/boot/bootx64.efi 1b236359c52f180ce9fe705cbce94703 sda1/boot/grubx64.efi 0d240e1ce1b2b02dec9bbb162cfb94da sda1/debian/fbx64.efi 1b236359c52f180ce9fe705cbce94703 sda1/debian/grubx64.efi f617c3c1b1bdf56909dcb8e1b996749b sda1/debian/mmx64.efi cefed90870185ef689f004e686de8fce sda1/debian/shimx64.efi bc44000e6dfe2544477feeaac4f2f91a sda1/grub/fbx64.efi 2aec8d06a813f6b2fd1d6e9e774b470f sda1/grub/grubx64.efi 44535b1ac00e2f20a456648dd747d409 sda1/grub/mmx64.efi dc7cfc73ef253dff5d33a5815c99c8e8 sda1/grub/shimx64.efi 0d240e1ce1b2b02dec9bbb162cfb94da sda1/sparky/fbx64.efi 1b236359c52f180ce9fe705cbce94703 sda1/sparky/grubx64.efi f617c3c1b1bdf56909dcb8e1b996749b sda1/sparky/mmx64.efi cefed90870185ef689f004e686de8fce sda1/sparky/shimx64.efi ============================= Drive/Partition Info ============================= Disks info: ____________________________________________________________________ sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes Partitions info (1/3): _________________________________________________________ sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far sda2 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, farbios sda3 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios 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-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot sda3 : 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, std-grub.d, sda sda2 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda sda3 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda fdisk -l (filtered): ___________________________________________________________ Disk sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors Disk identifier: 131C872A-D5E0-F94A-90E0-C3373DE3976C Start End Sectors Size Type sda1 4096 618495 614400 300M EFI System sda2 618496 211908607 211290112 100.8G Linux filesystem sda3 211908608 976773119 764864512 364.7G Linux filesystem parted -lm (filtered): _________________________________________________________ sda:500GB:scsi:512:4096:gpt:ATA TOSHIBA DT01ACA0:; 1:2097kB:317MB:315MB:fat32::boot, esp; 2:317MB:108GB:108GB:ext4:root:; 3:108GB:500GB:392GB:ext4::; sr0:1415MB:scsi:2048:2048:msdos:MATSHITA DVD-RAM UJ8G6:; 2:352kB:12.1MB:11.8MB:::esp; blkid (filtered): ______________________________________________________________ NAME FSTYPE UUID PARTUUID LABEL PARTLABEL sda ├─sda1 vfat B0AA-1830 87a7018a-4770-1346-85ce-f9aa6885fb76 NO_LABEL ├─sda2 ext4 d228d219-007f-4a69-88fd-f6e7c836b1dc 44f43411-33d8-3140-8d97-089df8c36114 root └─sda3 ext4 f52711e6-a138-4638-83d6-186d236c7dd2 a8bcbe35-7ec9-4a46-972e-d126da57887d df (filtered): _________________________________________________________________ Avail Use% Mounted on sda1 285.2M 5% /mnt/boot-sav/sda1 sda2 83.3G 11% /mnt/boot-sav/sda2 sda3 63.8G 77% /mnt/boot-sav/sda3 Mount options: __________________________________________________________________ sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro sda2 rw,relatime sda3 rw,relatime ===================== sda1/efi/debian/grub.cfg (filtered) ====================== search.fs_uuid 97a56ac1-0d4c-4ce5-8626-1d78d2fe74e1 root hd0,gpt2 set prefix=($root)'/boot/grub' configfile $prefix/grub.cfg ====================== sda1/efi/grub/grub.cfg (filtered) ======================= search.fs_uuid d228d219-007f-4a69-88fd-f6e7c836b1dc root hd0,gpt2 set prefix=($root)'/boot/grub' configfile $prefix/grub.cfg ===================== sda1/efi/sparky/grub.cfg (filtered) ====================== search.fs_uuid 97a56ac1-0d4c-4ce5-8626-1d78d2fe74e1 root hd0,gpt2 set prefix=($root)'/boot/grub' configfile $prefix/grub.cfg ====================== sda2/boot/grub/grub.cfg (filtered) ====================== GNU/Linux d228d219-007f-4a69-88fd-f6e7c836b1dc GNU/Linux, with Linux 4.19.0-17-amd64 d228d219-007f-4a69-88fd-f6e7c836b1dc GNU/Linux, with Linux 4.19.0-16-amd64 d228d219-007f-4a69-88fd-f6e7c836b1dc ### END /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_uefi-firmware ### ========================== sda2/etc/fstab (filtered) =========================== # UUID=d228d219-007f-4a69-88fd-f6e7c836b1dc / ext4 defaults,noatime 0 1 UUID=f6af822c-985e-41f9-9848-097b31bf7453 /media/SOS ext4 defaults 0 0 UUID=c5c338ee-a131-440f-b48d-a8ce16449017 /media/Medias ext4 defaults 0 0 UUID=7ef6facf-69ef-431a-b0a6-6098d3311e73 /media/sda9 ext4 defaults 0 0 UUID=80c145c3-14b9-4579-aa6e-0f75d7f7e7b9 swap swap defaults,noatime 0 2 UUID=B0AA-1830 /boot/efi vfat defaults 0 1 ==================== sda2: Location of files loaded by Grub ==================== GiB - GB File Fragment(s) 6.428554535 = 6.902607872 boot/grub/grub.cfg 1 23.760780334 = 25.512943616 boot/vmlinuz-4.19.0-16-amd64 2 27.776405334 = 29.824688128 boot/vmlinuz-4.19.0-17-amd64 1 27.776405334 = 29.824688128 vmlinuz 1 23.760780334 = 25.512943616 vmlinuz.old 2 27.378902435 = 29.397872640 boot/initrd.img-4.19.0-16-amd64 2 29.180145264 = 31.331942400 boot/initrd.img-4.19.0-17-amd64 3 29.180145264 = 31.331942400 initrd.img 3 27.378902435 = 29.397872640 initrd.img.old 2 ===================== sda2: ls -l /etc/grub.d/ (filtered) ====================== -rwxr-xr-x 1 root root 12444 1 mars 2021 10_linux -rwxr-xr-x 1 root root 11497 1 mars 2021 20_linux_xen -rwxr-xr-x 1 root root 12059 1 mars 2021 30_os-prober -rwxr-xr-x 1 root root 1418 1 mars 2021 30_uefi-firmware -rwxr-xr-x 1 root root 214 1 mars 2021 40_custom -rwxr-xr-x 1 root root 216 1 mars 2021 41_custom =============================== StdErr Messages ================================ File descriptor 63 (pipe:[33309]) leaked on lvs invocation. Parent PID 4661: /bin/bash mdadm: No arrays found in config file or automatically