Bonjour,
Collage du
Boot-info :
============================= Boot Repair Summary ==============================
Default settings: ______________________________________________________________
The default repair of the Boot-Repair utility would purge (in order to fix packages) 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 16.04.6 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.
The settings chosen by the user 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
/boot/efi added in sda2/fstab
Mount sda1 on /mnt/boot-sav/sda2/boot/efi
chroot /mnt/boot-sav/sda2 apt-get -y update
Purge the GRUB of sda2
grub-efi-amd64-signed available
The following package was automatically installed and is no longer required:
shim
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
grub-common grub-efi-amd64 grub-efi-amd64-bin grub2-common os-prober
Suggested packages:
multiboot-doc grub-emu xorriso desktop-base
The following NEW packages will be installed:
grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
grub2-common os-prober
0 upgraded, 6 newly installed, 0 to remove and 1 not upgraded.
DEBCHECK debOK, grub-efi-amd64-signed
DEBCHECK debOK
shim-signed available
linux-headers-generic available
linux-signed-generic available
Then 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 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~beta2-36ubuntu3.27
efibootmgr -v from chroot before grub install
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0000,0003,0005,0004,0002
Boot0000* ubuntu HD(1,GPT,a88e07a1-900c-4532-9fb0-876f60830499,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0002* Grub HD(1,GPT,a88e07a1-900c-4532-9fb0-876f60830499,0x800,0x100000)/File(EFIUBUNTUGRUBX64.EFI )
Boot0003* Hard Drive BBS(HD,,0x0)..GO..NO........o.L.D.L.C....................A...........................>..Gd-.;.A..MQ..L.8.0.1.1.0.2.6.1.0.A.1.1. .2. . . . . . ........BO..NO........o.S.T.1.0.0.0.D.M.0.1.0.-.2.E.P.1.0.2....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .9.Z.8.A.F.6.X.F........BO
Boot0004* UEFI: HL-DT-ST DVDRAM GH24NSD1 PciRoot(0x0)/Pci(0x17,0x0)/Sata(2,65535,0)/CDROM(1,0xb2a9c,0x1280)..BO
Boot0005* 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.G.C.S.8.0.9.0.0. .8. . . . . . . . ........BO
uname -r
4.4.0-31-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.
Refind detected on sda1
df /dev/sda1
touch /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi.grb
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/
efibootmgr -v from chroot after grub install
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0000,0003,0005,0004,0002
Boot0000* ubuntu HD(1,GPT,a88e07a1-900c-4532-9fb0-876f60830499,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0002* Grub HD(1,GPT,a88e07a1-900c-4532-9fb0-876f60830499,0x800,0x100000)/File(EFIUBUNTUGRUBX64.EFI )
Boot0003* Hard Drive BBS(HD,,0x0)..GO..NO........o.L.D.L.C....................A...........................>..Gd-.;.A..MQ..L.8.0.1.1.0.2.6.1.0.A.1.1. .2. . . . . . ........BO..NO........o.S.T.1.0.0.0.D.M.0.1.0.-.2.E.P.1.0.2....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .9.Z.8.A.F.6.X.F........BO
Boot0004* UEFI: HL-DT-ST DVDRAM GH24NSD1 PciRoot(0x0)/Pci(0x17,0x0)/Sata(2,65535,0)/CDROM(1,0xb2a9c,0x1280)..BO
Boot0005* 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.G.C.S.8.0.9.0.0. .8. . . . . . . . ........BO
Warning: NVram was not modified.
chroot /mnt/boot-sav/sda2 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-186-generic
Found initrd image: /boot/initrd.img-4.4.0-186-generic
Found linux image: /boot/vmlinuz-4.4.0-185-generic
Found initrd image: /boot/initrd.img-4.4.0-185-generic
Adding boot menu entry for EFI firmware configuration
Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
Please do not forget to make your UEFI firmware boot on the Ubuntu 16.04.6 LTS entry (sda1/EFI/ubuntu/shimx64.efi file) !
============================ Boot Info After Repair ============================
=> Grub2 (v1.99-2.00) is installed in the MBR of /dev/sda and looks at sector
60077584 of the same hard drive for core.img, but core.img can not be
found at this location.
=> libparted MBR boot code is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /EFI/refind/refind.conf /efi/Boot/bootx64.efi
/efi/Boot/grubx64.efi /efi/refind/refind_x64.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 16.04.6 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda3: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdb5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 1 OS detected =================================
OS#1: Ubuntu 16.04.6 LTS on sda2
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 16.04.1 LTS, xenial, x86_64)
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot enabled.
efibootmgr -v
BootCurrent: 0004
Timeout: 1 seconds
BootOrder: 0000,0003,0005,0004,0002
Boot0000* ubuntu HD(1,GPT,a88e07a1-900c-4532-9fb0-876f60830499,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0002* Grub HD(1,GPT,a88e07a1-900c-4532-9fb0-876f60830499,0x800,0x100000)/File(\EFI\UBUNTU\GRUBX64.EFI )
Boot0003* Hard Drive BBS(HD,,0x0)..GO..NO........o.L.D.L.C....................A...........................>..Gd-.;.A..MQ..L.8.0.1.1.0.2.6.1.0.A.1.1. .2. . . . . . ........BO..NO........o.S.T.1.0.0.0.D.M.0.1.0.-.2.E.P.1.0.2....................A...........................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .9.Z.8.A.F.6.X.F........BO
Boot0004* UEFI: HL-DT-ST DVDRAM GH24NSD1 PciRoot(0x0)/Pci(0x17,0x0)/Sata(2,65535,0)/CDROM(1,0xb2a9c,0x1280)..BO
Boot0005* 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.G.C.S.8.0.9.0.0. .8. . . . . . . . ........BO
441823179bdbf7a74b9c3b5ca635fca8 sda1/refind/refind_x64.efi
82894bcbe4f010664226ba7591372538 sda1/ubuntu/fwupx64.efi
66c6d4e40cdb10a5ceb7a7b15d015afd sda1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700 sda1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4 sda1/ubuntu/shimx64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, 2046 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, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb5 : 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-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb5 : 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
sdb5 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
fdisk -l (filtered): ___________________________________________________________
Disk ram0: 64 MiB, 67108864 bytes, 131072 sectors
Disk ram1: 64 MiB, 67108864 bytes, 131072 sectors
Disk ram2: 64 MiB, 67108864 bytes, 131072 sectors
Disk ram3: 64 MiB, 67108864 bytes, 131072 sectors
Disk ram4: 64 MiB, 67108864 bytes, 131072 sectors
Disk ram5: 64 MiB, 67108864 bytes, 131072 sectors
Disk ram6: 64 MiB, 67108864 bytes, 131072 sectors
Disk ram7: 64 MiB, 67108864 bytes, 131072 sectors
Disk ram8: 64 MiB, 67108864 bytes, 131072 sectors
Disk ram9: 64 MiB, 67108864 bytes, 131072 sectors
Disk ram10: 64 MiB, 67108864 bytes, 131072 sectors
Disk ram11: 64 MiB, 67108864 bytes, 131072 sectors
Disk ram12: 64 MiB, 67108864 bytes, 131072 sectors
Disk ram13: 64 MiB, 67108864 bytes, 131072 sectors
Disk ram14: 64 MiB, 67108864 bytes, 131072 sectors
Disk ram15: 64 MiB, 67108864 bytes, 131072 sectors
Disk sda: 223.6 GiB, 240057409536 bytes, 468862128 sectors
Disk identifier: A46DDD6B-9E5F-43F6-B70B-DEEDE21D8BF3
Start End Sectors Size Type
sda1 2048 1050623 1048576 512M EFI System
sda2 1050624 452290559 451239936 215.2G Linux filesystem
sda3 452290560 468860927 16570368 7.9G Linux swap
Disk sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0x0f5f4a62
Boot Start End Sectors Size Id Type
sdb1 2046 1953523711 1953521666 931.5G 5 Extended
sdb5 2048 1953523711 1953521664 931.5G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:240GB:scsi:512:512:gpt:ATA LDLC:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:232GB:231GB:ext4::;
3:232GB:240GB:8484MB:linux-swap(v1)::;
sdb:1000GB:scsi:512:4096:msdos:ATA ST1000DM010-2EP1:;
1:1048kB:1000GB:1000GB:::;
5:1049kB:1000GB:1000GB:ext4::;
sr0:1513MB:scsi:2048:2048:mac:HL-DT-ST DVDRAM GH24NSD1:;
1:2048B:6143B:4096B::Apple:;
2:1499MB:1501MB:2425kB::EFI:;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 vfat 1E4D-E09C a88e07a1-900c-4532-9fb0-876f60830499 EFI System Partition
├─sda2 ext4 32cd2d41-01ff-4710-ba72-bb2551dea82d f792b4be-79b8-4431-a172-a4721f1b419e
└─sda3 swap 992cc498-05e1-4228-b798-6ff52bd3a33c c12ac531-a56d-4a0f-a3fb-1b1e92738fb0
sdb
├─sdb1 0f5f4a62-01
└─sdb5 ext4 a804428c-94bc-4f33-b88b-e542018befb6 0f5f4a62-05
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 504M 1% /mnt/boot-sav/sda1
sda2 184.6G 8% /mnt/boot-sav/sda2
sdb5 836.5G 4% /mnt/boot-sav/sdb5
Mount options: __________________________________________________________________
sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda2 rw,relatime,data=ordered
sdb5 rw,relatime,data=ordered
==================== sda1/EFI/refind/refind.conf (filtered) ====================
timeout 20
menuentry Linux {
icon EFI/refind/icons/os_linux.png
volume 904404F8-B481-440C-A1E3-11A5A954E601
loader bzImage-3.3.0-rc7
initrd initrd-3.3.0.img
options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
disabled
}
menuentry "Arch Linux" {
icon /EFI/refind/icons/os_arch.png
volume "Arch Linux"
loader /boot/vmlinuz-linux
initrd /boot/initramfs-linux.img
options "root=PARTUUID=5028fa50-0079-4c40-b240-abfaf28693ea rw add_efi_memmap"
submenuentry "Boot using fallback initramfs" {
initrd /boot/initramfs-linux-fallback.img
}
submenuentry "Boot to terminal" {
add_options "systemd.unit=multi-user.target"
}
disabled
}
menuentry Ubuntu {
loader /EFI/ubuntu/grubx64.efi
icon /EFI/refind/icons/os_linux.png
disabled
}
menuentry "ELILO" {
loader \EFI\elilo\elilo.efi
disabled
}
menuentry "Windows 7" {
loader \EFI\Microsoft\Boot\bootmgfw.efi
disabled
}
menuentry "Windows via shell script" {
icon \EFI\refind\icons\os_win.png
loader \EFI\tools\shell.efi
options "fs0:\EFI\tools\launch_windows.nsh"
disabled
}
menuentry "My macOS" {
icon \EFI\refind\icons\os_mac.png
volume "macOS boot"
loader \System\Library\CoreServices\boot.efi
disabled
}
===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 32cd2d41-01ff-4710-ba72-bb2551dea82d root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda2/boot/grub/grub.cfg (filtered) ======================
Ubuntu 32cd2d41-01ff-4710-ba72-bb2551dea82d
Ubuntu, with Linux 4.4.0-186-generic 32cd2d41-01ff-4710-ba72-bb2551dea82d
Ubuntu, with Linux 4.4.0-186-generic (upstart) gnulinux-4.4.0-186-generic-init-upstart-32cd2d41-01ff-4710-ba72-bb2551dea82d
Ubuntu, with Linux 4.4.0-185-generic 32cd2d41-01ff-4710-ba72-bb2551dea82d
Ubuntu, with Linux 4.4.0-185-generic (upstart) gnulinux-4.4.0-185-generic-init-upstart-32cd2d41-01ff-4710-ba72-bb2551dea82d
### 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=32cd2d41-01ff-4710-ba72-bb2551dea82d / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
# swap was on /dev/sda3 during installation
UUID=992cc498-05e1-4228-b798-6ff52bd3a33c none swap sw 0 0
UUID=1E4D-E09C /boot/efi vfat defaults 0 1
======================= sda2/etc/default/grub (filtered) =======================
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
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
15.382694244 = 16.517042176 boot/vmlinuz-4.4.0-185-generic 1
17.188247681 = 18.455740416 boot/vmlinuz-4.4.0-186-generic 1
17.188247681 = 18.455740416 vmlinuz 1
15.382694244 = 16.517042176 vmlinuz.old 1
15.578681946 = 16.727482368 boot/initrd.img-4.4.0-185-generic 3
19.060104370 = 20.465631232 boot/initrd.img-4.4.0-186-generic 4
19.060104370 = 20.465631232 initrd.img 4
15.578681946 = 16.727482368 initrd.img.old 3
===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 12512 Jul 31 05:23 10_linux
-rwxr-xr-x 1 root root 11082 Jul 31 05:23 20_linux_xen
-rwxr-xr-x 1 root root 11692 Jul 31 05:23 30_os-prober
-rwxr-xr-x 1 root root 1418 Jul 31 05:23 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Jul 31 05:23 40_custom
-rwxr-xr-x 1 root root 216 Jul 31 05:23 41_custom
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[57892]) leaked on lvs invocation. Parent PID 7702: /bin/bash