Contenu | Rechercher | Menus

Annonce

L'équipe des administrateurs et modérateurs du forum vous invite à prendre connaissance des nouvelles règles.
En cas de besoin, vous pouvez intervenir dans cette discussion.

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 09/02/2018, à 12:07

denispinard

RESOLU Grub2 et boot repair

Bonjour

Mon portable est un Lenovo ideapad 110.
Ubuntu 16.04LTS fonctionnait bien jusqu a l'installation d'une mise a jour mardi dernier.
Le PC démarre puis affiche le bandeau Lenovo puis éteint puis recommence.

J'ai réinstalle ubuntu avec ma cle USB sans toucher au /home. Cela ne change rien.

Boot repair me donne ce boot-info summary  paste.ubuntu.com/26545830

Ensuite j'ai lance boot-repair et le resultat est a paste.ubuntu.com/26545865
Boot repair a aussi indique "an error occured during this repair" et demande de faire booter le bios sur sda1/EFI/ubuntu/shimx64.efi mais je n'ai pas accès pour modifier ce qui est ecrit dans la sequence de boot.

Pouvez-vous m'aider ?
Merci
Denis Pinard

Dernière modification par denispinard (Le 25/02/2018, à 10:52)

Hors ligne

#2 Le 09/02/2018, à 14:20

yon

Re : RESOLU Grub2 et boot repair

donnez le retour de la command :

less /var/log/apt/history.log

Hors ligne

#3 Le 09/02/2018, à 14:52

malbo

Re : RESOLU Grub2 et boot repair

Bonjour,
Ton résultat du dernier Boot-repair ( https://paste.ubuntu.com/26545865/ ) est là :

 Boot Info Script 8f991e4 + Boot-Repair extra info      [Boot-Info 25oct2017]


============================= Boot Info Summary: ===============================

 => No boot loader is installed in the MBR of /dev/sda.
 => No known boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/ubuntu/grub.cfg /EFI/Boot/bkpbootx64.efi 
                       /EFI/Boot/bootx64.efi /EFI/ubuntu/fwupx64.efi 
                       /EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi 
                       /EFI/ubuntu/shimx64.efi 
                       /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgr.efi 
                       /EFI/Microsoft/Boot/memtest.efi

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 16.04.3 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sda3: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda4: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: /dev/sdb1 is already mounted or /mnt/BootInfo/sdb1 busy

sdb2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT16
    Boot sector info:  According to the info in the boot sector, sdb2 starts 
                       at sector 0. But according to the info from fdisk, 
                       sdb2 starts at sector 3006684. According to the info 
                       in the boot sector, sdb2 has 0 sectors.
    Mounting failed:   mount: /dev/sdb1 is already mounted or /mnt/BootInfo/sdb1 busy
mount: /dev/sdb2 is already mounted or /mnt/BootInfo/sdb2 busy

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1                 2,048       534,527       532,480 EFI System partition
/dev/sda2               534,528    39,595,074    39,060,547 Data partition (Linux)
/dev/sda3            39,596,032    55,220,223    15,624,192 Swap partition (Linux)
/dev/sda4            55,220,224 1,953,523,711 1,898,303,488 Data partition (Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 3.8 GiB, 4037017600 bytes, 7884800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *              0     3,100,799     3,100,800   0 Empty
/dev/sdb2           3,006,684     3,011,355         4,672  ef EFI (FAT-12/16/32)

/dev/sdb1 overlaps with /dev/sdb2

GUID Partition Table detected, but does not seem to be used.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdb1   +  R              0     3,100,743     3,100,744 Data partition (Windows/Linux)
/dev/sdb2   +  R      3,006,684     3,011,355         4,672 Data partition (Windows/Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        A290-315D                              vfat       SYSTEM_DRV
/dev/sda2        c8238260-291f-4c6c-8f87-a472970ace9c   ext4       
/dev/sda3        74d94e31-1911-457c-98f6-8b4c57d5353d   swap       
/dev/sda4        3c623ba9-e5cf-4a1c-9168-f2cfadd4cbf9   ext4       
/dev/sdb1        2017-08-01-11-51-33-00                 iso9660    Ubuntu 16.04.3 LTS amd64
/dev/sdb2        398E-230F                              vfat       

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Feb  8 20:15 ata-HL-DT-ST_DVDRAM_GUE0N_KW9H2PI1313 -> ../../sr0
lrwxrwxrwx 1 root root  9 Feb  9 10:31 ata-WDC_WD10JPCX-24UE4T0_WD-WX91E66E99A7 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb  9 10:31 ata-WDC_WD10JPCX-24UE4T0_WD-WX91E66E99A7-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb  9 10:31 ata-WDC_WD10JPCX-24UE4T0_WD-WX91E66E99A7-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb  9 10:31 ata-WDC_WD10JPCX-24UE4T0_WD-WX91E66E99A7-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb  9 10:31 ata-WDC_WD10JPCX-24UE4T0_WD-WX91E66E99A7-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 Feb  9 10:31 usb-General_UDisk-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Feb  9 10:31 usb-General_UDisk-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Feb  9 10:31 usb-General_UDisk-0:0-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Feb  8 20:15 wwn-0x5001480000000000 -> ../../sr0
lrwxrwxrwx 1 root root  9 Feb  9 10:31 wwn-0x50014ee65ccbeaee -> ../../sda
lrwxrwxrwx 1 root root 10 Feb  9 10:31 wwn-0x50014ee65ccbeaee-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb  9 10:31 wwn-0x50014ee65ccbeaee-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb  9 10:31 wwn-0x50014ee65ccbeaee-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb  9 10:31 wwn-0x50014ee65ccbeaee-part4 -> ../../sda4

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sda4        /media/ubuntu/3c623ba9-e5cf-4a1c-9168-f2cfadd4cbf9 ext4       (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sdb         /cdrom                   iso9660    (ro,noatime)


========================== sda1/EFI/ubuntu/grub.cfg: ===========================

--------------------------------------------------------------------------------
search.fs_uuid c8238260-291f-4c6c-8f87-a472970ace9c root hd0,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------

=========================== sda2/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
else
  search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=10
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c8238260-291f-4c6c-8f87-a472970ace9c' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
	else
	  search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
	fi
	linux	/boot/vmlinuz-4.13.0-32-generic.efi.signed root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.13.0-32-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-c8238260-291f-4c6c-8f87-a472970ace9c' {
	menuentry 'Ubuntu, with Linux 4.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-32-generic-advanced-c8238260-291f-4c6c-8f87-a472970ace9c' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
		else
		  search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
		fi
		echo	'Loading Linux 4.13.0-32-generic ...'
		linux	/boot/vmlinuz-4.13.0-32-generic.efi.signed root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.13.0-32-generic
	}
	menuentry 'Ubuntu, with Linux 4.13.0-32-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-32-generic-init-upstart-c8238260-291f-4c6c-8f87-a472970ace9c' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
		else
		  search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
		fi
		echo	'Loading Linux 4.13.0-32-generic ...'
		linux	/boot/vmlinuz-4.13.0-32-generic.efi.signed root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.13.0-32-generic
	}
	menuentry 'Ubuntu, with Linux 4.13.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-32-generic-recovery-c8238260-291f-4c6c-8f87-a472970ace9c' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
		else
		  search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
		fi
		echo	'Loading Linux 4.13.0-32-generic ...'
		linux	/boot/vmlinuz-4.13.0-32-generic.efi.signed root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.13.0-32-generic
	}
	menuentry 'Ubuntu, with Linux 4.10.0-28-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-advanced-c8238260-291f-4c6c-8f87-a472970ace9c' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
		else
		  search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
		fi
		echo	'Loading Linux 4.10.0-28-generic ...'
	        linux	/boot/vmlinuz-4.10.0-28-generic root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.10.0-28-generic
	}
	menuentry 'Ubuntu, with Linux 4.10.0-28-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-init-upstart-c8238260-291f-4c6c-8f87-a472970ace9c' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
		else
		  search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
		fi
		echo	'Loading Linux 4.10.0-28-generic ...'
	        linux	/boot/vmlinuz-4.10.0-28-generic root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.10.0-28-generic
	}
	menuentry 'Ubuntu, with Linux 4.10.0-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-recovery-c8238260-291f-4c6c-8f87-a472970ace9c' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
		else
		  search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
		fi
		echo	'Loading Linux 4.10.0-28-generic ...'
	        linux	/boot/vmlinuz-4.10.0-28-generic root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.10.0-28-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/25_custom ###

menuentry "Windows UEFI bootmgfw.efi" {
search --fs-uuid --no-floppy --set=root A290-315D
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}

menuentry "Windows Boot UEFI loader" {
search --fs-uuid --no-floppy --set=root A290-315D
chainloader (${root})/EFI/Boot/bkpbootx64.efi
}

menuentry "EFI/ubuntu/fwupx64.efi" {
search --fs-uuid --no-floppy --set=root A290-315D
chainloader (${root})/EFI/ubuntu/fwupx64.efi
}

menuentry "EFI/ubuntu/mmx64.efi" {
search --fs-uuid --no-floppy --set=root A290-315D
chainloader (${root})/EFI/ubuntu/mmx64.efi
}
### END /etc/grub.d/25_custom ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-A290-315D' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  A290-315D
	else
	  search --no-floppy --fs-uuid --set=root A290-315D
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda2/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=c8238260-291f-4c6c-8f87-a472970ace9c /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
#UUID=A290-315D  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda4 during installation
UUID=3c623ba9-e5cf-4a1c-9168-f2cfadd4cbf9 /home           ext4    defaults        0       2
# swap was on /dev/sda3 during installation
UUID=74d94e31-1911-457c-98f6-8b4c57d5353d none            swap    sw              0       0
UUID=A290-315D	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

=================== sda2: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

   2.385551453 = 2.561466368    boot/grub/grub.cfg                             1
   2.082084656 = 2.235621376    boot/vmlinuz-4.10.0-28-generic                 1
   3.168266296 = 3.401900032    boot/vmlinuz-4.13.0-32-generic                 1
   3.402652740 = 3.653570560    boot/vmlinuz-4.13.0-32-generic.efi.signed      1
   2.082084656 = 2.235621376    vmlinuz                                        1
   3.529369354 = 3.789631488    boot/initrd.img-4.10.0-28-generic              1
   3.473628998 = 3.729780736    boot/initrd.img-4.13.0-32-generic              2
   3.529369354 = 3.789631488    initrd.img                                     1
   3.529369354 = 3.789631488    initrd.img.old                                 1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown MBR on /dev/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  f1 06 b4 42 eb 15 eb 00  |...t.f.....B....|
