geole a écritBonjour
Boot-repair est maintenu. Il est possible qu'il y ait une erreur dans le contexte légacy, mais, sans compte-rendu du rapport d'exécution défaillant, il est quasiment impossible de demander une amélioration de l'outil
Bonjour, voilà mes logs, pas sur que ça aide
boot-repair-4ppa125 [20201110_0030]
============================= Boot Repair Summary ==============================
User choice:
Is sdb (ATA ST1000DM003-1ER1) a removable disk? no
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
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will purge (in order to unsign) and reinstall the grub2 of
sdb1 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair will be performed: unhide-bootmenu-10s
/boot/efi removed in sdb1/fstab
chroot /mnt/boot-sav/sdb1 apt-get -y update
Purge the GRUB of sdb1
grub-pc available
Reinstallation of grub-pc is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
DEBCHECK debOK, grub-pc
DEBCHECK debOK
shim-signed available
Please type: sudo chroot "/mnt/boot-sav/sdb1" dpkg --configure -ansudo chroot "/mnt/boot-sav/sdb1" apt-get install -fynsudo chroot "/mnt/boot-sav/sdb1" apt-get purge -y grub*-common shim-signed
Then type: sudo chroot "/mnt/boot-sav/sdb1" apt-get install -y grub-pc
Unhide GRUB boot menu in sdb1/etc/default/grub
==> Reinstall the GRUB of sdb1 into MBRs of all disks (except live-disks and removable disks without OS)
======================== Reinstall the grub-pc of sdb1 =========================
grub-install --version
grub-install (GRUB) 2.04-1ubuntu35
==> Reinstall the GRUB of sdb1 into the MBR of sda
grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
======================== Reinstall the grub-pc of sdb1 =========================
grub-install --version
grub-install (GRUB) 2.04-1ubuntu35
==> Reinstall the GRUB of sdb1 into the MBR of sdb
grub-install /dev/sdb
Installing for i386-pc platform.
Installation finished. No error reported.
chroot /mnt/boot-sav/sdb1 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Sourcing file `/etc/default/grub.d/lubuntu-grub-theme.cfg'
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/lubuntu-grub-theme/theme.txt
Found linux image: /boot/vmlinuz-5.8.0-25-generic
Found initrd image: /boot/initrd.img-5.8.0-25-generic
File descriptor 63 (pipe:[52234]) leaked on lvs invocation. Parent PID 19050: /bin/sh
Found Windows 7 on /dev/sda1
Found Windows 7 on /dev/sda2
Unhide GRUB boot menu in sdb1/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
Please do not forget to make your BIOS boot on sdb (ATA ST1000DM003-1ER1) disk!
============================ Boot Info After Repair ============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for /boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk search_fs_uuid
---------------------------------------------------------------------------
config script
---------------------------------------------------------------------------
search.fs_uuid 097bcd5e-99a7-48ec-8288-237ed23a59d5 root hd1,msdos1
set prefix=($root)'/boot/grub'
---------------------------------------------------------------------------
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.10
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sdb2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdb3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
================================ 3 OS detected =================================
OS#1: Windows 7 (boot) on sda1
OS#2: Windows 7 on sda2
OS#3: Ubuntu 20.10 on sdb1
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.10, groovy, x86_64)
===================================== UEFI =====================================
This live-session is not in EFI-mode.
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda1 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda2 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb1 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, no-grubenv, update-grub, farbios
sdb2 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sdb3 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot
sda2 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot
sdb1 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sdb3 : 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, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sdb1 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdb
sdb2 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
sdb3 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sdb
fdisk -l (filtered): ___________________________________________________________
Disk sda: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0xab8a84a9
Boot Start End Sectors Size Id Type
sda1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
sda2 206848 234438655 234231808 111.7G 7 HPFS/NTFS/exFAT
Disk sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0xd53b906a
Boot Start End Sectors Size Id Type
sdb1 2048 622321663 622319616 296.7G 83 Linux
sdb2 622321664 1707759615 1085437952 517.6G 7 HPFS/NTFS/exFAT
sdb3 1707759616 1953519615 245760000 117.2G 7 HPFS/NTFS/exFAT
Disk zram0: 795.7 MiB, 834351104 bytes, 203699 sectors
Disk zram1: 795.7 MiB, 834351104 bytes, 203699 sectors
parted -lm (filtered): _________________________________________________________
sda:120GB:scsi:512:512:msdos:ATA KINGSTON SV300S3:;
1:1049kB:106MB:105MB:ntfs::boot;
2:106MB:120GB:120GB:ntfs::;
sdb:1000GB:scsi:512:4096:msdos:ATA ST1000DM003-1ER1:;
1:1049kB:319GB:319GB:ext4::;
2:319GB:874GB:556GB:ntfs::;
3:874GB:1000GB:126GB:ntfs::;
zram1:834MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:834MB:834MB:linux-swap(v1)::;
sr0:1894MB:scsi:2048:2048:unknown:HL-DT-ST DVDRAM GH24NSC0:;
zram0:834MB:unknown:4096:4096:loop:Unknown:;
1:0.00B:834MB:834MB:linux-swap(v1)::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs 9A2AE3842AE35C2F ab8a84a9-01 Réservé au système
└─sda2 ntfs 0862E6A462E6962A ab8a84a9-02 Systeme7
sdb
├─sdb1 ext4 097bcd5e-99a7-48ec-8288-237ed23a59d5 d53b906a-01
├─sdb2 ntfs 54D29D63D29D49DE d53b906a-02 STOCK
└─sdb3 ntfs BEBEB879BEB82BB1 d53b906a-03 SAUVES
zram0
zram1
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 73.2M 27% /mnt/boot-sav/sda1
sda2 51.6G 54% /mnt/boot-sav/sda2
sdb1 271.3G 2% /mnt/boot-sav/sdb1
sdb2 516.8G 0% /mnt/boot-sav/sdb2
sdb3 97.7G 17% /mnt/boot-sav/sdb3
Mount options: __________________________________________________________________
sda1 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda2 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb1 rw,relatime
sdb2 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sdb3 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
====================== sdb1/boot/grub/grub.cfg (filtered) ======================
Ubuntu 097bcd5e-99a7-48ec-8288-237ed23a59d5
Ubuntu, with Linux 5.8.0-25-generic 097bcd5e-99a7-48ec-8288-237ed23a59d5
Windows 7 (on sda1) 9A2AE3842AE35C2F
Windows 7 (on sda2) 0862E6A462E6962A
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sdb1/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=097bcd5e-99a7-48ec-8288-237ed23a59d5 / ext4 defaults 0 1
======================= sdb1/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=""
==================== sdb1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
0.000984192 = 0.001056768 boot/grub/grub.cfg 1
28.141731262 = 30.216953856 boot/grub/i386-pc/core.img 1
1.400463104 = 1.503735808 boot/vmlinuz 2
1.400463104 = 1.503735808 boot/vmlinuz-5.8.0-25-generic 2
1.400463104 = 1.503735808 boot/vmlinuz.old 2
1.487300873 = 1.596977152 boot/initrd.img 2
1.487300873 = 1.596977152 boot/initrd.img-5.8.0-25-generic 2
1.487300873 = 1.596977152 boot/initrd.img.old 2
===================== sdb1: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 17622 Oct 1 16:59 10_linux
-rwxr-xr-x 1 root root 42359 Oct 1 16:59 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Oct 1 16:59 20_linux_xen
-rwxr-xr-x 1 root root 12059 Oct 1 16:59 30_os-prober
-rwxr-xr-x 1 root root 1424 Oct 1 16:59 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Oct 1 16:59 40_custom
-rwxr-xr-x 1 root root 216 Oct 1 16:59 41_custom
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[52234]) leaked on lvs invocation. Parent PID 3754: /bin/bash