Collage du deuxième
Boot-repair, pour les spécialistes :
boot-repair-4ppa125 [20201206_0614]
============================= Boot Repair Summary ==============================
Default settings: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of
sda2,
using the following options: sda1/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 Ubuntu 18.04.2 LTS entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
User settings: _________________________________________________________________
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
Error: /dev/sr0: unrecognised disk label
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
/usr/share/boot-sav/bs-cmd_terminal.sh: line 177: warning: command substitution: ignored null byte in input
The settings chosen by the user will purge (in order to sign-grub) 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
/boot/efi added in sda2/fstab
Mount sda1 on /mnt/boot-sav/sda2/boot/efi
chroot /mnt/boot-sav/sda2 apt-get -y update
E: The repository 'http://ppa.launchpad.net/rockclimb/gephi-daily/ubuntu bionic Release' does not have a Release file.
W: GPG error: http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_18.04 InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4ABE1AC7557BEFF9
E: The repository 'http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Ubuntu_18.04 InRelease' is not signed.
Purge the GRUB of sda2
grub-efi-amd64-signed available
The following additional packages will be installed:
grub-common grub-efi-amd64 grub-efi-amd64-bin grub2-common
Suggested packages:
multiboot-doc grub-emu xorriso desktop-base
The following packages will be upgraded:
grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
grub2-common
5 upgraded, 0 newly installed, 0 to remove and 206 not upgraded.
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 -y grub*-common shim-signed
shim-signed available
linux-headers-generic available
linux-signed-generic available
Then type: sudo chroot "/mnt/boot-sav/sda2" apt-get install -y grub-efi-amd64-signed shim-signed linux-headers-generic linux-signed-generic
Unhide GRUB boot menu in sda2/etc/default/grub
========== Reinstall the grub-efi-amd64-signed shim-signed linux-headers-generic linux-signed-generic of sda2 ==========
grub-install --version
grub-install (GRUB) 2.02-2ubuntu8.20
efibootmgr -v from chroot before grub install
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0000,0001,0003,0004,0005
Boot0000* ubuntu HD(1,GPT,31d5c0fe-88a9-4dde-8935-fdffa22a2c91,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0001* Hard Drive BBS(HD,,0x0)..GO..NO........o.K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.4.8.0.G....................A...........................>..Gd-.;.A..MQ..L.0.5.2.0.B.6.7.7.4.7.3.0.C.F.1.B. . . . ........BO..NO........[.M.a.s.s. .S.t.o.r.a.g.e. .D.e.v.i.c.e....................A..........................Gd-.;.A..MQ..L.1.2.5.C.2.0.1.0.0.7.2.6........BO..NO}......._. .8...0.7....................A.......................2..Gd-.;.A..MQ..L.1.5.0.4.2.7.0.3.0.0.1.1.4.4........BO
Boot0003* CD/DVD Drive BBS(CDROM,,0x0)..GO..NO........o.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.H.2.4.N.S.D.1....................A...........................>..Gd-.;.A..MQ..L.1.K.H.N.D.3.5.A.2.7. .2. . . . . . . . ........BO
Boot0004* UEFI: 8.07 PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/CDROM(1,0x3c4,0x4d00)..BO
Boot0005* UEFI: 8.07, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x2c534026,0x3c4,0x1340)..BO
uname -r
5.3.0-28-generic
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
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/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi
cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
efibootmgr -v from chroot after grub install
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0000,0001,0003,0004,0005
Boot0000* ubuntu HD(1,GPT,31d5c0fe-88a9-4dde-8935-fdffa22a2c91,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0001* Hard Drive BBS(HD,,0x0)..GO..NO........o.K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.4.8.0.G....................A...........................>..Gd-.;.A..MQ..L.0.5.2.0.B.6.7.7.4.7.3.0.C.F.1.B. . . . ........BO..NO........[.M.a.s.s. .S.t.o.r.a.g.e. .D.e.v.i.c.e....................A..........................Gd-.;.A..MQ..L.1.2.5.C.2.0.1.0.0.7.2.6........BO..NO}......._. .8...0.7....................A.......................2..Gd-.;.A..MQ..L.1.5.0.4.2.7.0.3.0.0.1.1.4.4........BO
Boot0003* CD/DVD Drive BBS(CDROM,,0x0)..GO..NO........o.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.H.2.4.N.S.D.1....................A...........................>..Gd-.;.A..MQ..L.1.K.H.N.D.3.5.A.2.7. .2. . . . . . . . ........BO
Boot0004* UEFI: 8.07 PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/CDROM(1,0x3c4,0x4d00)..BO
Boot0005* UEFI: 8.07, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x2c534026,0x3c4,0x1340)..BO
Warning: NVram was not modified.
chroot /mnt/boot-sav/sda2 update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-126-generic
Found initrd image: /boot/initrd.img-4.15.0-126-generic
Found linux image: /boot/vmlinuz-4.15.0-123-generic
Found initrd image: /boot/initrd.img-4.15.0-123-generic
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Adding boot menu entry for EFI firmware configuration
Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
An error occurred during the repair.
You can now reboot your computer.
Please do not forget to make your UEFI firmware boot on the Ubuntu 18.04.2 LTS entry (sda1/EFI/ubuntu/shimx64.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/grubx64.efi
/efi/ubuntu/fwupx64.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: Ubuntu 18.04.2 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files: /boot/grub/grub.cfg
================================ 1 OS detected =================================
OS#1: Ubuntu 18.04.2 LTS on sda2
============================ 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.
SecureBoot disabled.
efibootmgr -v
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0001,0003,0000,0004,0005
Boot0000* ubuntu HD(1,GPT,31d5c0fe-88a9-4dde-8935-fdffa22a2c91,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0001* Hard Drive BBS(HD,,0x0)..GO..NO........o.K.I.N.G.S.T.O.N. .S.A.4.0.0.S.3.7.4.8.0.G....................A...........................>..Gd-.;.A..MQ..L.0.5.2.0.B.6.7.7.4.7.3.0.C.F.1.B. . . . ........BO..NO........[.M.a.s.s. .S.t.o.r.a.g.e. .D.e.v.i.c.e....................A..........................Gd-.;.A..MQ..L.1.2.5.C.2.0.1.0.0.7.2.6........BO..NO}......._. .8...0.7....................A.......................2..Gd-.;.A..MQ..L.1.5.0.4.2.7.0.3.0.0.1.1.4.4........BO
Boot0003* CD/DVD Drive BBS(CDROM,,0x0)..GO..NO........o.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.H.2.4.N.S.D.1....................A...........................>..Gd-.;.A..MQ..L.1.K.H.N.D.3.5.A.2.7. .2. . . . . . . . ........BO
Boot0004* UEFI: 8.07 PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/CDROM(1,0x3c4,0x4d00)..BO
Boot0005* UEFI: 8.07, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x2c534026,0x3c4,0x1340)..BO
2895d47544fd587b26c7e29be1295c27 sda1/BOOT/fbx64.efi
256fe27540b54b71cf38110338247688 sda1/ubuntu/fwupx64.efi
692f14e6c365de0196592a9b5dd67b9e sda1/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 sda1/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f sda1/ubuntu/shimx64.efi
78415fb8fb9b909f8029858113f1335f sda1/BOOT/BOOTX64.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, signed grub-efi , grub2, grub-install, grubenv-ng, 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
sda2 : 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
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: 447.1 GiB, 480103981056 bytes, 937703088 sectors
Disk identifier: E53237AE-B0EE-4E9C-90F8-1D1C97DC67AE
Start End Sectors Size Type
sda1 2048 1050623 1048576 512M EFI System
sda2 1050624 921153535 920102912 438.8G Linux filesystem
sda3 921153536 937701375 16547840 7.9G Linux swap
Disk sdb: 3.7 GiB, 3995074560 bytes, 7802880 sectors
Disk identifier: 0x2c534026
Boot Start End Sectors Size Id Type
sdb1 * 0 1802239 1802240 880M 0 Empty
sdb2 964 5891 4928 2.4M ef EFI (FAT-12/16/32)
Disk zram0: 3.9 GiB, 4115845120 bytes, 1004845 sectors
parted -lm (filtered): _________________________________________________________
sda:480GB:scsi:512:512:gpt:ATA KINGSTON SA400S3:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:472GB:471GB:ext4::;
3:472GB:480GB:8472MB:linux-swap(v1)::;
sdb:3995MB:scsi:512:512:msdos: :;
2:494kB:3017kB:2523kB:::esp;
sr0:3390MB:scsi:2048:2048:unknown:HL-DT-ST DVDRAM GH24NSD1:;
zram0:4116MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:4116MB:4116MB:linux-swap(v1)::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat F141-2E8B 31d5c0fe-88a9-4dde-8935-fdffa22a2c91 EFI System Partition
├─sda2 ext4 d7890c8a-0faf-43cf-a343-fce5dc0bfc39 5a7f4150-2663-40dd-b7c6-9fff62a620ff
└─sda3 swap de9127db-fc3c-45a4-980e-a6f223a5c9dd 58b9ebe6-2700-4070-852f-298e4919e8a2
sdb iso9660 2020-06-13-00-42-55-00 Boot-Repair-Disk 64bit
├─sdb1 iso9660 2020-06-13-00-42-55-00 2c534026-01 Boot-Repair-Disk 64bit
└─sdb2 vfat D055-8513 2c534026-02 Boot-Repair-Disk 64bit
zram0
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 502.5M 2% /mnt/boot-sav/sda1
sda2 66.7G 79% /mnt/boot-sav/sda2
sdb 0 100% /cdrom
Mount options: __________________________________________________________________
sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda2 rw,relatime
sdb ro,noatime,nojoliet,check=s,map=n,blocksize=2048
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid d7890c8a-0faf-43cf-a343-fce5dc0bfc39 root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu d7890c8a-0faf-43cf-a343-fce5dc0bfc39
Ubuntu, with Linux 4.15.0-126-generic d7890c8a-0faf-43cf-a343-fce5dc0bfc39
Ubuntu, with Linux 4.15.0-123-generic d7890c8a-0faf-43cf-a343-fce5dc0bfc39
### END /etc/grub.d/30_os-prober ###
System setup 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=d7890c8a-0faf-43cf-a343-fce5dc0bfc39 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
# swap was on /dev/sda3 during installation
UUID=de9127db-fc3c-45a4-980e-a6f223a5c9dd none swap sw 0 0
UUID=F141-2E8B /boot/efi vfat defaults 0 1
======================= sda2/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=""
==================== sda2: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
0.500984192 = 0.537927680 boot/grub/grub.cfg 1
247.243156433 = 265.475317760 boot/vmlinuz-4.15.0-123-generic 1
422.266597748 = 453.405306880 boot/vmlinuz-4.15.0-126-generic 1
422.266597748 = 453.405306880 vmlinuz 1
247.243156433 = 265.475317760 vmlinuz.old 1
407.909038544 = 437.988995072 boot/initrd.img-4.15.0-123-generic 4
422.696285248 = 453.866680320 boot/initrd.img-4.15.0-126-generic 5
422.696285248 = 453.866680320 initrd.img 5
407.909038544 = 437.988995072 initrd.img.old 4
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 12808 Nov 14 00:40 10_linux
-rwxr-xr-x 1 root root 11298 Nov 14 00:40 20_linux_xen
-rwxr-xr-x 1 root root 12059 Nov 14 00:40 30_os-prober
-rwxr-xr-x 1 root root 1418 Nov 14 00:40 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Nov 14 00:40 40_custom
-rwxr-xr-x 1 root root 216 Nov 14 00:40 41_custom
====================== sdb/boot/grub/grub.cfg (filtered) =======================
Boot-Repair-Disk session
Boot-Repair-Disk session (failsafe)
==================== sdb: Location of files loaded by Grub =====================
GiB - GB File Fragment(s)
?? = ?? boot/grub/grub.cfg 1
======================== Unknown MBRs/Boot Sectors/etc =========================
Unknown BootLoader on sdb
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
========= Devices which don't seem to have a corresponding hard drive ==========
sdc
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[39044]) leaked on lvs invocation. Parent PID 1804: /bin/bash