00000070  5a 51 b4 08 cd 13 83 e1  3f 5b 51 0f b6 c6 40 50  |ZQ......?[Q...@P|
00000080  f7 e1 53 52 50 bb 00 7c  b9 04 00 66 a1 b0 07 e8  |..SRP..|...f....|
00000090  44 00 0f 82 80 00 66 40  80 c7 02 e2 f2 66 81 3e  |D.....f@.....f.>|
000000a0  40 7c fb c0 78 70 75 09  fa bc ec 7b ea 44 7c 00  |@|..xpu....{.D|.|
000000b0  00 e8 83 00 69 73 6f 6c  69 6e 75 78 2e 62 69 6e  |....isolinux.bin|
000000c0  20 6d 69 73 73 69 6e 67  20 6f 72 20 63 6f 72 72  | missing or corr|
000000d0  75 70 74 2e 0d 0a 66 60  66 31 d2 66 03 06 f8 7b  |upt...f`f1.f...{|
000000e0  66 13 16 fc 7b 66 52 66  50 06 53 6a 01 6a 10 89  |f...{fRfP.Sj.j..|
000000f0  e6 66 f7 36 e8 7b c0 e4  06 88 e1 88 c5 92 f6 36  |.f.6.{.........6|
00000100  ee 7b 88 c6 08 e1 41 b8  01 02 8a 16 f2 7b cd 13  |.{....A......{..|
00000110  8d 64 10 66 61 c3 e8 1e  00 4f 70 65 72 61 74 69  |.d.fa....Operati|
00000120  6e 67 20 73 79 73 74 65  6d 20 6c 6f 61 64 20 65  |ng system load e|
00000130  72 72 6f 72 2e 0d 0a 5e  ac b4 0e 8a 3e 62 04 b3  |rror...^....>b..|
00000140  07 cd 10 3c 0a 75 f1 cd  18 f4 eb fd 00 00 00 00  |...<.u..........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000160  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000190  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001b0  78 ac 2d 00 00 00 00 00  15 cd 66 0d 00 00 80 00  |x.-.......f.....|
000001c0  01 00 00 5e e0 fb 00 00  00 00 80 50 2f 00 00 fe  |...^.......P/...|
000001d0  ff ff ef fe ff ff dc e0  2d 00 40 12 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


/dev/sdb1: unknown GPT attributes
1000000000000001

/dev/sdb2: unknown GPT attributes
1000000000000001
Unknown BootLoader on sdb1

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  f1 06 b4 42 eb 15 eb 00  |...t.f.....B....|
00000070  5a 51 b4 08 cd 13 83 e1  3f 5b 51 0f b6 c6 40 50  |ZQ......?[Q...@P|
00000080  f7 e1 53 52 50 bb 00 7c  b9 04 00 66 a1 b0 07 e8  |..SRP..|...f....|
00000090  44 00 0f 82 80 00 66 40  80 c7 02 e2 f2 66 81 3e  |D.....f@.....f.>|
000000a0  40 7c fb c0 78 70 75 09  fa bc ec 7b ea 44 7c 00  |@|..xpu....{.D|.|
000000b0  00 e8 83 00 69 73 6f 6c  69 6e 75 78 2e 62 69 6e  |....isolinux.bin|
000000c0  20 6d 69 73 73 69 6e 67  20 6f 72 20 63 6f 72 72  | missing or corr|
000000d0  75 70 74 2e 0d 0a 66 60  66 31 d2 66 03 06 f8 7b  |upt...f`f1.f...{|
000000e0  66 13 16 fc 7b 66 52 66  50 06 53 6a 01 6a 10 89  |f...{fRfP.Sj.j..|
000000f0  e6 66 f7 36 e8 7b c0 e4  06 88 e1 88 c5 92 f6 36  |.f.6.{.........6|
00000100  ee 7b 88 c6 08 e1 41 b8  01 02 8a 16 f2 7b cd 13  |.{....A......{..|
00000110  8d 64 10 66 61 c3 e8 1e  00 4f 70 65 72 61 74 69  |.d.fa....Operati|
00000120  6e 67 20 73 79 73 74 65  6d 20 6c 6f 61 64 20 65  |ng system load e|
00000130  72 72 6f 72 2e 0d 0a 5e  ac b4 0e 8a 3e 62 04 b3  |rror...^....>b..|
00000140  07 cd 10 3c 0a 75 f1 cd  18 f4 eb fd 00 00 00 00  |...<.u..........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  78 ac 2d 00 00 00 00 00  15 cd 66 0d 00 00 80 00  |x.-.......f.....|
000001c0  01 00 00 5e e0 fb 00 00  00 00 80 50 2f 00 00 fe  |...^.......P/...|
000001d0  ff ff ef fe ff ff dc e0  2d 00 40 12 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 9 (/proc/5034/mounts) leaked on lvs invocation. Parent PID 16423: bash
File descriptor 63 (pipe:[93534]) leaked on lvs invocation. Parent PID 16423: bash

ADDITIONAL INFORMATION :
=================== log of boot-repair 20180209_1031 ===================
boot-repair version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
boot-repair is executed in live-session (Ubuntu 16.04.3 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
ls: cannot access '/home/usr/.config': No such file or directory

=================== os-prober:
/dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sda2:Ubuntu 16.04.3 LTS (16.04):Ubuntu:linux

=================== blkid:
/dev/sda1: LABEL="SYSTEM_DRV" UUID="A290-315D" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="7555fecf-8450-4b45-9ab1-78ed0a6c85bb"
/dev/sda2: UUID="c8238260-291f-4c6c-8f87-a472970ace9c" TYPE="ext4" PARTUUID="1dc61e3c-4f7f-45a9-8cf5-96f10cdd9639"
/dev/sda4: UUID="3c623ba9-e5cf-4a1c-9168-f2cfadd4cbf9" TYPE="ext4" PARTUUID="8f4a100f-9640-4295-99fb-c5b900b2d9b0"
/dev/loop0: TYPE="squashfs"
/dev/sda3: UUID="74d94e31-1911-457c-98f6-8b4c57d5353d" TYPE="swap" PARTUUID="2fa7ba58-e630-4398-bc80-9edd9ae376d5"
/dev/sdb2: SEC_TYPE="msdos" UUID="398E-230F" TYPE="vfat" PARTUUID="0d66cd15-02"
/dev/sdb1: UUID="2017-08-01-11-51-33-00" LABEL="Ubuntu 16.04.3 LTS amd64" TYPE="iso9660" PTUUID="0d66cd15" PTTYPE="dos" PARTUUID="0d66cd15-01"


1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.

=================== No kernel in /mnt/boot-sav/sda1/boot:
BOOT.SDI


Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi

=================== sda2/etc/grub.d/ :
drwxr-xr-x  2 root root    4096 Feb  7 18:38 grub.d
total 80
-rwxr-xr-x 1 root root  9791 Jun 21  2017 00_header
-rwxr-xr-x 1 root root  6258 Mar 15  2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 Jun 21  2017 10_linux
-rwxr-xr-x 1 root root 11082 Jun 21  2017 20_linux_xen
-rwxr-xr-x 1 root root  1992 Jan 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 11692 Jun 21  2017 30_os-prober
-rwxr-xr-x 1 root root  1418 Jun 21  2017 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Jun 21  2017 40_custom
-rwxr-xr-x 1 root root   216 Jun 21  2017 41_custom
-rw-r--r-- 1 root root   483 Jun 21  2017 README




=================== sda2/etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=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=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"



/boot/efi detected in the fstab of sda2: UUID=A290-315D   (sda1)

=================== efibootmgr -v
BootCurrent: 0017
Timeout: 2 seconds
BootOrder: 0016,0017,0001,0019,0015,0000,0013,0014,0018
Boot0000* Windows Boot Manager	HD(1,GPT,7555fecf-8450-4b45-9ab1-78ed0a6c85bb,0x800,0x82000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...0................
Boot0001* ubuntu	HD(1,GPT,7555fecf-8450-4b45-9ab1-78ed0a6c85bb,0x800,0x82000)/File(EFIubuntushimx64.efi)
Boot0010  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu	FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012  Diagnostic Splash	FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013* ATA HDD: WDC WD10JPCX-24UE4T0                    	PciRoot(0x0)/Pci(0x11,0x0)/Sata(0,0,0)..bYVD.A...O.*..
Boot0014* ATAPI CD: HL-DT-ST DVDRAM GUE0N                   	PciRoot(0x0)/Pci(0x11,0x0)/Sata(1,0,0)......!N.:^G.V.T
Boot0015* PCI LAN: EFI Network (IPv4)	PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/MAC(54e1ad0293c3,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)x.J.+*.N.....=8.
Boot0016* USB FDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0017* USB HDD: General UDisk	PciRoot(0x0)/Pci(0x12,0x0)/USB(0,0)/USB(0,0)3.!..3.G..A.....
Boot0018* USB CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0019* PCI LAN: EFI Network (IPv6)	PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/MAC(54e1ad0293c3,0)/IPv6([::]:<->[::]:,0,0)x.J.+*.N.....=8.

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot enabled.


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-kernel,	is-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda1.
sda2	: sda,	not-sepboot,	grubenv-ok	grub2,	signed grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda2.
sda4	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /media/ubuntu/3c623ba9-e5cf-4a1c-9168-f2cfadd4cbf9.

sda	: GPT,	no-BIOS_boot,	has-correctEFI, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes


=================== parted -lm:

BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10JPCX-24U:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:20.3GB:20.0GB:ext4::;
3:20.3GB:28.3GB:8000MB:linux-swap(v1)::;
4:28.3GB:1000GB:972GB:ext4::;

BYT;
/dev/sdb:4037MB:scsi:512:512:unknown:General UDisk:;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
sdb   disk iso9660    3.8G Ubuntu 16.04.3 LTS amd64
sdb2  part vfat       2.3M Ubuntu 16.04.3 LTS amd64
sdb1  part iso9660    1.5G Ubuntu 16.04.3 LTS amd64
sr0   rom            1024M
loop0 loop squashfs   1.4G
sda   disk          931.5G
sda4  part ext4     905.2G
sda2  part ext4      18.6G
sda3  part swap       7.5G
sda1  part vfat       260M SYSTEM_DRV

KNAME ROTA RO RM STATE   MOUNTPOINT
sdb      1  0  1 running /cdrom
sdb2     1  0  1
sdb1     1  0  1
sr0      1  0  1 running
loop0    1  1  0         /rofs
sda      1  0  0 running
sda4     1  0  0         /media/ubuntu/3c623ba9-e5cf-4a1c-9168-f2cfadd4cbf9
sda2     1  0  0         /mnt/boot-sav/sda2
sda3     1  0  0         [SWAP]
sda1     1  0  0         /mnt/boot-sav/sda1


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1700276k,nr_inodes=425069,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=343264k,mode=755)
/dev/sdb on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
aufs on / type aufs (rw,noatime,si=683101199827c75c)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=16576)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=343264k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/sda4 on /media/ubuntu/3c623ba9-e5cf-4a1c-9168-f2cfadd4cbf9 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw,relatime,data=ordered)


=================== ls:
/sys/block/sda (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda3 sda4 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 sdb2 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 initctl input kfd kmsg lightnvm log mapper mcelog media0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sdb sdb1 sdb2 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 08 fe 1b  |.X.MSDOS5.0.....|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 20 08 00 01 02 00 00  00 00 00 00 02 00 00 00  |. ..............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 5d 31 90 a2 4e  4f 20 4e 41 4d 45 20 20  |..)]1..NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 56 40 88 4e 02 8a 56  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 44 69  |..............Di|
000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
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  ac 01 b9 01 00 00 55 aa  |..............U.|
00000200

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  1.7G     0  1.7G   0% /dev
tmpfs          tmpfs     336M  9.8M  326M   3% /run
/dev/sdb       iso9660   1.5G  1.5G     0 100% /cdrom
/dev/loop0     squashfs  1.5G  1.5G     0 100% /rofs
aufs           aufs      1.7G  101M  1.6G   6% /
tmpfs          tmpfs     1.7G  264K  1.7G   1% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     1.7G     0  1.7G   0% /sys/fs/cgroup
tmpfs          tmpfs     1.7G   53M  1.6G   4% /tmp
tmpfs          tmpfs     336M  104K  336M   1% /run/user/999
/dev/sda4      ext4      891G  165G  681G  20% /media/ubuntu/3c623ba9-e5cf-4a1c-9168-f2cfadd4cbf9
/dev/sda1      vfat      256M   33M  224M  13% /mnt/boot-sav/sda1
/dev/sda2      ext4       19G  4.7G   13G  28% /mnt/boot-sav/sda2

=================== fdisk -l:
Disk /dev/loop0: 1.4 GiB, 1532116992 bytes, 2992416 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 94ABB354-3D77-49B0-8EB1-B583ECF7DC4E

Device        Start        End    Sectors   Size Type
/dev/sda1      2048     534527     532480   260M EFI System
/dev/sda2    534528   39595074   39060547  18.6G Linux filesystem
/dev/sda3  39596032   55220223   15624192   7.5G Linux swap
/dev/sda4  55220224 1953523711 1898303488 905.2G Linux filesystem




Disk /dev/sdb: 3.8 GiB, 4037017600 bytes, 7884800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0d66cd15

Device     Boot   Start     End Sectors  Size Id Type
/dev/sdb1  *          0 3100799 3100800  1.5G  0 Empty
/dev/sdb2       3006684 3011355    4672  2.3M ef EFI (FAT-12/16/32)



=================== Recommended repair
The default repair of the Boot-Repair utility will 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
efi files in sda1/efi: /Microsoft/Boot/memtest.efi /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi /Boot/bootx64.efi

*******lspci -nnk | grep -iA3 vga
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R3 Graphics] [1002:9850] (rev 40)
Subsystem: Lenovo Mullins [Radeon R3 Graphics] [17aa:3808]
Kernel driver in use: radeon
Kernel modules: radeon, amdgpu
*******

grub-install --version
grub-install (GRUB) 2.02~beta2-36ubuntu3.16,grub-install (GRUB) 2.

chroot /mnt/boot-sav/sda2 efibootmgr -v
BootCurrent: 0017
Timeout: 2 seconds
BootOrder: 0016,0017,0001,0019,0015,0000,0013,0014,0018
Boot0000* Windows Boot Manager	HD(1,GPT,7555fecf-8450-4b45-9ab1-78ed0a6c85bb,0x800,0x82000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...0................
Boot0001* ubuntu	HD(1,GPT,7555fecf-8450-4b45-9ab1-78ed0a6c85bb,0x800,0x82000)/File(EFIubuntushimx64.efi)
Boot0010  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu	FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012  Diagnostic Splash	FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013* ATA HDD: WDC WD10JPCX-24UE4T0                    	PciRoot(0x0)/Pci(0x11,0x0)/Sata(0,0,0)..bYVD.A...O.*..
Boot0014* ATAPI CD: HL-DT-ST DVDRAM GUE0N                   	PciRoot(0x0)/Pci(0x11,0x0)/Sata(1,0,0)......!N.:^G.V.T
Boot0015* PCI LAN: EFI Network (IPv4)	PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/MAC(54e1ad0293c3,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)x.J.+*.N.....=8.
Boot0016* USB FDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0017* USB HDD: General UDisk	PciRoot(0x0)/Pci(0x12,0x0)/USB(0,0)/USB(0,0)3.!..3.G..A.....
Boot0018* USB CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0019* PCI LAN: EFI Network (IPv6)	PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/MAC(54e1ad0293c3,0)/IPv6([::]:<->[::]:,0,0)x.J.+*.N.....=8.

chroot /mnt/boot-sav/sda2 uname -r
Kernel: 4.10.0-28-generic

Reinstall the grub-efi-amd64-signed of sda2
Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0
efi files in sda1/efi: /Microsoft/Boot/memtest.efi /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi /Boot/bootx64.efi
df /dev/sda1
Save and rename /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
efi files in sda1/efi: /Microsoft/Boot/memtest.efi /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi /Boot/bootx64.efi /Boot/bkpbootx64.efi
Add /mnt/boot-sav/sda2/boot/efi efi entries in /mnt/boot-sav/sda2/etc/grub.d/25_custom
Adding custom /mnt/boot-sav/sda2/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Adding custom /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bkpbootx64.efi
sda1/bkpbootx64.efi already added
Adding custom /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/fwupx64.efi
Adding custom /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/mmx64.efi
sda1/bootmgfw.efi already added
Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0

chroot /mnt/boot-sav/sda2 efibootmgr -v
BootCurrent: 0017
Timeout: 2 seconds
BootOrder: 0001,0016,0017,0019,0015,0000,0013,0014,0018
Boot0000* Windows Boot Manager	HD(1,GPT,7555fecf-8450-4b45-9ab1-78ed0a6c85bb,0x800,0x82000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...0................
Boot0001* ubuntu	HD(1,GPT,7555fecf-8450-4b45-9ab1-78ed0a6c85bb,0x800,0x82000)/File(EFIubuntushimx64.efi)
Boot0010  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu	FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012  Diagnostic Splash	FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013* ATA HDD: WDC WD10JPCX-24UE4T0                    	PciRoot(0x0)/Pci(0x11,0x0)/Sata(0,0,0)..bYVD.A...O.*..
Boot0014* ATAPI CD: HL-DT-ST DVDRAM GUE0N                   	PciRoot(0x0)/Pci(0x11,0x0)/Sata(1,0,0)......!N.:^G.V.T
Boot0015* PCI LAN: EFI Network (IPv4)	PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/MAC(54e1ad0293c3,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)x.J.+*.N.....=8.
Boot0016* USB FDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0017* USB HDD: General UDisk	PciRoot(0x0)/Pci(0x12,0x0)/USB(0,0)/USB(0,0)3.!..3.G..A.....
Boot0018* USB CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0019* PCI LAN: EFI Network (IPv6)	PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/MAC(54e1ad0293c3,0)/IPv6([::]:<->[::]:,0,0)x.J.+*.N.....=8.

chroot /mnt/boot-sav/sda2 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.13.0-32-generic
Found initrd image: /boot/initrd.img-4.13.0-32-generic
Found linux image: /boot/vmlinuz-4.10.0-28-generic
Found initrd image: /boot/initrd.img-4.10.0-28-generic
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Found Windows Boot Manager on /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi
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 BIOS boot on sda1/EFI/ubuntu/shimx64.efi file!

If your computer reboots directly into Windows, try to change the boot order in your BIOS.
If your BIOS does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi

Effectivement, on peut voir dans ce résultat une ligne "An error occurred during the repair." mais moi je constate que la réparation s'est bien réalisée (ce n'est pas la première fois que je vois ce message "An error occurred during the repair." et je n'y fais plus attention puisqu'à chaque fois, la réparation est bonne). Est-ce qu'après cette réparation tu as jours le probème signalé dans le post #1 (Le PC démarre puis affiche le bandeau Lenovo puis éteint puis recommence) ou bien ?

Dernière modification par malbo (Le 09/02/2018, à 14:54)

Hors ligne

#4 Le 09/02/2018, à 15:30

denispinard

Re : RESOLU Grub2 et boot repair

Merci de porter attention a mes soucis.

En effet, pour répondre a Malbo, même après la réparation de boot-repair, le bandeau Lenovo revient.

Pour Yon,  ci-dessous le résultat de la commande less /var/log/apt/history.log

Start-Date: 2017-08-01  11:18:55
Commandline: apt-get --yes --force-yes upgrade
Upgrade: init:amd64 (1.29ubuntu1, 1.29ubuntu4), init-system-helpers:amd64 (1.29ubuntu1, 1.29ubuntu4), libdns-export162:amd64 (1:9.10.3.dfsg.P4-8, 1:9.10.3.dfsg.P4-8ubuntu1.7), libfdisk1:amd64 (2.27.1-6ubuntu3, 2.27.1-6ubuntu3.3), ifupdown:amd64 (0.8.10ubuntu1, 0.8.10ubuntu1.2), vim-common:amd64 (2:7.4.1689-3ubuntu1, 2:7.4.1689-3ubuntu1.2), libapt-inst2.0:amd64 (1.2.10ubuntu1, 1.2.24), libgnutls-openssl27:amd64 (3.4.10-4ubuntu1, 3.4.10-4ubuntu1.3), libsystemd0:amd64 (229-4ubuntu4, 229-4ubuntu19), apt:amd64 (1.2.10ubuntu1, 1.2.24), makedev:amd64 (2.3.1-93ubuntu1, 2.3.1-93ubuntu2~ubuntu16.04.1), libkmod2:amd64 (22-1ubuntu4, 22-1ubuntu5), libmount1:amd64 (2.27.1-6ubuntu3, 2.27.1-6ubuntu3.3), zlib1g:amd64 (1:1.2.8.dfsg-2ubuntu4, 1:1.2.8.dfsg-2ubuntu4.1), sudo:amd64 (1.8.16-0ubuntu1, 1.8.16-0ubuntu1.5), libc6:amd64 (2.23-0ubuntu3, 2.23-0ubuntu9), console-setup-linux:amd64 (1.108ubuntu15, 1.108ubuntu15.3), util-linux:amd64 (2.27.1-6ubuntu3, 2.27.1-6ubuntu3.3), python3.5:amd64 (3.5.1-10, 3.5.2-2ubuntu0~16.04.1), coreutils:amd64 (8.25-2ubuntu2, 8.25-2ubuntu3~16.04), python3.5-minimal:amd64 (3.5.1-10, 3.5.2-2ubuntu0~16.04.1), udev:amd64 (229-4ubuntu4, 229-4ubuntu19), locales:amd64 (2.23-0ubuntu3, 2.23-0ubuntu9), console-setup:amd64 (1.108ubuntu15, 1.108ubuntu15.3), passwd:amd64 (1:4.2-3.1ubuntu5, 1:4.2-3.1ubuntu5.3), procps:amd64 (2:3.3.10-4ubuntu2, 2:3.3.10-4ubuntu2.3), resolvconf:amd64 (1.78ubuntu2, 1.78ubuntu4), libklibc:amd64 (2.0.4-8ubuntu1, 2.0.4-8ubuntu1.16.04.3), isc-dhcp-common:amd64 (4.3.3-5ubuntu12, 4.3.3-5ubuntu12.7), libapt-pkg5.0:amd64 (1.2.10ubuntu1, 1.2.24), kbd:amd64 (1.15.5-1ubuntu4, 1.15.5-1ubuntu5), initramfs-tools-bin:amd64 (0.122ubuntu8, 0.122ubuntu8.8), libprocps4:amd64 (2:3.3.10-4ubuntu2, 2:3.3.10-4ubuntu2.3), libexpat1:amd64 (2.1.0-7, 2.1.0-7ubuntu0.16.04.3), kmod:amd64 (22-1ubuntu4, 22-1ubuntu5), libudev1:amd64 (229-4ubuntu4, 229-4ubuntu19), libapparmor1:amd64 (2.10.95-0ubuntu2, 2.10.95-0ubuntu2.6), mount:amd64 (2.27.1-6ubuntu3, 2.27.1-6ubuntu3.3), gcc-5-base:amd64 (5.3.1-14ubuntu2, 5.4.0-6ubuntu1~16.04.4), libblkid1:amd64 (2.27.1-6ubuntu3, 2.27.1-6ubuntu3.3), dpkg:amd64 (1.18.4ubuntu1, 1.18.4ubuntu1.2), libisc-export160:amd64 (1:9.10.3.dfsg.P4-8, 1:9.10.3.dfsg.P4-8ubuntu1.7), libc-bin:amd64 (2.23-0ubuntu3, 2.23-0ubuntu9), tar:amd64 (1.28-2.1, 1.28-2.1ubuntu0.1), systemd-sysv:amd64 (229-4ubuntu4, 229-4ubuntu19), libuuid1:amd64 (2.27.1-6ubuntu3, 2.27.1-6ubuntu3.3), libgcrypt20:amd64 (1.6.5-2, 1.6.5-2ubuntu0.3), gpgv:amd64 (1.4.20-1ubuntu3, 1.4.20-1ubuntu3.1), distro-info-data:amd64 (0.28, 0.28ubuntu0.3), systemd:amd64 (229-4ubuntu4, 229-4ubuntu19), libsmartcols1:amd64 (2.27.1-6ubuntu3, 2.27.1-6ubuntu3.3), dh-python:amd64 (2.20151103ubuntu1, 2.20151103ubuntu:

Hors ligne

#5 Le 09/02/2018, à 16:29

yon

Re : RESOLU Grub2 et boot repair

ce qui m'intéresse est la date 2018-02-06,on verra ce que tu as installé.tu descends jusqu'en bas de ton log,et tu verras marquer " Start-Date: 2018-02-06 "

Hors ligne

#6 Le 09/02/2018, à 17:05

denispinard

Re : RESOLU Grub2 et boot repair

Dans le log, je ne trouve que 2018-08-01.
Il n'y a plus "mardi dernier, le 6" car j'ai réinstalle ubuntu a partir de ma clé USB.
Ce qui avait été installe avant la panne est la mise a jour proposée par Ubuntu avec mot de passe système. C'est en rebootant juste après que la panne est arrivée.

Une autre précision : j'ai acquis le PC avec Windows et ai installe Ubuntu en faisant supprimer tout Windows. Mais il y a quand même une partition Windows sur le disque dur. Est-ce important ?

Hors ligne

#7 Le 09/02/2018, à 17:38

yon

Re : RESOLU Grub2 et boot repair

rentre dans le bios.Sers toi de ce lien,pour faire ce que boot-repair demande (Boot repair a aussi indique "an error occured during this repair" et demande de faire booter le bios sur sda1/EFI/ubuntu/shimx64.efi)

Hors ligne

#8 Le 09/02/2018, à 20:43

denispinard

Re : RESOLU Grub2 et boot repair

Après plusieurs allers-retours entre le forum et le bios, je comprends ou aller dans le bios mais la zone n'est pas accessible.
Dimanche, je fouillerai chez Lenovo pour trouver comment activer les zones fermées et reviens te raconter la suite -positive- de l'histoire...

Hors ligne

#9 Le 09/02/2018, à 20:49

yon

Re : RESOLU Grub2 et boot repair

de mémoire,je crois qu'il y a une histoire de mot de passe,sinon tu trouveras dans la doc

Hors ligne

#10 Le 14/02/2018, à 12:05

denispinard

Re : RESOLU Grub2 et boot repair

Bonjour,

j'ai boxé la doc de Lenovo sur le Bios et n'ai rien trouvé pour ajouter la ligne ad hoc pour booter correctement selon les conseils de Boot Repair.

Ce matin, j'ai "disable" le "Secure Boot Mode".

Je suis arrivé sur une page "Grub" qui me propose Ubuntu et plusieurs autres options.
Le temps que je lise, les secondes se sont écoulées et je suis arrivé ...sur "mon" bureau !

Utilisateur ignorant, je me dis que ça marche !

>>> Mais puis-je rester avec le "Secure Boot Mode" en fonctionnement "disable" ?

>>> Ubuntu m'a proposé des mises à jour. Puis-je les réinstaller ?

Après, je mettrai la question résolue.
J'ai gardé des photos d'écrans du Bios. Seraient-elles intéressantes à partager ? Et dans ce cas, où les mettre ?

Merci,
Denis

Hors ligne

#11 Le 14/02/2018, à 14:54

malbo

Re : RESOLU Grub2 et boot repair

Tout m'intéresse personnellement.
Mais en priorité, je te prie de faire un Boot-Info depuis une session de ton Ubuntu installé en suivant les indications du paragraphe 1.1 Cas où au moins un ubuntu installé sur disque est opérationnel. Tu donneras l'URL de ce Boot-Info dans ta réponse.

Hors ligne

#12 Le 15/02/2018, à 07:43

denispinard

Re : RESOLU Grub2 et boot repair

Bonjour,

j'ai lancé les 2 commandes du lien et voici le résultat :

dp@dp-Lenovo-ideapad-110-17ACL:~$ sudo add-apt-repository -y ppa:yannubuntu/boot-repair && sudo apt update && sudo apt install -y boot-info 
[sudo] Mot de passe de dp : 
gpg: le porte-clefs « /tmp/tmpfn0uza1t/secring.gpg » a été créé
gpg: le porte-clefs « /tmp/tmpfn0uza1t/pubring.gpg » a été créé
gpg: demande de la clef 60D8DA0B sur le serveur hkp keyserver.ubuntu.com
gpg: /tmp/tmpfn0uza1t/trustdb.gpg : base de confiance créée
gpg: clef 60D8DA0B : clef publique « Launchpad PPA for YannUbuntu » importée
gpg: Quantité totale traitée : 1
gpg:               importées : 1  (RSA: 1)
OK
Atteint:1 [url]http://fr.archive.ubuntu.com/ubuntu[/url] xenial InRelease
Réception de:2 [url]http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu[/url] xenial InRelease [17,5 kB]
Réception de:3 [url]http://fr.archive.ubuntu.com/ubuntu[/url] xenial-updates InRelease [102 kB]
Réception de:4 [url]http://security.ubuntu.com/ubuntu[/url] xenial-security InRelease [102 kB]
Réception de:5 [url]http://fr.archive.ubuntu.com/ubuntu[/url] xenial-backports InRelease [102 kB]
Réception de:6 [url]http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu[/url] xenial/main amd64 Packages [1 876 B]
Réception de:7 [url]http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu[/url] xenial/main i386 Packages [1 876 B]
Réception de:8 [url]http://fr.archive.ubuntu.com/ubuntu[/url] xenial-updates/main amd64 Packages [721 kB]
Réception de:9 [url]http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu[/url] xenial/main Translation-en [2 036 B]
Réception de:10 [url]http://security.ubuntu.com/ubuntu[/url] xenial-security/main amd64 Packages [442 kB]
Réception de:11 [url]http://fr.archive.ubuntu.com/ubuntu[/url] xenial-updates/main i386 Packages [670 kB]
Réception de:12 [url]http://security.ubuntu.com/ubuntu[/url] xenial-security/main i386 Packages [399 kB]
Réception de:13 [url]http://security.ubuntu.com/ubuntu[/url] xenial-security/main Translation-en [193 kB]
Réception de:14 [url]http://fr.archive.ubuntu.com/ubuntu[/url] xenial-updates/main Translation-en [300 kB]
Réception de:15 [url]http://security.ubuntu.com/ubuntu[/url] xenial-security/main amd64 DEP-11 Metadata [67,5 kB]
Réception de:16 [url]http://security.ubuntu.com/ubuntu[/url] xenial-security/main DEP-11 64x64 Icons [72,9 kB]
Réception de:17 [url]http://security.ubuntu.com/ubuntu[/url] xenial-security/universe amd64 Packages [205 kB]
Réception de:18 [url]http://security.ubuntu.com/ubuntu[/url] xenial-security/universe i386 Packages [166 kB]
Réception de:19 [url]http://fr.archive.ubuntu.com/ubuntu[/url] xenial-updates/main amd64 DEP-11 Metadata [308 kB]
Réception de:20 [url]http://security.ubuntu.com/ubuntu[/url] xenial-security/universe Translation-en [105 kB]
Réception de:21 [url]http://security.ubuntu.com/ubuntu[/url] xenial-security/universe amd64 DEP-11 Metadata [51,4 kB]
Réception de:22 [url]http://security.ubuntu.com/ubuntu[/url] xenial-security/universe DEP-11 64x64 Icons [80,2 kB]
Réception de:23 [url]http://fr.archive.ubuntu.com/ubuntu[/url] xenial-updates/main DEP-11 64x64 Icons [224 kB]
Réception de:24 [url]http://fr.archive.ubuntu.com/ubuntu[/url] xenial-updates/universe amd64 Packages [585 kB]
Réception de:25 [url]http://fr.archive.ubuntu.com/ubuntu[/url] xenial-updates/universe i386 Packages [543 kB]
Réception de:26 [url]http://fr.archive.ubuntu.com/ubuntu[/url] xenial-updates/universe Translation-en [237 kB]
Réception de:27 [url]http://fr.archive.ubuntu.com/ubuntu[/url] xenial-updates/universe amd64 DEP-11 Metadata [191 kB]
Réception de:28 [url]http://fr.archive.ubuntu.com/ubuntu[/url] xenial-updates/universe DEP-11 64x64 Icons [272 kB]
Réception de:29 [url]http://fr.archive.ubuntu.com/ubuntu[/url] xenial-updates/multiverse amd64 DEP-11 Metadata [5 888 B]
Réception de:30 [url]http://fr.archive.ubuntu.com/ubuntu[/url] xenial-backports/main amd64 DEP-11 Metadata [3 324 B]
Réception de:31 [url]http://fr.archive.ubuntu.com/ubuntu[/url] xenial-backports/universe amd64 DEP-11 Metadata [4 696 B]
6 177 ko réceptionnés en 4s (1 332 ko/s)                                
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
320 paquets peuvent être mis à jour. Utilisez « apt list --upgradable » pour les voir.
E: Impossible d'obtenir le verrou /var/lib/dpkg/lock - open (11: Ressource temporairement non disponible)
E: Impossible de verrouiller le répertoire d'administration (/var/lib/dpkg/). Il est possible qu'un autre processus l'utilise.
dp@dp-Lenovo-ideapad-110-17ACL:~$ 

>>>>> Puis l'autre commande :

dp@dp-Lenovo-ideapad-110-17ACL:~$ sudo boot-info
sudo: boot-info : commande introuvable
dp@dp-Lenovo-ideapad-110-17ACL:~$ 

Merci de me donner tes conclusions,

Denis


Modération : merci d'utiliser les balises code (explications ici).

Dernière modification par cqfd93 (Le 15/02/2018, à 08:04)

Hors ligne

#13 Le 15/02/2018, à 07:53

malbo

Re : RESOLU Grub2 et boot repair

Bonjour,
L'installation de Boot-Info ne s'est pas faite (*). Je te prie de passer cette commande :

sudo apt install -y boot-info

Quand ce sera installé, tu pourras lancer Boot-Info par la commande :

sudo boot-info

(*) ce sont les lignes suivantes du résultat que tu as collé dans ton post #12 :

E: Impossible d'obtenir le verrou /var/lib/dpkg/lock - open (11: Ressource temporairement non disponible)
E: Impossible de verrouiller le répertoire d'administration (/var/lib/dpkg/). Il est possible qu'un autre processus l'utilise.

qui donnent la raison pour laquelle cette install de Boot-Info n'a pas pu se faire. Il y avait un processus qui bloquait à ce moment là (probablement la logithèque qui se mettait à jour). Mais si tu repasses aujourd'hui la commande d'installation de Boot-Info, ce blocage n'existera plus.

Dernière modification par malbo (Le 15/02/2018, à 08:32)

Hors ligne

#14 Le 15/02/2018, à 17:44

denispinard

Re : RESOLU Grub2 et boot repair

Bonsoir,

voici le résultat de la commande "sudo boot-info" après son installation.
Il y a plein de conseils.
Pour mémoire, l'ordi ne tourne que sous Ubuntu. Le Secure Boot Mode du Bios est déactivé. J'ai accès au bureau "normalement".
Que faut-il faire ?

Merci,

Denis

Boot Info Script 8f991e4 + Boot-Repair extra info      [Boot-Info 25oct2017]


============================= Boot Info Summary: ===============================

=> No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:        /EFI/ubuntu/grub.cfg /EFI/Boot/bkpbootx64.efi
                       /EFI/Boot/bootx64.efi /EFI/ubuntu/fwupx64.efi
                       /EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi
                       /EFI/ubuntu/shimx64.efi
                       /EFI/Microsoft/Boot/bootmgfw.efi
                       /EFI/Microsoft/Boot/bootmgr.efi
                       /EFI/Microsoft/Boot/memtest.efi
                       /boot-repair/log/20180209_103134/sda1/bootx64.efi

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:  Ubuntu 16.04.3 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sda3: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info:

sda4: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System: 
    Boot files:       

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1                 2,048       534,527       532,480 EFI System partition
/dev/sda2               534,528    39,595,074    39,060,547 Data partition (Linux)
/dev/sda3            39,596,032    55,220,223    15,624,192 Swap partition (Linux)
/dev/sda4            55,220,224 1,953,523,711 1,898,303,488 Data partition (Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        A290-315D                              vfat       SYSTEM_DRV
/dev/sda2        c8238260-291f-4c6c-8f87-a472970ace9c   ext4       
/dev/sda3        74d94e31-1911-457c-98f6-8b4c57d5353d   swap       
/dev/sda4        3c623ba9-e5cf-4a1c-9168-f2cfadd4cbf9   ext4       

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Feb 14 11:48 ata-HL-DT-ST_DVDRAM_GUE0N_KW9H2PI1313 -> ../../sr0
lrwxrwxrwx 1 root root  9 Feb 15 17:33 ata-WDC_WD10JPCX-24UE4T0_WD-WX91E66E99A7 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 15 17:33 ata-WDC_WD10JPCX-24UE4T0_WD-WX91E66E99A7-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 15 17:33 ata-WDC_WD10JPCX-24UE4T0_WD-WX91E66E99A7-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 15 17:33 ata-WDC_WD10JPCX-24UE4T0_WD-WX91E66E99A7-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 15 17:33 ata-WDC_WD10JPCX-24UE4T0_WD-WX91E66E99A7-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 Feb 14 11:48 wwn-0x5001480000000000 -> ../../sr0
lrwxrwxrwx 1 root root  9 Feb 15 17:33 wwn-0x50014ee65ccbeaee -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 15 17:33 wwn-0x50014ee65ccbeaee-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 15 17:33 wwn-0x50014ee65ccbeaee-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 15 17:33 wwn-0x50014ee65ccbeaee-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 15 17:33 wwn-0x50014ee65ccbeaee-part4 -> ../../sda4

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sda1        /boot/efi                vfat       (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda2        /                        ext4       (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda4        /home                    ext4       (rw,relatime,data=ordered)


========================== sda1/EFI/ubuntu/grub.cfg: ===========================

--------------------------------------------------------------------------------
search.fs_uuid c8238260-291f-4c6c-8f87-a472970ace9c root hd0,gpt2
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------

=========================== sda2/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
else
  search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=10
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
    set gfxpayload="${1}"
    if [ "${1}" = "keep" ]; then
        set vt_handoff=vt.handoff=7
    else
        set vt_handoff=
    fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c8238260-291f-4c6c-8f87-a472970ace9c' {
    recordfail
    load_video
    gfxmode $linux_gfx_mode
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt2'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
    else
      search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
    fi
    linux    /boot/vmlinuz-4.13.0-32-generic.efi.signed root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro  quiet splash $vt_handoff
    initrd    /boot/initrd.img-4.13.0-32-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-c8238260-291f-4c6c-8f87-a472970ace9c' {
    menuentry 'Ubuntu, with Linux 4.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-32-generic-advanced-c8238260-291f-4c6c-8f87-a472970ace9c' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
        else
          search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
        fi
        echo    'Loading Linux 4.13.0-32-generic ...'
        linux    /boot/vmlinuz-4.13.0-32-generic.efi.signed root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.13.0-32-generic
    }
    menuentry 'Ubuntu, with Linux 4.13.0-32-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-32-generic-init-upstart-c8238260-291f-4c6c-8f87-a472970ace9c' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
        else
          search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
        fi
        echo    'Loading Linux 4.13.0-32-generic ...'
        linux    /boot/vmlinuz-4.13.0-32-generic.efi.signed root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro  quiet splash $vt_handoff init=/sbin/upstart
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.13.0-32-generic
    }
    menuentry 'Ubuntu, with Linux 4.13.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-32-generic-recovery-c8238260-291f-4c6c-8f87-a472970ace9c' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
        else
          search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
        fi
        echo    'Loading Linux 4.13.0-32-generic ...'
        linux    /boot/vmlinuz-4.13.0-32-generic.efi.signed root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.13.0-32-generic
    }
    menuentry 'Ubuntu, with Linux 4.10.0-28-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-advanced-c8238260-291f-4c6c-8f87-a472970ace9c' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
        else
          search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
        fi
        echo    'Loading Linux 4.10.0-28-generic ...'
            linux    /boot/vmlinuz-4.10.0-28-generic root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro  quiet splash $vt_handoff
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.10.0-28-generic
    }
    menuentry 'Ubuntu, with Linux 4.10.0-28-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-init-upstart-c8238260-291f-4c6c-8f87-a472970ace9c' {
        recordfail
        load_video
        gfxmode $linux_gfx_mode
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
        else
          search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
        fi
        echo    'Loading Linux 4.10.0-28-generic ...'
            linux    /boot/vmlinuz-4.10.0-28-generic root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro  quiet splash $vt_handoff init=/sbin/upstart
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.10.0-28-generic
    }
    menuentry 'Ubuntu, with Linux 4.10.0-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-recovery-c8238260-291f-4c6c-8f87-a472970ace9c' {
        recordfail
        load_video
        insmod gzio
        if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
        insmod part_gpt
        insmod ext2
        set root='hd0,gpt2'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
        else
          search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
        fi
        echo    'Loading Linux 4.10.0-28-generic ...'
            linux    /boot/vmlinuz-4.10.0-28-generic root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro recovery nomodeset
        echo    'Loading initial ramdisk ...'
        initrd    /boot/initrd.img-4.10.0-28-generic
    }
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/25_custom ###

menuentry "Windows UEFI bootmgfw.efi" {
search --fs-uuid --no-floppy --set=root A290-315D
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}

menuentry "Windows Boot UEFI loader" {
search --fs-uuid --no-floppy --set=root A290-315D
chainloader (${root})/EFI/Boot/bkpbootx64.efi
}

menuentry "EFI/ubuntu/fwupx64.efi" {
search --fs-uuid --no-floppy --set=root A290-315D
chainloader (${root})/EFI/ubuntu/fwupx64.efi
}

menuentry "EFI/ubuntu/mmx64.efi" {
search --fs-uuid --no-floppy --set=root A290-315D
chainloader (${root})/EFI/ubuntu/mmx64.efi
}
### END /etc/grub.d/25_custom ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-A290-315D' {
    insmod part_gpt
    insmod fat
    set root='hd0,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  A290-315D
    else
      search --no-floppy --fs-uuid --set=root A290-315D
    fi
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
    fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda2/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=c8238260-291f-4c6c-8f87-a472970ace9c /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
#UUID=A290-315D  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda4 during installation
UUID=3c623ba9-e5cf-4a1c-9168-f2cfadd4cbf9 /home           ext4    defaults        0       2
# swap was on /dev/sda3 during installation
UUID=74d94e31-1911-457c-98f6-8b4c57d5353d none            swap    sw              0       0
UUID=A290-315D    /boot/efi    vfat    defaults    0    1
--------------------------------------------------------------------------------

=================== sda2: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

   2.385551453 = 2.561466368    boot/grub/grub.cfg                             1
   2.082084656 = 2.235621376    boot/vmlinuz-4.10.0-28-generic                 1
   3.168266296 = 3.401900032    boot/vmlinuz-4.13.0-32-generic                 1
   3.402652740 = 3.653570560    boot/vmlinuz-4.13.0-32-generic.efi.signed      1
   2.082084656 = 2.235621376    vmlinuz                                        1
   3.529369354 = 3.789631488    boot/initrd.img-4.10.0-28-generic              1
   3.473628998 = 3.729780736    boot/initrd.img-4.13.0-32-generic              2
   3.529369354 = 3.789631488    initrd.img                                     1
   3.529369354 = 3.789631488    initrd.img.old                                 1


ADDITIONAL INFORMATION :
=================== log of boot-info 20180215_1733 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
boot-info is executed in installed-session (Ubuntu 16.04.3 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.13.0-32-generic.efi.signed root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro quiet splash

=================== os-prober:
/dev/sda2:L'OS actuellement utilisé - Ubuntu 16.04.3 LTS CurrentSession:linux
/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

=================== blkid:
/dev/sda1: LABEL="SYSTEM_DRV" UUID="A290-315D" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="7555fecf-8450-4b45-9ab1-78ed0a6c85bb"
/dev/sda2: UUID="c8238260-291f-4c6c-8f87-a472970ace9c" TYPE="ext4" PARTUUID="1dc61e3c-4f7f-45a9-8cf5-96f10cdd9639"
/dev/sda3: UUID="74d94e31-1911-457c-98f6-8b4c57d5353d" TYPE="swap" PARTUUID="2fa7ba58-e630-4398-bc80-9edd9ae376d5"
/dev/sda4: UUID="3c623ba9-e5cf-4a1c-9168-f2cfadd4cbf9" TYPE="ext4" PARTUUID="8f4a100f-9640-4295-99fb-c5b900b2d9b0"


1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.


=================== /etc/grub.d/ :
drwxr-xr-x  2 root root    4096 févr.  9 11:32 grub.d
total 84
-rwxr-xr-x 1 root root  9791 juin  21  2017 00_header
-rwxr-xr-x 1 root root  6258 mars  15  2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 juin  21  2017 10_linux
-rwxr-xr-x 1 root root 11082 juin  21  2017 20_linux_xen
-rwxr-xr-x 1 root root  1992 janv. 28  2016 20_memtest86+
-rwxr-xr-x 1 root root   580 févr.  9 11:32 25_custom
-rwxr-xr-x 1 root root 11692 juin  21  2017 30_os-prober
-rwxr-xr-x 1 root root  1418 juin  21  2017 30_uefi-firmware
-rwxr-xr-x 1 root root   214 juin  21  2017 40_custom
-rwxr-xr-x 1 root root   216 juin  21  2017 41_custom
-rw-r--r-- 1 root root   483 juin  21  2017 README




=================== /etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=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=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"



/boot/efi detected in the fstab of sda2: UUID=A290-315D     (sda1)
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bkpbootx64.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi
Presence of bkp file detected: /boot/efi/EFI/Boot/bkpbootx64.efi

=================== efibootmgr -v
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0017,0016,0001,0019,0015,0000,0013,0014,0018
Boot0000* Windows Boot Manager    HD(1,GPT,7555fecf-8450-4b45-9ab1-78ed0a6c85bb,0x800,0x82000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...0................
Boot0001* ubuntu    HD(1,GPT,7555fecf-8450-4b45-9ab1-78ed0a6c85bb,0x800,0x82000)/File(EFIubuntushimx64.efi)
Boot0010  Setup    FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu    FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012  Diagnostic Splash    FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013* ATA HDD: WDC WD10JPCX-24UE4T0                        PciRoot(0x0)/Pci(0x11,0x0)/Sata(0,0,0)..bYVD.A...O.*..
Boot0014* ATAPI CD: HL-DT-ST DVDRAM GUE0N                       PciRoot(0x0)/Pci(0x11,0x0)/Sata(1,0,0)......!N.:^G.V.T
Boot0015* PCI LAN: EFI Network (IPv4)    PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/MAC(54e1ad0293c3,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)x.J.+*.N.....=8.
Boot0016* USB FDD:    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0017* USB HDD:    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0018* USB CD:    VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0019* PCI LAN: EFI Network (IPv6)    PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/MAC(54e1ad0293c3,0)/IPv6([::]:<->[::]:,0,0)x.J.+*.N.....=8.

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sda2    : sda,    not-sepboot,    grubenv-ok    grub2,    signed grub-efi ,    update-grub,    64,    with-boot,    is-os,    not--efi--part,    fstab-without-boot,    fstab-has-goodEFI,    no-nt,    no-winload,    no-recov-nor-hid,    no-bmgr,    notwinboot,    apt-get,    grub-install,    with--usr,    fstab-without-usr,    not-sep-usr,    standard,    not-far,    notbiosboot, .
sda1    : sda,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    is-os,    is-correct-EFI,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    no-bmgr,    notwinboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    not-far,    notbiosboot, /boot/efi.
sda4    : sda,    maybesepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    no-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    no-bmgr,    notwinboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    farbios,    notbiosboot, /home.

sda    : GPT,    no-BIOS_boot,    has-correctEFI,     not-usb,    not-mmc, has-os,    2048 sectors * 512 bytes


=================== parted -lm:

BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10JPCX-24U:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:20.3GB:20.0GB:ext4::;
3:20.3GB:28.3GB:8000MB:linux-swap(v1)::;
4:28.3GB:1000GB:972GB:ext4::;

=================== lsblk:
KNAME TYPE FSTYPE   SIZE LABEL
sr0   rom          1024M
sda   disk        931,5G
sda4  part ext4   905,2G
sda2  part ext4    18,6G
sda3  part swap     7,5G
sda1  part vfat     260M SYSTEM_DRV

KNAME ROTA RO RM STATE   MOUNTPOINT
sr0      1  0  1 running
sda      1  0  0 running
sda4     1  0  0         /home
sda2     1  0  0         /
sda3     1  0  0         [SWAP]
sda1     1  0  0         /boot/efi


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1691068k,nr_inodes=422767,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=342820k,mode=755)
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12933)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda4 on /home type ext4 (rw,relatime,data=ordered)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=342820k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda3 sda4 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 initctl input kfd kmsg lightnvm log mapper mcelog media0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 08 fe 1b  |.X.MSDOS5.0.....|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 20 08 00 01 02 00 00  00 00 00 00 02 00 00 00  |. ..............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 5d 31 90 a2 4e  4f 20 4e 41 4d 45 20 20  |..)]1..NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 56 40 88 4e 02 8a 56  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 44 69  |..............Di|
000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
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  ac 01 b9 01 00 00 55 aa  |..............U.|
00000200

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  1.7G     0  1.7G   0% /dev
tmpfs          tmpfs     335M  9.8M  326M   3% /run
/dev/sda2      ext4       19G  4.7G   13G  28% /
tmpfs          tmpfs     1.7G  432K  1.7G   1% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     1.7G     0  1.7G   0% /sys/fs/cgroup
/dev/sda1      vfat      256M   35M  222M  14% /boot/efi
/dev/sda4      ext4      891G  165G  681G  20% /home
tmpfs          tmpfs     335M   88K  335M   1% /run/user/1000

=================== fdisk -l:
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 94ABB354-3D77-49B0-8EB1-B583ECF7DC4E

Device        Start        End    Sectors   Size Type
/dev/sda1      2048     534527     532480   260M EFI System
/dev/sda2    534528   39595074   39060547  18.6G Linux filesystem
/dev/sda3  39596032   55220223   15624192   7.5G Linux swap
/dev/sda4  55220224 1953523711 1898303488 905.2G Linux filesystem




=================== Suggested repair
The default repair of the Boot-Repair utility would 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  restore-efi-backups


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le fichier sda1/efi/.../grub*.efi !

Si votre ordinateur redémarre directement sur Windows, essayez de changer l'ordre de démarrage dans votre BIOS.
Si votre BIOS ne permet pas de changer l'ordre de démarrage, changez l'entrée de démarrage par défaut de l'amorceur Windows.
Par exemple, vous pouvez démarrer Windows, puis saisir la commande suivante dans une invite de commande en mode administrateur :
bcdedit /set {bootmgr} path \EFI\...\grub*.efi


=================== User settings
The settings chosen by the user will not act on the boot.

Hors ligne

#15 Le 15/02/2018, à 17:51

malbo

Re : RESOLU Grub2 et boot repair

Heureusement que je t'avais écrit dans le post #11 : "Tu donneras l'URL de ce Boot-Info dans ta réponse."
Tu as collé ça comme un cochon. Je te prie de t'appuyer sur mes explications de ce post pour mettre le contenu de ton rapport entre balises : https://forum.ubuntu-fr.org/viewtopic.p … #p21728085

Dernière modification par malbo (Le 15/02/2018, à 17:53)

Hors ligne

#16 Le 15/02/2018, à 21:38

denispinard

Re : RESOLU Grub2 et boot repair

Et comme ça ?
http://paste.ubuntu.com/p/7DVXSvPqPc/

Je salue ta compétence comme tu saluerais la mienne si tu avais besoin d'informations en gestion d'entreprise, en achat et en logistique.

La communauté Linux fait de remarquables efforts pour rendre Ubuntu - je ne connais que cela- utilisable par des ignorants (capables de réfléchir sur le Bios...). Mes premières commandes "sudo" ne sont arrivées qu'à la suite d'une panne suite à une mise à jour.
Et Je maintiens qu'Ubuntu est un superbe outil !

Oublions donc l'insulte à l'ignorant qui voulait bien faire en fournissant un texte lisible...

Et je continuerai de faire la promo d'Ubuntu !

Denis PINARD

Hors ligne

#17 Le 15/02/2018, à 21:45

xubu1957

Re : RESOLU Grub2 et boot repair

Bonjour,

Pour ajouter toi-même les balises code à ton précédent message #14

  • Cliquer sur  le lien « Modifier » en bas à droite du message

  • Sélectionner le texte

  • Cliquer sur le <> de l'éditeur de message

1485703524.png

comme indiqué dans le : Retour utilisable de commande

Pour obtenir l'affichage du Boot Info :

 Boot Info Script 8f991e4 + Boot-Repair extra info      [Boot-Info 25oct2017]


============================= Boot Info Summary: ===============================

 => No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/ubuntu/grub.cfg /EFI/Boot/bkpbootx64.efi 
                       /EFI/Boot/bootx64.efi /EFI/ubuntu/fwupx64.efi 
                       /EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi 
                       /EFI/ubuntu/shimx64.efi 
                       /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgr.efi 
                       /EFI/Microsoft/Boot/memtest.efi 
                       /boot-repair/log/20180209_103134/sda1/bootx64.efi

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 16.04.3 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab

sda3: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda4: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1                 2,048       534,527       532,480 EFI System partition
/dev/sda2               534,528    39,595,074    39,060,547 Data partition (Linux)
/dev/sda3            39,596,032    55,220,223    15,624,192 Swap partition (Linux)
/dev/sda4            55,220,224 1,953,523,711 1,898,303,488 Data partition (Linux)

Attributes: R=Required, N=No Block IO, B=Legacy BIOS Bootable, +=More bits set

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        A290-315D                              vfat       SYSTEM_DRV
/dev/sda2        c8238260-291f-4c6c-8f87-a472970ace9c   ext4       
/dev/sda3        74d94e31-1911-457c-98f6-8b4c57d5353d   swap       
/dev/sda4        3c623ba9-e5cf-4a1c-9168-f2cfadd4cbf9   ext4       

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Feb 14 11:48 ata-HL-DT-ST_DVDRAM_GUE0N_KW9H2PI1313 -> ../../sr0
lrwxrwxrwx 1 root root  9 Feb 15 21:29 ata-WDC_WD10JPCX-24UE4T0_WD-WX91E66E99A7 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 15 21:29 ata-WDC_WD10JPCX-24UE4T0_WD-WX91E66E99A7-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 15 21:29 ata-WDC_WD10JPCX-24UE4T0_WD-WX91E66E99A7-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 15 21:29 ata-WDC_WD10JPCX-24UE4T0_WD-WX91E66E99A7-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 15 21:29 ata-WDC_WD10JPCX-24UE4T0_WD-WX91E66E99A7-part4 -> ../../sda4
lrwxrwxrwx 1 root root  9 Feb 14 11:48 wwn-0x5001480000000000 -> ../../sr0
lrwxrwxrwx 1 root root  9 Feb 15 21:29 wwn-0x50014ee65ccbeaee -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 15 21:29 wwn-0x50014ee65ccbeaee-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 15 21:29 wwn-0x50014ee65ccbeaee-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 15 21:29 wwn-0x50014ee65ccbeaee-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 15 21:29 wwn-0x50014ee65ccbeaee-part4 -> ../../sda4

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sda1        /boot/efi                vfat       (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda2        /                        ext4       (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda4        /home                    ext4       (rw,relatime,data=ordered)


========================== sda1/EFI/ubuntu/grub.cfg: ===========================

--------------------------------------------------------------------------------
search.fs_uuid c8238260-291f-4c6c-8f87-a472970ace9c root hd0,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------

=========================== sda2/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
else
  search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=10
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=10
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c8238260-291f-4c6c-8f87-a472970ace9c' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
	else
	  search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
	fi
	linux	/boot/vmlinuz-4.13.0-32-generic.efi.signed root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.13.0-32-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-c8238260-291f-4c6c-8f87-a472970ace9c' {
	menuentry 'Ubuntu, with Linux 4.13.0-32-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-32-generic-advanced-c8238260-291f-4c6c-8f87-a472970ace9c' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
		else
		  search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
		fi
		echo	'Loading Linux 4.13.0-32-generic ...'
		linux	/boot/vmlinuz-4.13.0-32-generic.efi.signed root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.13.0-32-generic
	}
	menuentry 'Ubuntu, with Linux 4.13.0-32-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-32-generic-init-upstart-c8238260-291f-4c6c-8f87-a472970ace9c' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
		else
		  search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
		fi
		echo	'Loading Linux 4.13.0-32-generic ...'
		linux	/boot/vmlinuz-4.13.0-32-generic.efi.signed root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.13.0-32-generic
	}
	menuentry 'Ubuntu, with Linux 4.13.0-32-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-32-generic-recovery-c8238260-291f-4c6c-8f87-a472970ace9c' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
		else
		  search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
		fi
		echo	'Loading Linux 4.13.0-32-generic ...'
		linux	/boot/vmlinuz-4.13.0-32-generic.efi.signed root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.13.0-32-generic
	}
	menuentry 'Ubuntu, with Linux 4.10.0-28-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-advanced-c8238260-291f-4c6c-8f87-a472970ace9c' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
		else
		  search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
		fi
		echo	'Loading Linux 4.10.0-28-generic ...'
	        linux	/boot/vmlinuz-4.10.0-28-generic root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.10.0-28-generic
	}
	menuentry 'Ubuntu, with Linux 4.10.0-28-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-init-upstart-c8238260-291f-4c6c-8f87-a472970ace9c' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
		else
		  search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
		fi
		echo	'Loading Linux 4.10.0-28-generic ...'
	        linux	/boot/vmlinuz-4.10.0-28-generic root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.10.0-28-generic
	}
	menuentry 'Ubuntu, with Linux 4.10.0-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.10.0-28-generic-recovery-c8238260-291f-4c6c-8f87-a472970ace9c' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  c8238260-291f-4c6c-8f87-a472970ace9c
		else
		  search --no-floppy --fs-uuid --set=root c8238260-291f-4c6c-8f87-a472970ace9c
		fi
		echo	'Loading Linux 4.10.0-28-generic ...'
	        linux	/boot/vmlinuz-4.10.0-28-generic root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.10.0-28-generic
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/25_custom ###

