merci j’ai réussi à créer une clé bootable avec boot-repair.
J’ai commencé à faire un boot info, voilà le résultat.
Au final il propose de changer le chemin de /efi/debian/grubx64 vers /boot/efi/grbx64. J’hésite à la faire
Résumé
Ubuntu Pastebin
Paste from boot-repair at Sun, 8 Nov 2020 15:40:47 +0000
This paste expires on 2020-12-09.
Download as text
boot-repair-4ppa125 [20201108_1539]
============================== Boot Info Summary ===============================
=> No boot loader is installed in the MBR of /dev/mmcblk0.
mmcblk0p1: _____________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/debian/grubx64.efi
mmcblk0p2: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Debian GNU/Linux 9 (stretch)
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
mmcblk0p3: _____________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda: ___________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files: /boot/grub/grub.cfg
================================ 1 OS detected =================================
OS#1: Debian GNU/Linux 9 (stretch) on mmcblk0p2
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
efibootmgr -v
Timeout: 1 seconds
BootOrder: 0001,0002
Boot0001 UEFI: Built-in EFI Shell VenMedia(5023b95c-db26-429b-a648-bd47664c8012)…BO
Boot0002 UEFI: IP4 Realtek PCIe GBE Family Controller PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(8439be6a9ce5,0)/IPv4(0.0.0.00.0.0.0,0,0)…BO
883a46471c6e178a12e237d09ba46a81 mmcblk0p1/debian/grubx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
mmcblk0 : is-GPT, no-BIOSboot, has—ESP, not-usb, mmc-disk, has-os, 1 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
mmcblk0p1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
mmcblk0p2 : is-os, 64, apt-get, grub-efi , grub2, grub-install, grubenv-ok, update-grub, not-far
Partitions info (2/3): _________________________________________________________
mmcblk0p1 : is—ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
mmcblk0p2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
mmcblk0p1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no—usr, part-has-no-fstab, std-grub.d, mmcblk0
mmcblk0p2 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with–usr, fstab-without-usr, std-grub.d, mmcblk0
fdisk -l (filtered): ___________________________________________________________
Disk mmcblk0: 29.1 GiB, 31272730624 bytes, 61079552 sectors
Disk identifier: D87AF859-36A5-41CD-8189-F72D61912870
Start End Sectors Size Type
mmcblk0p1 2048 1050623 1048576 512M EFI System
mmcblk0p2 1050624 57028607 55977984 26.7G Linux filesystem
mmcblk0p3 57028608 61077503 4048896 2G Linux swap
Disk sda: 1.8 GiB, 1939865600 bytes, 3788800 sectors
Disk identifier: 0x2c534026
Boot Start End Sectors Size Id Type
sda1 * 0 1802239 1802240 880M 0 Empty
sda2 964 5891 4928 2.4M ef EFI (FAT-12/16/32)
Disk zram0: 239.5 MiB, 251121664 bytes, 61309 sectors
Disk zram1: 239.5 MiB, 251121664 bytes, 61309 sectors
Disk zram2: 239.5 MiB, 251121664 bytes, 61309 sectors
Disk zram3: 239.5 MiB, 251121664 bytes, 61309 sectors
parted -lm (filtered): _________________________________________________________
sda:1940MB:scsi:512:512:msdos: :;
2:494kB:3017kB:2523kB:::esp;
zram3:251MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:251MB:251MB:linux-swap(v1)::;
mmcblk0:31.3GB:sd/mmc:512:512:gpt:MMC R1J57L:;
1:1049kB:538MB:537MB:fat32::boot, esp;
2:538MB:29.2GB:28.7GB:ext4::;
3:29.2GB:31.3GB:2073MB:linux-swap(v1)::;
zram1:251MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:251MB:251MB:linux-swap(v1)::;
mmcblk0boot0:8389kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
zram2:251MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:251MB:251MB:linux-swap(v1)::;
mmcblk0boot1:8389kB:sd/mmc:512:512:unknown:Generic SD/MMC Storage Card:;
zram0:251MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:251MB:251MB:linux-swap(v1)::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda iso9660 2020-06-13-00-42-55-00 Boot-Repair-Disk 64bit
├─sda1 iso9660 2020-06-13-00-42-55-00 2c534026-01 Boot-Repair-Disk 64bit
└─sda2 vfat D055-8513 2c534026-02 Boot-Repair-Disk 64bit
mmcblk0
├─mmcblk0p1 vfat 8AA8-8B5B 0efb7187-f387-43ad-90dd-2b42bd2b1ef6
├─mmcblk0p2 ext4 1764fc65-d82c-4a5a-ab34-77a44003291c 7a9d986c-31cc-460c-b9ae-de426f1e63bc
└─mmcblk0p3 swap de3e3881-4231-4cb5-9dee-1356f9d93d0e abbcb885-27ca-4a46-8697-936ae4688a36
mmcblk0boot0
mmcblk0boot1
zram0
zram1
zram2
zram3
df (filtered): _________________________________________________________________
Avail Use% Mounted on
mmcblk0p1 510.9M 0% /mnt/boot-sav/mmcblk0p1
mmcblk0p2 20.1G 18% /media/lubuntu/1764fc65-d82c-4a5a-ab34-77a44003291c
sda 0 100% /cdrom
Mount options: __________________________________________________________________
mmcblk0p1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
mmcblk0p2 rw,nosuid,nodev,relatime
sda ro,noatime,nojoliet,check=s,map=n,blocksize=2048
=================== mmcblk0p2/boot/grub/grub.cfg (filtered) ====================
Debian GNU/Linux 1764fc65-d82c-4a5a-ab34-77a44003291c
Debian GNU/Linux, avec Linux 4.18.0-0.bpo.3-amd64 1764fc65-d82c-4a5a-ab34-77a44003291c
Debian GNU/Linux, avec Linux 4.18.0-0.bpo.1-amd64 1764fc65-d82c-4a5a-ab34-77a44003291c
Debian GNU/Linux, avec Linux 4.9.0-14-amd64 1764fc65-d82c-4a5a-ab34-77a44003291c
Debian GNU/Linux, avec Linux 4.9.0-8-amd64 1764fc65-d82c-4a5a-ab34-77a44003291c
END /etc/grub.d/30_os-prober
System setup uefi-firmware
END /etc/grub.d/30_uefi-firmware
======================== mmcblk0p2/etc/fstab (filtered) ========================
/ was on /dev/mmcblk0p2 during installation
UUID=1764fc65-d82c-4a5a-ab34-77a44003291c / ext4 errors=remount-ro 0 1
/boot/efi was on /dev/mmcblk0p1 during installation
UUID=8AA8-8B5B /boot/efi vfat umask=0077 0 1
swap was on /dev/mmcblk0p3 during installation
UUID=de3e3881-4231-4cb5-9dee-1356f9d93d0e none swap sw 0 0
tmpfs /tmp/jeedom tmpfs defaults,size=128M 0 0
==================== mmcblk0p2/etc/default/grub (filtered) =====================
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian
GRUB_CMDLINE_LINUX_DEFAULT=« quiet »
GRUB_CMDLINE_LINUX=""
================= mmcblk0p2: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
24.645210266 = 26.462593024 boot/grub/grub.cfg 2
1.658096313 = 1.780367360 boot/vmlinuz-4.18.0-0.bpo.1-amd64 1
3.802635193 = 4.083048448 boot/vmlinuz-4.18.0-0.bpo.3-amd64 1
7.555725098 = 8.112898048 boot/vmlinuz-4.9.0-14-amd64 1
11.579143524 = 12.433010688 boot/vmlinuz-4.9.0-8-amd64 1
7.555725098 = 8.112898048 vmlinuz 1
3.802635193 = 4.083048448 vmlinuz.old 1
2.005783081 = 2.153693184 boot/initrd.img-4.18.0-0.bpo.1-amd64 3
17.274410248 = 18.548256768 boot/initrd.img-4.18.0-0.bpo.3-amd64 2
17.290035248 = 18.565033984 boot/initrd.img-4.9.0-14-amd64 2
11.797847748 = 12.667842560 boot/initrd.img-4.9.0-8-amd64 2
17.290035248 = 18.565033984 initrd.img 2
17.274410248 = 18.548256768 initrd.img.old 2
=================== mmcblk0p2: ls -l /etc/grub.d/ (filtered) ===================
-rwxr-xr-x 1 root root 12425 Oct 28 2018 10_linux
-rwxr-xr-x 1 root root 11478 Jun 12 2019 20_linux_xen
-rwxr-xr-x 1 root root 12059 Oct 28 2018 30_os-prober
-rwxr-xr-x 1 root root 1418 Oct 28 2018 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Oct 28 2018 40_custom
-rwxr-xr-x 1 root root 216 Oct 28 2018 41_custom
====================== sda/boot/grub/grub.cfg (filtered) =======================
Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)
==================== sda: Location of files loaded by Grub =====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
======================== Unknown MBRs/Boot Sectors/etc =========================
Unknown BootLoader on sda
00000000 33 ed 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |3…|
00000010 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |…|
00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3…|…f1.f1.|
00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W…R…|…|
00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |…K…R.A…|
00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0…r…U.u.|
00000060 83 e1 01 74 0b 66 c7 06 f3 06 b4 42 eb 15 eb 02 |…t.f…B…|
00000070 31 c9 5a 51 b4 08 cd 13 5b 0f b6 c6 40 50 83 e1 |1.ZQ…[…@P…|
00000080 3f 51 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 |?Q…SRP…|…f…|
00000090 07 e8 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 |…D…f@…f|
000000a0 81 3e 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 |.>@|…xpu…{.D|
000000b0 7c 00 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 ||…isolinux.b|
000000c0 69 6e 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f |in missing or co|
000000d0 72 72 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 |rrupt…f`f1.f…|
000000e0 f8 7b 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a |.{f…{fRfP.Sj.j|
000000f0 10 89 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 |…f.6.{…|
00000100 f6 36 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b |.6.{…A…{|
00000110 cd 13 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 |…d.fa…Opera|
00000120 74 69 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 |ting system load|
00000130 20 65 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 | error…^…>b|
00000140 04 b3 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 |…<.u…|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |…|
*
000001b0 04 17 00 00 00 00 00 00 26 40 53 2c 00 00 80 00 |…&@S,…|
000001c0 01 00 00 3f e0 6f 00 00 00 00 00 80 1b 00 00 fe |…?.o…|
000001d0 ff ff ef fe ff ff c4 03 00 00 40 13 00 00 00 00 |…@…|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |…|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |…U.|
00000200
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[41958]) leaked on lvs invocation. Parent PID 4031: /bin/bash
Suggested repair: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of
mmcblk0p2,
using the following options: mmcblk0p1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Debian GNU/Linux 9 (stretch) entry (mmcblk0p1/efi//shim.efi (**** will be updated in the final message) file) !
Download as text