Le boot-repair
boot-repair-4ppa95 [20200502_1614]
============================== Boot Repair Summary ===============================
boot-repair is executed in live-session (Ubuntu 18.04.4 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd quiet splash --- maybe-ubiquity
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..
================================ 1 OS detected =================================
OS#1: Ubuntu 18.04.4 LTS on sda1
========================= sda1/etc/grub.d/ (filtered) ==========================
drwxr-xr-x 2 root root 4096 mars 21 08:37 grub.d
-rwxr-xr-x 1 root root 10046 févr. 7 2019 00_header
-rwxr-xr-x 1 root root 6258 juil. 16 2018 05_debian_theme
-rwxr-xr-x 1 root root 12693 juil. 17 2018 10_linux
-rwxr-xr-x 1 root root 11298 juil. 17 2018 20_linux_xen
-rwxr-xr-x 1 root root 1992 janv. 28 2016 20_memtest86+
-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
=============================== UEFI/Legacy mode ===============================
This live-session is not in EFI-mode.
=============================== PARTITIONS (1/3) ===============================
sda1 : sda, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 64, with-boot, is-os, isnotESP, fstab-without-boot
=============================== PARTITIONS (2/3) ===============================
sda1 : fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install
=============================== PARTITIONS (3/3) ===============================
sda1 : with--usr, fstab-without-usr, not-sep-usr, standard, farbios, notbiosboot, /mnt/boot-sav/sda1.
==================================== DISKS =====================================
sda : not-GPT, BIOSboot-not-needed, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
================================== parted -lm ==================================
BYT;
/dev/sda:250GB:scsi:512:512:msdos:ATA Samsung SSD 840:;
1:1049kB:250GB:250GB:ext4::boot;
BYT;
/dev/sdb:4041MB:scsi:512:512:unknown:iT1167B USB Flash Disk:;
=============== lsblk -o KNAME,TYPE,FSTYPE,SIZE,LABEL (filtered) ===============
KNAME TYPE FSTYPE SIZE LABEL
sda disk 232,9G
sda1 part ext4 232,9G
sdb disk iso9660 3,8G Ubuntu 18.04.4 LTS amd64
sdb1 part iso9660 2G Ubuntu 18.04.4 LTS amd64
sdb2 part vfat 2,4M Ubuntu 18.04.4 LTS amd64
sr0 rom 1024M
============ lsblk -o KNAME,ROTA,RO,RM,STATE,MOUNTPOINT (filtered) =============
KNAME ROTA RO RM STATE MOUNTPOINT
sda 0 0 0 running
sda1 0 0 0 /mnt/boot-sav/sda1
sdb 1 0 1 running /cdrom
sdb1 1 0 1
sdb2 1 0 1
sr0 1 0 1 running
=============================== mount (filtered) ===============================
/dev/sdb on /cdrom type iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw,relatime)
================================ ls (filtered) =================================
/sys/block/sda: alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro sda1 size slaves stat subsystem trace uevent
/sys/block/sdb: alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro sdb1 sdb2 size slaves stat subsystem trace uevent
/dev: autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hpet hugepages hwrng initctl input kmsg kvm lightnvm log mapper mcelog mei0 mem memory_bandwidth mqueue net null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sdb sdb1 sdb2 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout udmabuf uhid uinput urandom usb userio vfio vga_arbiter vhci vhost-net vhost-vsock zero zfs
============================== df -Th (filtered) ===============================
Filesystem Type Size Used Avail Use% Mounted on
/dev/sdb iso9660 2.0G 2.0G 0 100% /cdrom
/cow overlay 7.8G 529M 7.3G 7% /
/dev/sda1 ext4 229G 159G 59G 74% /mnt/boot-sav/sda1
============================= fdisk -l (filtered) ==============================
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Disklabel type: dos
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 488396799 488394752 232.9G 83 Linux
Disk /dev/sdb: 3.8 GiB, 4041211904 bytes, 7892992 sectors
Disklabel type: dos
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 0 4153407 4153408 2G 0 Empty
/dev/sdb2 12012 16939 4928 2.4M ef EFI (FAT-12/16/32)
Les fichiers de démarrage de [Ubuntu 18.04.4 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter.
============================== 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
========================== lspci -nnk | grep -iA3 vga ==========================
lspci: Unable to load libkmod resources: error -12
00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09)
Subsystem: CLEVO/KAPOK Computer 3rd Gen Core processor Graphics Controller [1558:0240]
Kernel driver in use: i915
00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
============================ grub-install --version ============================
grub-install (GRUB) 2.02-2ubuntu8.15,grub-install (GRUB) 2.
================ Reinstall the GRUB of sda1 into the MBR of sda ================
Installing for i386-pc platform.
Installation finished. No error reported.
grub-install /dev/sda: exit code of grub-install /dev/sda:0
chroot /mnt/boot-sav/sda1 update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-99-generic
Found initrd image: /boot/initrd.img-4.15.0-99-generic
Found linux image: /boot/vmlinuz-4.15.0-96-generic
Found initrd image: /boot/initrd.img-4.15.0-96-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.
Unhide GRUB boot menu in sda1/boot/grub/grub.cfg
Les fichiers de démarrage de [Ubuntu 18.04.4 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter.
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.4 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Operating System:
Boot files: /boot/grub/grub.cfg
============================ Drive/Partition Info ==============================
Drive: sda _____________________________________________________________________
Disque /dev/sda : 232,9 GiB, 250059350016 octets, 488397168 secteurs
Unités : secteur de 1 × 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Type d'étiquette de disque : dos
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 488,396,799 488,394,752 83 Linux
blkid (filtered): ______________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 6bc6bad8-4b55-445b-9a23-120f61c7e36e ext4
/dev/sdb1 2020-02-03-18-40-13-00 iso9660 Ubuntu 18.04.4 LTS amd64
/dev/sdb2 D055-8513 vfat
================================= Mount points =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sda1 /mnt/boot-sav/sda1 ext4 (rw,relatime)
/dev/sdb /cdrom iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
====================== sda1/boot/grub/grub.cfg (filtered) ======================
Ubuntu
Ubuntu, with Linux 4.15.0-99-generic
Ubuntu, with Linux 4.15.0-96-generic
### 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/sda1 during installation
UUID=6bc6bad8-4b55-445b-9a23-120f61c7e36e / 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=""
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
#GRUB_TERMINAL=console
#GRUB_GFXMODE=640x480
#GRUB_DISABLE_LINUX_UUID=true
#GRUB_DISABLE_RECOVERY="true"
#GRUB_INIT_TUNE="480 440 1"
==================== sda1: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
0.000984192 = 0.001056768 boot/grub/grub.cfg 1
163.749816895 = 175.825027072 boot/grub/i386-pc/core.img 1
108.727519989 = 116.745285632 boot/vmlinuz-4.15.0-96-generic 1
181.438465118 = 194.818068480 boot/vmlinuz-4.15.0-99-generic 1
181.438465118 = 194.818068480 vmlinuz 1
108.727519989 = 116.745285632 vmlinuz.old 1
180.897956848 = 194.237702144 boot/initrd.img-4.15.0-96-generic 6
175.679214478 = 188.634120192 boot/initrd.img-4.15.0-99-generic 4
175.679214478 = 188.634120192 initrd.img 4
180.897956848 = 194.237702144 initrd.img.old 6
====================== sdb/boot/grub/grub.cfg (filtered) =======================
menuentry "Try Ubuntu without installing" {
menuentry "Install Ubuntu" {
menuentry "OEM install (for manufacturers)" {
menuentry "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 dc 03 00 00 00 00 00 00 9d 7a 03 6e 00 00 80 00 |.........z.n....|
000001c0 01 00 00 7e e0 fd 00 00 00 00 40 60 3f 00 00 fe |...~......@`?...|
000001d0 ff ff ef fe ff ff ec 2e 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:[94879]) leaked on lvs invocation. Parent PID 15199: /bin/bash