menuentry "Windows UEFI bootmgfw.efi" {
search --fs-uuid --no-floppy --set=root A290-315D
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi
}

menuentry "Windows Boot UEFI loader" {
search --fs-uuid --no-floppy --set=root A290-315D
chainloader (${root})/EFI/Boot/bkpbootx64.efi
}

menuentry "EFI/ubuntu/fwupx64.efi" {
search --fs-uuid --no-floppy --set=root A290-315D
chainloader (${root})/EFI/ubuntu/fwupx64.efi
}

menuentry "EFI/ubuntu/mmx64.efi" {
search --fs-uuid --no-floppy --set=root A290-315D
chainloader (${root})/EFI/ubuntu/mmx64.efi
}
### END /etc/grub.d/25_custom ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-A290-315D' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  A290-315D
	else
	  search --no-floppy --fs-uuid --set=root A290-315D
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda2/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=c8238260-291f-4c6c-8f87-a472970ace9c /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
#UUID=A290-315D  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda4 during installation
UUID=3c623ba9-e5cf-4a1c-9168-f2cfadd4cbf9 /home           ext4    defaults        0       2
# swap was on /dev/sda3 during installation
UUID=74d94e31-1911-457c-98f6-8b4c57d5353d none            swap    sw              0       0
UUID=A290-315D	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

