boot-repair-4ppa124 [20200525_0805] ============================= Boot Repair Summary ============================== Warning: failed to translate partition name Warning: failed to translate partition name /usr/share/boot-sav/bs-cmd_terminal.sh: ligne 177: avertissement : substitution de commande: octet nul ignoré en entrée Recommended repair: ____________________________________________________________ The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of sda7, using the following options: sda1/boot/efi, Additional repair will be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file /boot/efi added in sda7/fstab Quantity of real Windows: 1 Mount sda1 on /mnt/boot-sav/sda7/boot/efi Unhide GRUB boot menu in sda7/etc/default/grub ================= Reinstall the grub-efi-amd64-signed of sda7 ================== grub-install --version grub-install (GRUB) 2.04-1ubuntu26 efibootmgr -v from chroot before grub install BootCurrent: 0002 Timeout: 2 seconds BootOrder: 0001,0000,0002 Boot0000* Windows Boot Manager HD(1,GPT,422a79c4-2994-4fc9-94b4-f1313308b8c2,0x800,0x96000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...4................ Boot0001* ubuntu HD(1,GPT,422a79c4-2994-4fc9-94b4-f1313308b8c2,0x800,0x96000)/File(EFIUBUNTUSHIMX64.EFI)..BO Boot0002* UEFI: SanDisk, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(17,0)/HD(1,MBR,0xbc4de8e,0x800,0x1d0d000)..BO uname -r 5.4.0-26-generic grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot Installing for x86_64-efi platform. grub-install: warning: Internal error. grub-install: error: failed to register the EFI boot entry: Operation not permitted. Exit code: 1 df /dev/sda1 mv /mnt/boot-sav/sda7/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sda7/boot/efi/EFI/Boot/bkpbootx64.efi cp /mnt/boot-sav/sda7/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda7/boot/efi/EFI/Boot/bootx64.efi cp /mnt/boot-sav/sda7/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda7/boot/efi/EFI/Boot/ grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot Installing for x86_64-efi platform. grub-install: warning: Internal error. grub-install: error: failed to register the EFI boot entry: Operation not permitted. Exit code: 1 ---- Grub-install recheck /sbin/grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot --recheck Installing for x86_64-efi platform. /sbin/grub-install: warning: Internal error. /sbin/grub-install: error: failed to register the EFI boot entry: Operation not permitted. Exit code: 1 ---- End of grub-install recheck efibootmgr -v from chroot after grub install BootCurrent: 0002 Timeout: 2 seconds BootOrder: 0001,0000,0002 Boot0000* Windows Boot Manager HD(1,GPT,422a79c4-2994-4fc9-94b4-f1313308b8c2,0x800,0x96000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...4................ Boot0001* ubuntu HD(1,GPT,422a79c4-2994-4fc9-94b4-f1313308b8c2,0x800,0x96000)/File(EFIUBUNTUSHIMX64.EFI)..BO Boot0002* UEFI: SanDisk, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(17,0)/HD(1,MBR,0xbc4de8e,0x800,0x1d0d000)..BO Warning: NVram was not modified. chroot /mnt/boot-sav/sda7 update-grub Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-26-generic Found initrd image: /boot/initrd.img-5.4.0-26-generic Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi Adding boot menu entry for UEFI Firmware Settings Unhide GRUB boot menu in sda7/boot/grub/grub.cfg Une erreur est survenue pendant la réparation. Vous pouvez maintenant redémarrer votre ordinateur. N'oubliez pas de faire démarrer votre firmware UEFI sur l'entrée Ubuntu 20.04 LTS (fichier sda1/EFI/ubuntu/shimx64.efi) ! Si votre ordinateur redémarre directement dans Windows, essayez de changer l'ordre de démarrage dans votre firmware UEFI. Si votre firmware UEFI ne permet pas de changer l'ordre de démarrage, changez l'entrée de démarrage par défaut de l'amorceur Windows. Par exemple, vous pouvez démarrer Windows, puis saisir la commande suivante dans une invite de commande en mode administrateur : bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi ============================ Boot Info After Repair ============================ => No boot loader is installed in the MBR of /dev/sda. => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb. sda1: __________________________________________________________________________ File system: vfat Boot sector type: Windows 8/2012: 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/grubx64.efi /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg /efi/Microsoft/Boot/bootmgfw.efi /efi/Microsoft/Boot/bootmgr.efi /efi/Microsoft/Boot/memtest.efi sda2: __________________________________________________________________________ File system: Boot sector type: - Boot sector info: sda3: __________________________________________________________________________ File system: ntfs Boot sector type: Windows 8/2012: NTFS Boot sector info: No errors found in the Boot Parameter Block. Operating System: Windows 10 Boot files: /Windows/System32/winload.exe sda4: __________________________________________________________________________ File system: ntfs Boot sector type: Windows 8/2012: NTFS Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: sda5: __________________________________________________________________________ File system: ntfs Boot sector type: Windows 8/2012: NTFS Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: sda6: __________________________________________________________________________ File system: ntfs Boot sector type: Windows 8/2012: NTFS Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: sda7: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Ubuntu 20.04 LTS Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub sdb1: __________________________________________________________________________ File system: vfat Boot sector type: SYSLINUX 6.04 Boot sector info: Syslinux looks at sector 32800 of /dev/sdb1 for its second stage. The integrity check of Syslinux failed. No errors found in the Boot Parameter Block. Operating System: Boot files: /boot/grub/grub.cfg /syslinux.cfg /efi/BOOT/grubx64.efi /efi/BOOT/mmx64.efi /ldlinux.sys ================================ 2 OS detected ================================= OS#1: Ubuntu 20.04 LTS on sda7 OS#2: Windows 10 on sda3 ============================ Architecture/Host Info ============================ CPU architecture: 64-bit Live-session OS is Ubuntu 64-bit (Ubuntu 20.04 LTS, focal, x86_64) ===================================== UEFI ===================================== BIOS is EFI-compatible, and is setup in EFI-mode for this live-session. SecureBoot disabled. efibootmgr -v BootCurrent: 0002 Timeout: 2 seconds BootOrder: 0001,0000,0002 Boot0000* Windows Boot Manager HD(1,GPT,422a79c4-2994-4fc9-94b4-f1313308b8c2,0x800,0x96000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...4................ Boot0001* ubuntu HD(1,GPT,422a79c4-2994-4fc9-94b4-f1313308b8c2,0x800,0x96000)/File(\EFI\UBUNTU\SHIMX64.EFI)..BO Boot0002* UEFI: SanDisk, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(17,0)/HD(1,MBR,0xbc4de8e,0x800,0x1d0d000)..BO f7a57b08bc7c1c85417ae4cea582d1d4 sda1/Boot/bootx64.efi bed45d1c9554cea09924d3814cb7c446 sda1/Boot/fbx64.efi 4487628005555bfd4a4c0a47211e0700 sda1/Boot/mmx64.efi 98bea152fadd26c4e9136916f6cc32a8 sda1/ubuntu/grubx64.efi 4487628005555bfd4a4c0a47211e0700 sda1/ubuntu/mmx64.efi f7a57b08bc7c1c85417ae4cea582d1d4 sda1/ubuntu/shimx64.efi cb8e4284804d56f058c0e1cf111eeedd sda1/Microsoft/Boot/bootmgfw.efi 3df357ffd0654bb80f2a575485e6e0cc sda1/Microsoft/Boot/bootmgr.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 sda3 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios sda4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios sda5 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios sda6 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios sda7 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios Partitions info (2/3): _________________________________________________________ sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot sda3 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot sda5 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot sda6 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot sda7 : 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, std-grub.d, sda sda3 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda sda4 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda sda5 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda sda6 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda sda7 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda fdisk -l (filtered): ___________________________________________________________ Disk sda: 223.58 GiB, 240057409536 bytes, 468862128 sectors Disk identifier: F25A885E-7D45-4571-8FD4-3B755C48E369 Start End Sectors Size Type sda1 2048 616447 614400 300M EFI System sda2 616448 878591 262144 128M Microsoft reserved sda3 878592 196191091 195312500 93.1G Microsoft basic data sda4 196192256 198035455 1843200 900M Windows recovery environment sda5 198035456 266393599 68358144 32.6G Microsoft basic data sda6 427458560 468860927 41402368 19.8G Windows recovery environment sda7 266393600 427458559 161064960 76.8G Linux filesystem Partition table entries are not in disk order. Disk sdb: 14.54 GiB, 15597568000 bytes, 30464000 sectors Disk identifier: 0x0bc4de8e Boot Start End Sectors Size Id Type sdb1 * 2048 30463999 30461952 14.5G c W95 FAT32 (LBA) parted -lm (filtered): _________________________________________________________ sda:240GB:scsi:512:512:gpt:ATA PNY CS900 240GB:; 1:1049kB:316MB:315MB:fat32:EFI system partition:boot, esp; 2:316MB:450MB:134MB::Microsoft reserved partition:msftres; 3:450MB:100GB:100GB:ntfs:Basic data partition:msftdata; 4:100GB:101GB:944MB:ntfs::hidden, diag; 5:101GB:136GB:35.0GB:ntfs:Basic data partition:msftdata; 7:136GB:219GB:82.5GB:ext4::; 6:219GB:240GB:21.2GB:ntfs::hidden, diag; sdb:15.6GB:scsi:512:512:msdos:SanDisk Ultra:; 1:1049kB:15.6GB:15.6GB:fat32::boot, lba; blkid (filtered): ______________________________________________________________ NAME FSTYPE UUID PARTUUID LABEL PARTLABEL sda ├─sda1 vfat 6EFE-0B5A 422a79c4-2994-4fc9-94b4-f1313308b8c2 SYSTEM EFI system partition ├─sda2 49c70764-177c-4c1d-8517-56e7815b8c6a Microsoft reserved partition ├─sda3 ntfs C6BAFE7EBAFE69F7 341b5bdc-2dc5-49d9-a740-47a7827f0d22 Windows Basic data partition ├─sda4 ntfs 1A18FED118FEAAC1 08c9321e-c9be-42be-845f-e70ffb71a782 WinRE tools Basic data partition ├─sda5 ntfs 4E7401037400EF8F fc319336-1be4-4405-91d0-bf04d399a933 DATA Basic data partition ├─sda6 ntfs DE8E01CA8E019C61 6d47b870-3c2b-436c-aa7c-513806aec59b BIOS_RVY Basic data partition └─sda7 ext4 83dbbecc-d4d1-4d8a-aa62-c884204c5290 f564901e-9cb3-4460-8cf8-88fa82e75322 sdb └─sdb1 vfat 9E4D-CEE5 0bc4de8e-01 UBUNTU 20_0 df (filtered): _________________________________________________________________ Avail Use% Mounted on sda1 260.1M 12% /mnt/boot-sav/sda1 sda3 25.8G 72% /mnt/boot-sav/sda3 sda4 401.8M 55% /mnt/boot-sav/sda4 sda5 19.9G 39% /mnt/boot-sav/sda5 sda6 745.3M 96% /mnt/boot-sav/sda6 sda7 63.8G 10% /mnt/boot-sav/sda7 sdb1 12G 17% /cdrom Mount options: __________________________________________________________________ sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro sda3 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096 sda4 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096 sda5 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096 sda6 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096 sda7 rw,relatime sdb1 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 83dbbecc-d4d1-4d8a-aa62-c884204c5290 root hd0,gpt7 set prefix=($root)'/boot/grub' configfile $prefix/grub.cfg ====================== sda7/boot/grub/grub.cfg (filtered) ====================== Ubuntu 83dbbecc-d4d1-4d8a-aa62-c884204c5290 Ubuntu, with Linux 5.4.0-26-generic 83dbbecc-d4d1-4d8a-aa62-c884204c5290 Windows Boot Manager (on sda1) osprober-efi-6EFE-0B5A ### END /etc/grub.d/30_os-prober ### UEFI Firmware Settings uefi-firmware ### END /etc/grub.d/30_uefi-firmware ### ========================== sda7/etc/fstab (filtered) =========================== # # / was on /dev/sda7 during installation UUID=83dbbecc-d4d1-4d8a-aa62-c884204c5290 / ext4 errors=remount-ro 0 1 # /boot/efi was on /dev/sda1 during installation /swapfile none swap sw 0 0 UUID=6EFE-0B5A /boot/efi vfat defaults 0 1 ======================= sda7/etc/default/grub (filtered) ======================= GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="" ==================== sda7: Location of files loaded by Grub ==================== GiB - GB File Fragment(s) 127,026371002 = 136,393527296 boot/grub/grub.cfg 1 131,232536316 = 140,909862912 boot/vmlinuz 1 131,232536316 = 140,909862912 boot/vmlinuz-5.4.0-26-generic 1 152,256797791 = 163,484491776 boot/initrd.img 1 152,256797791 = 163,484491776 boot/initrd.img-5.4.0-26-generic 1 152,256797791 = 163,484491776 boot/initrd.img.old 1 ===================== sda7: ls -l /etc/grub.d/ (filtered) ====================== -rwxr-xr-x 1 root root 17123 avril 15 11:31 10_linux -rwxr-xr-x 1 root root 42128 avril 15 11:31 10_linux_zfs -rwxr-xr-x 1 root root 12894 avril 15 11:31 20_linux_xen -rwxr-xr-x 1 root root 12059 avril 15 11:31 30_os-prober -rwxr-xr-x 1 root root 1424 avril 15 11:31 30_uefi-firmware -rwxr-xr-x 1 root root 214 avril 15 11:31 40_custom -rwxr-xr-x 1 root root 216 avril 15 11:31 41_custom ====================== sdb1/boot/grub/grub.cfg (filtered) ====================== Ubuntu Ubuntu (safe graphics) OEM install (for manufacturers) Boot from next volume UEFI Firmware Settings ========================= sdb1/syslinux.cfg (filtered) ========================= DEFAULT loadconfig LABEL loadconfig CONFIG /isolinux/isolinux.cfg APPEND /isolinux/ ==================== sdb1: Location of files loaded by Grub ==================== GiB - GB File Fragment(s) ?? = ?? boot/grub/grub.cfg 1 ================== sdb1: Location of files loaded by Syslinux ================== GiB - GB File Fragment(s) ?? = ?? syslinux.cfg 1 ?? = ?? ldlinux.sys 1