Pages : 1
#1 Le 23/09/2020, à 22:33
- SarahLia
Erreur boot-repair
Bonjour,
Je veux mettre le grub après avoir installer Windows mais quand je lance boot-repair en session live ubuntu. Mais j'ai eu une erreur pendant la réparation.
Voici le fichier que l'on me donne:
boot-repair-4ppa125 [20200923_2130]
============================= Boot Repair Summary ==============================
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
grub-probe : erreur : impossible de trouver un périphérique GRUB pour /dev/sdb1. Vérifiez device.map..
grub-probe : erreur : impossible de trouver un périphérique GRUB pour /dev/sdb1. Vérifiez device.map..
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will reinstall the grub2 of
sda1 into the MBR of sda.
Additional repair will be performed: unhide-bootmenu-10s
========================= Reinstall the grub2 of sda1 ==========================
grub-install --version
grub-install (GRUB) 2.02-2ubuntu8.18
==> Reinstall the GRUB of sda1 into the MBR of sda
grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
chroot /mnt/boot-sav/sda1 update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-117-generic
Found initrd image: /boot/initrd.img-4.15.0-117-generic
Found linux image: /boot/vmlinuz-4.15.0-96-generic
Found initrd image: /boot/initrd.img-4.15.0-96-generic
Found linux image: /boot/vmlinuz-4.15.0-88-generic
Found initrd image: /boot/initrd.img-4.15.0-88-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Found Windows 10 on /dev/sda2
Found Windows 10 on /dev/sda3
Unhide GRUB boot menu in sda1/boot/grub/grub.cfg
Une erreur est survenue pendant la réparation.
Vous pouvez maintenant redémarrer votre ordinateur.
============================ 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 (,msdos1)/boot/grub. It also embeds following components:
modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 18.04.5 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sda2: __________________________________________________________________________
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: /bootmgr /Boot/BCD
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 8 or 10
Boot files: /bootmgr /Boot/BCD /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:
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files: /boot/grub/grub.cfg
================================ 3 OS detected =================================
OS#1: Ubuntu 18.04.5 LTS on sda1
OS#2: Windows 10 (boot) on sda2
OS#3: Windows 10 on sda3
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 18.04.5 LTS, bionic, 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
Partitions info (1/3): _________________________________________________________
sda1 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, farbios
sda2 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
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
Partitions info (2/3): _________________________________________________________
sda1 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot
sda3 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot
sda4 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda1 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, 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
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
fdisk -l (filtered): ___________________________________________________________
Disk sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0xb00e0b39
Boot Start End Sectors Size Id Type
sda1 2048 1134323711 1134321664 540.9G 83 Linux
sda2 * 1134323712 1134426111 102400 50M 7 HPFS/NTFS/exFAT
sda3 1134426112 1952456057 818029946 390.1G 7 HPFS/NTFS/exFAT
sda4 1952456704 1953519615 1062912 519M 27 Hidden NTFS WinRE
Disk sdb: 58.6 GiB, 62914560000 bytes, 122880000 sectors
Disk identifier: 0x483122d5
Boot Start End Sectors Size Id Type
sdb1 * 0 4284223 4284224 2G 0 Empty
sdb2 13784 18711 4928 2.4M ef EFI (FAT-12/16/32)
parted -lm (filtered): _________________________________________________________
sda:1000GB:scsi:512:4096:msdos:ATA TOSHIBA HDWL110:;
1:1049kB:581GB:581GB:ext4::;
2:581GB:581GB:52.4MB:ntfs::boot;
3:581GB:1000GB:419GB:ntfs::;
4:1000GB:1000GB:544MB:ntfs::diag;
sdb:62.9GB:scsi:512:512:unknown:VendorCo ProductCode:;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ext4 21fbeef8-c998-4f29-97ce-075e80ed39d1 b00e0b39-01
├─sda2 ntfs A8E6D2C5E6D29344 b00e0b39-02 Réservé au système
├─sda3 ntfs DE88D46288D43B2B b00e0b39-03
└─sda4 ntfs E8CC5D2CCC5CF672 b00e0b39-04
sdb iso9660 2020-08-06-22-59-01-00 Ubuntu 18.04.5 LTS amd64
├─sdb1 iso9660 2020-08-06-22-59-01-00 483122d5-01 Ubuntu 18.04.5 LTS amd64
└─sdb2 vfat EC34-71CF 483122d5-02 Ubuntu 18.04.5 LTS amd64
df (filtered): _________________________________________________________________
Avail Use% Mounted on
sda1 421.3G 16% /mnt/boot-sav/sda1
sda2 23.7M 53% /mnt/boot-sav/sda2
sda3 371.5G 5% /mnt/boot-sav/sda3
sda4 86.4M 83% /mnt/boot-sav/sda4
sdb 0 100% /cdrom
Mount options: __________________________________________________________________
sda1 rw,relatime
sda2 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
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
sdb ro,noatime,nojoliet,check=s,map=n,blocksize=2048
====================== sda1/boot/grub/grub.cfg (filtered) ======================
Ubuntu 21fbeef8-c998-4f29-97ce-075e80ed39d1
Ubuntu, with Linux 4.15.0-117-generic 21fbeef8-c998-4f29-97ce-075e80ed39d1
Ubuntu, with Linux 4.15.0-96-generic 21fbeef8-c998-4f29-97ce-075e80ed39d1
Ubuntu, with Linux 4.15.0-88-generic 21fbeef8-c998-4f29-97ce-075e80ed39d1
Windows 10 (on sda2) A8E6D2C5E6D29344
Windows 10 (on sda3) DE88D46288D43B2B
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda1/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb1 during installation
UUID=21fbeef8-c998-4f29-97ce-075e80ed39d1 / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0
======================= sda1/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=""
==================== sda1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
0.000988007 = 0.001060864 boot/grub/grub.cfg 1
436.269088745 = 468.440367104 boot/grub/i386-pc/core.img 1
47.477535248 = 50.978615296 boot/vmlinuz-4.15.0-117-generic 2
385.809551239 = 414.259851264 boot/vmlinuz-4.15.0-88-generic 1
5.985347748 = 6.426718208 boot/vmlinuz-4.15.0-96-generic 2
47.477535248 = 50.978615296 vmlinuz 2
5.985347748 = 6.426718208 vmlinuz.old 2
4.874019623 = 5.233438720 boot/initrd.img-4.15.0-117-generic 4
6.121047974 = 6.572425216 boot/initrd.img-4.15.0-88-generic 4
6.941387177 = 7.453257728 boot/initrd.img-4.15.0-96-generic 4
4.874019623 = 5.233438720 initrd.img 4
6.941387177 = 7.453257728 initrd.img.old 4
===================== sda1: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 12808 août 24 08:45 10_linux
-rwxr-xr-x 1 root root 11298 juil. 17 2018 20_linux_xen
-rwxr-xr-x 1 root root 12059 juil. 17 2018 30_os-prober
-rwxr-xr-x 1 root root 1418 juil. 17 2018 30_uefi-firmware
-rwxr-xr-x 1 root root 214 juil. 17 2018 40_custom
-rwxr-xr-x 1 root root 216 juil. 17 2018 41_custom
====================== sdb/boot/grub/grub.cfg (filtered) =======================
Try Ubuntu without installing
Install Ubuntu
OEM install (for manufacturers)
Check disc for defects
==================== 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 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
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 94 80 00 00 00 00 00 00 d5 22 31 48 00 00 80 00 |........."1H....|
000001c0 01 00 00 82 e0 fd 00 00 00 00 40 5f 41 00 00 fe |..........@_A...|
000001d0 ff ff ef fe ff ff d8 35 00 00 40 13 00 00 00 00 |.......5..@.....|
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:[128580]) leaked on lvs invocation. Parent PID 10657: /bin/bash
Je ne sais pas ce que je dois faire.
Merci
Hors ligne
#2 Le 24/09/2020, à 08:11
- malbo
Re : Erreur boot-repair
Bonjour,
Je suppose que c'est cette ligne qui t'inquiète :
Une erreur est survenue pendant la réparation.
Mais en fait, la réparation de Grub s'est bien passée comme tu peux lire un peu plus haut :
==> Reinstall the GRUB of sda1 into the MBR of sda
grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
C'est cette ligne qui doit pointer l'erreur :
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Mais on s'en fout de /dev/sdb1. Pour moi, la réparation s'est bien passée et ça devrait bien fonctionner au redémarrage. Raconte.
Hors ligne
#3 Le 24/09/2020, à 09:54
- SarahLia
Re : Erreur boot-repair
Donc je n'ai pas de commande a lancer alors?
Hors ligne
#4 Le 24/09/2020, à 18:30
- malbo
Re : Erreur boot-repair
J'ai du mal à comprendre. Est-ce que tu arrives à démarrer sur Ubuntu installé ou non ?
Hors ligne
Pages : 1