=================== sda2: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

   2.385551453 = 2.561466368    boot/grub/grub.cfg                             1
   2.082084656 = 2.235621376    boot/vmlinuz-4.10.0-28-generic                 1
   3.168266296 = 3.401900032    boot/vmlinuz-4.13.0-32-generic                 1
   3.402652740 = 3.653570560    boot/vmlinuz-4.13.0-32-generic.efi.signed      1
   2.082084656 = 2.235621376    vmlinuz                                        1
   3.529369354 = 3.789631488    boot/initrd.img-4.10.0-28-generic              1
   3.473628998 = 3.729780736    boot/initrd.img-4.13.0-32-generic              2
   3.529369354 = 3.789631488    initrd.img                                     1
   3.529369354 = 3.789631488    initrd.img.old                                 1


ADDITIONAL INFORMATION :
=================== log of boot-info 20180215_2129 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
boot-info is executed in installed-session (Ubuntu 16.04.3 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.13.0-32-generic.efi.signed root=UUID=c8238260-291f-4c6c-8f87-a472970ace9c ro quiet splash

=================== os-prober:
/dev/sda2:L'OS actuellement utilisé - Ubuntu 16.04.3 LTS CurrentSession:linux
/dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

=================== blkid:
/dev/sda1: LABEL="SYSTEM_DRV" UUID="A290-315D" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="7555fecf-8450-4b45-9ab1-78ed0a6c85bb"
/dev/sda2: UUID="c8238260-291f-4c6c-8f87-a472970ace9c" TYPE="ext4" PARTUUID="1dc61e3c-4f7f-45a9-8cf5-96f10cdd9639"
/dev/sda3: UUID="74d94e31-1911-457c-98f6-8b4c57d5353d" TYPE="swap" PARTUUID="2fa7ba58-e630-4398-bc80-9edd9ae376d5"
/dev/sda4: UUID="3c623ba9-e5cf-4a1c-9168-f2cfadd4cbf9" TYPE="ext4" PARTUUID="8f4a100f-9640-4295-99fb-c5b900b2d9b0"


1 disks with OS, 2 OS : 1 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.


=================== /etc/grub.d/ :
drwxr-xr-x  2 root root    4096 févr.  9 11:32 grub.d
total 84
-rwxr-xr-x 1 root root  9791 juin  21  2017 00_header
-rwxr-xr-x 1 root root  6258 mars  15  2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 juin  21  2017 10_linux
-rwxr-xr-x 1 root root 11082 juin  21  2017 20_linux_xen
-rwxr-xr-x 1 root root  1992 janv. 28  2016 20_memtest86+
-rwxr-xr-x 1 root root   580 févr.  9 11:32 25_custom
-rwxr-xr-x 1 root root 11692 juin  21  2017 30_os-prober
-rwxr-xr-x 1 root root  1418 juin  21  2017 30_uefi-firmware
-rwxr-xr-x 1 root root   214 juin  21  2017 40_custom
-rwxr-xr-x 1 root root   216 juin  21  2017 41_custom
-rw-r--r-- 1 root root   483 juin  21  2017 README




=================== /etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=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=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"



/boot/efi detected in the fstab of sda2: UUID=A290-315D	 (sda1)
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bkpbootx64.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi
Presence of bkp file detected: /boot/efi/EFI/Boot/bkpbootx64.efi

=================== efibootmgr -v
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0017,0016,0001,0019,0015,0000,0013,0014,0018
Boot0000* Windows Boot Manager	HD(1,GPT,7555fecf-8450-4b45-9ab1-78ed0a6c85bb,0x800,0x82000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...0................
Boot0001* ubuntu	HD(1,GPT,7555fecf-8450-4b45-9ab1-78ed0a6c85bb,0x800,0x82000)/File(EFIubuntushimx64.efi)
Boot0010  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011  Boot Menu	FvFile(86488440-41bb-42c7-93ac-450fbf7766bf)
Boot0012  Diagnostic Splash	FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013* ATA HDD: WDC WD10JPCX-24UE4T0                    	PciRoot(0x0)/Pci(0x11,0x0)/Sata(0,0,0)..bYVD.A...O.*..
Boot0014* ATAPI CD: HL-DT-ST DVDRAM GUE0N                   	PciRoot(0x0)/Pci(0x11,0x0)/Sata(1,0,0)......!N.:^G.V.T
Boot0015* PCI LAN: EFI Network (IPv4)	PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/MAC(54e1ad0293c3,0)/IPv4(0.0.0.0:0<->0.0.0.0:0,0,0)x.J.+*.N.....=8.
Boot0016* USB FDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0017* USB HDD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot0018* USB CD:	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0019* PCI LAN: EFI Network (IPv6)	PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/MAC(54e1ad0293c3,0)/IPv6([::]:<->[::]:,0,0)x.J.+*.N.....=8.

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sda2	: sda,	not-sepboot,	grubenv-ok	grub2,	signed grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	notbiosboot, .
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /boot/efi.
sda4	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /home.

sda	: GPT,	no-BIOS_boot,	has-correctEFI, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes


=================== parted -lm:

BYT;
/dev/sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10JPCX-24U:;
1:1049kB:274MB:273MB:fat32:EFI system partition:boot, esp;
2:274MB:20.3GB:20.0GB:ext4::;
3:20.3GB:28.3GB:8000MB:linux-swap(v1)::;
4:28.3GB:1000GB:972GB:ext4::;

=================== lsblk:
KNAME TYPE FSTYPE   SIZE LABEL
sr0   rom          1024M
sda   disk        931,5G
sda4  part ext4   905,2G
sda2  part ext4    18,6G
sda3  part swap     7,5G
sda1  part vfat     260M SYSTEM_DRV

KNAME ROTA RO RM STATE   MOUNTPOINT
sr0      1  0  1 running
sda      1  0  0 running
sda4     1  0  0         /home
sda2     1  0  0         /
sda3     1  0  0         [SWAP]
sda1     1  0  0         /boot/efi


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1691068k,nr_inodes=422767,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=342820k,mode=755)
/dev/sda2 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12933)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda4 on /home type ext4 (rw,relatime,data=ordered)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=342820k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda3 sda4 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 i2c-7 i2c-8 initctl input kfd kmsg lightnvm log mapper mcelog media0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 08 fe 1b  |.X.MSDOS5.0.....|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 20 08 00 01 02 00 00  00 00 00 00 02 00 00 00  |. ..............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 5d 31 90 a2 4e  4f 20 4e 41 4d 45 20 20  |..)]1..NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 56 40 88 4e 02 8a 56  |{......|.V@.N..V|
00000070  40 b4 41 bb aa 55 cd 13  72 10 81 fb 55 aa 75 0a  |@.A..U..r...U.u.|
00000080  f6 c1 01 74 05 fe 46 02  eb 2d 8a 56 40 b4 08 cd  |...t..F..-.V@...|
00000090  13 73 05 b9 ff ff 8a f1  66 0f b6 c6 40 66 0f b6  |.s......f...@f..|
000000a0  d1 80 e2 3f f7 e2 86 cd  c0 ed 06 41 66 0f b7 c9  |...?.......Af...|
000000b0  66 f7 e1 66 89 46 f8 83  7e 16 00 75 39 83 7e 2a  |f..f.F..~..u9.~*|
000000c0  00 77 33 66 8b 46 1c 66  83 c0 0c bb 00 80 b9 01  |.w3f.F.f........|
000000d0  00 e8 2c 00 e9 a8 03 a1  f8 7d 80 c4 7c 8b f0 ac  |..,......}..|...|
000000e0  84 c0 74 17 3c ff 74 09  b4 0e bb 07 00 cd 10 eb  |..t.<.t.........|
000000f0  ee a1 fa 7d eb e4 a1 7d  80 eb df 98 cd 16 cd 19  |...}...}........|
00000100  66 60 80 7e 02 00 0f 84  20 00 66 6a 00 66 50 06  |f`.~.... .fj.fP.|
00000110  53 66 68 10 00 01 00 b4  42 8a 56 40 8b f4 cd 13  |Sfh.....B.V@....|
00000120  66 58 66 58 66 58 66 58  eb 33 66 3b 46 f8 72 03  |fXfXfXfX.3f;F.r.|
00000130  f9 eb 2a 66 33 d2 66 0f  b7 4e 18 66 f7 f1 fe c2  |..*f3.f..N.f....|
00000140  8a ca 66 8b d0 66 c1 ea  10 f7 76 1a 86 d6 8a 56  |..f..f....v....V|
00000150  40 8a e8 c0 e4 06 0a cc  b8 01 02 cd 13 66 61 0f  |@............fa.|
00000160  82 74 ff 81 c3 00 02 66  40 49 75 94 c3 42 4f 4f  |.t.....f@Iu..BOO|
00000170  54 4d 47 52 20 20 20 20  00 00 00 00 00 00 00 00  |TMGR    ........|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 44 69  |..............Di|
000001b0  73 6b 20 65 72 72 6f 72  ff 0d 0a 50 72 65 73 73  |sk error...Press|
000001c0  20 61 6e 79 20 6b 65 79  20 74 6f 20 72 65 73 74  | any key to rest|
000001d0  61 72 74 0d 0a 00 00 00  00 00 00 00 00 00 00 00  |art.............|
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  ac 01 b9 01 00 00 55 aa  |..............U.|
00000200

=================== df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  1.7G     0  1.7G   0% /dev
tmpfs          tmpfs     335M  9.8M  326M   3% /run
/dev/sda2      ext4       19G  4.7G   13G  28% /
tmpfs          tmpfs     1.7G  464K  1.7G   1% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     1.7G     0  1.7G   0% /sys/fs/cgroup
/dev/sda1      vfat      256M   35M  222M  14% /boot/efi
/dev/sda4      ext4      891G  165G  681G  20% /home
tmpfs          tmpfs     335M   80K  335M   1% /run/user/1000

=================== fdisk -l:
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 94ABB354-3D77-49B0-8EB1-B583ECF7DC4E

Device        Start        End    Sectors   Size Type
/dev/sda1      2048     534527     532480   260M EFI System
/dev/sda2    534528   39595074   39060547  18.6G Linux filesystem
/dev/sda3  39596032   55220223   15624192   7.5G Linux swap
/dev/sda4  55220224 1953523711 1898303488 905.2G Linux filesystem




=================== Suggested repair
The default repair of the Boot-Repair utility would 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  restore-efi-backups


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le fichier sda1/efi/.../grub*.efi !

Si votre ordinateur redémarre directement sur Windows, essayez de changer l'ordre de démarrage dans votre BIOS.
Si votre BIOS ne permet pas de changer l'ordre de démarrage, changez l'entrée de démarrage par défaut de l'amorceur Windows.
Par exemple, vous pouvez démarrer Windows, puis saisir la commande suivante dans une invite de commande en mode administrateur :
bcdedit /set {bootmgr} path \EFI\...\grub*.efi


=================== User settings
The settings chosen by the user will not act on the boot.

Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 16.04.1 LTS : Lenovo T410 - Toshiba Satellite A300  Membre de Linux-Azur

Hors ligne

#18 Le 16/02/2018, à 09:44

malbo

Re : RESOLU Grub2 et boot repair

Merci à denispinard pour l'URL du Boot-Info et merci à xubu1957 pour l'affichage réalisé proprement du Boot-Info.
Je crois que tout est parfait dans ce Boot-Info du post #17.

Dans cet extrait, on a confirmation que tu as désactivé Secure Boot comme tu l'avais signalé dans le post #10 :

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)

Je te conseille de laisser comme ça (Secure Boot désactivé)

Est-ce qu'à présent, il y a encore le problème décrit dans le post #1 ("Le PC démarre puis affiche le bandeau Lenovo puis éteint puis recommence") ?

Dernière modification par malbo (Le 16/02/2018, à 10:16)

Hors ligne

#19 Le 25/02/2018, à 10:48

denispinard

Re : RESOLU Grub2 et boot repair

Bonjour,
après une semaine, l'ordi démarre et fonctionne correctement (mises à jour comprises).
Merci pour les assistances !
Denis PINARD

Hors ligne