boot-repair – diagnostic et reparation Linux

http://paste.ubuntu.com/p/FgngcrssKx/

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


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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos1)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 16.04.4 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/i386-pc/core.img

sda2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info: 

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT16
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 14.4 GiB, 15502147584 bytes, 30277632 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/sda1    *          2,048    24,414,207    24,412,160  83 Linux
/dev/sda2          24,416,254    30,275,583     5,859,330   5 Extended
/dev/sda5          24,416,256    26,372,095     1,955,840  82 Linux swap / Solaris
/dev/sda6          26,374,144    30,275,583     3,901,440   6 FAT16


"blkid" output: =======================================
Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        bf8d8468-0c6e-40a4-a4de-7c56c8729683   ext4       USB-Autonome
/dev/sda5        dabeafdc-fd48-47b1-ba69-663fbf0938de   swap       
/dev/sda6        B3D4-E657                              vfat       LINUX-PARAM
/dev/sr0         2016-07-19-21-09-20-00                 iso9660    Xubuntu 16.04.1 LTS amd64

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

total 0
lrwxrwxrwx 1 root root  9 Apr 23 21:08 ata-hp_DVD-ROM_TS-H353C_R54068AB853268 -> ../../sr0
lrwxrwxrwx 1 root root  9 Apr 23 21:12 usb-Kingston_DataTraveler_3.0_408D5C167733B1903942A9A1-0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 23 21:12 usb-Kingston_DataTraveler_3.0_408D5C167733B1903942A9A1-0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 23 21:12 usb-Kingston_DataTraveler_3.0_408D5C167733B1903942A9A1-0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 23 21:12 usb-Kingston_DataTraveler_3.0_408D5C167733B1903942A9A1-0:0-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Apr 23 21:12 usb-Kingston_DataTraveler_3.0_408D5C167733B1903942A9A1-0:0-part6 -> ../../sda6

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sr0         /cdrom                   iso9660    (ro,noatime)


sda1/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_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  bf8d8468-0c6e-40a4-a4de-7c56c8729683
else
  search --no-floppy --fs-uuid --set=root bf8d8468-0c6e-40a4-a4de-7c56c8729683
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
### 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-bf8d8468-0c6e-40a4-a4de-7c56c8729683' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  bf8d8468-0c6e-40a4-a4de-7c56c8729683
	else
	  search --no-floppy --fs-uuid --set=root bf8d8468-0c6e-40a4-a4de-7c56c8729683
	fi
        linux	/boot/vmlinuz-4.4.0-121-generic root=/dev/sda1 ro  quiet splash $vt_handoff
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-bf8d8468-0c6e-40a4-a4de-7c56c8729683' {
	menuentry 'Ubuntu, with Linux 4.4.0-121-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-121-generic-advanced-bf8d8468-0c6e-40a4-a4de-7c56c8729683' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  bf8d8468-0c6e-40a4-a4de-7c56c8729683
		else
		  search --no-floppy --fs-uuid --set=root bf8d8468-0c6e-40a4-a4de-7c56c8729683
		fi
		echo	'Loading Linux 4.4.0-121-generic ...'
	        linux	/boot/vmlinuz-4.4.0-121-generic root=/dev/sda1 ro  quiet splash $vt_handoff
	}
	menuentry 'Ubuntu, with Linux 4.4.0-121-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-121-generic-init-upstart-bf8d8468-0c6e-40a4-a4de-7c56c8729683' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  bf8d8468-0c6e-40a4-a4de-7c56c8729683
		else
		  search --no-floppy --fs-uuid --set=root bf8d8468-0c6e-40a4-a4de-7c56c8729683
		fi
		echo	'Loading Linux 4.4.0-121-generic ...'
	        linux	/boot/vmlinuz-4.4.0-121-generic root=/dev/sda1 ro  quiet splash $vt_handoff init=/sbin/upstart
	}
	menuentry 'Ubuntu, with Linux 4.4.0-121-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-121-generic-recovery-bf8d8468-0c6e-40a4-a4de-7c56c8729683' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  bf8d8468-0c6e-40a4-a4de-7c56c8729683
		else
		  search --no-floppy --fs-uuid --set=root bf8d8468-0c6e-40a4-a4de-7c56c8729683
		fi
		echo	'Loading Linux 4.4.0-121-generic ...'
	        linux	/boot/vmlinuz-4.4.0-121-generic root=/dev/sda1 ro recovery nomodeset 
	}
	menuentry 'Ubuntu, with Linux 4.4.0-119-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-119-generic-advanced-bf8d8468-0c6e-40a4-a4de-7c56c8729683' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  bf8d8468-0c6e-40a4-a4de-7c56c8729683
		else
		  search --no-floppy --fs-uuid --set=root bf8d8468-0c6e-40a4-a4de-7c56c8729683
		fi
		echo	'Loading Linux 4.4.0-119-generic ...'
	        linux	/boot/vmlinuz-4.4.0-119-generic root=UUID=bf8d8468-0c6e-40a4-a4de-7c56c8729683 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-119-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-119-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-119-generic-init-upstart-bf8d8468-0c6e-40a4-a4de-7c56c8729683' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  bf8d8468-0c6e-40a4-a4de-7c56c8729683
		else
		  search --no-floppy --fs-uuid --set=root bf8d8468-0c6e-40a4-a4de-7c56c8729683
		fi
		echo	'Loading Linux 4.4.0-119-generic ...'
	        linux	/boot/vmlinuz-4.4.0-119-generic root=UUID=bf8d8468-0c6e-40a4-a4de-7c56c8729683 ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-119-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-119-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-119-generic-recovery-bf8d8468-0c6e-40a4-a4de-7c56c8729683' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  bf8d8468-0c6e-40a4-a4de-7c56c8729683
		else
		  search --no-floppy --fs-uuid --set=root bf8d8468-0c6e-40a4-a4de-7c56c8729683
		fi
		echo	'Loading Linux 4.4.0-119-generic ...'
	        linux	/boot/vmlinuz-4.4.0-119-generic root=UUID=bf8d8468-0c6e-40a4-a4de-7c56c8729683 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-119-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-116-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-116-generic-advanced-bf8d8468-0c6e-40a4-a4de-7c56c8729683' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  bf8d8468-0c6e-40a4-a4de-7c56c8729683
		else
		  search --no-floppy --fs-uuid --set=root bf8d8468-0c6e-40a4-a4de-7c56c8729683
		fi
		echo	'Loading Linux 4.4.0-116-generic ...'
	        linux	/boot/vmlinuz-4.4.0-116-generic root=UUID=bf8d8468-0c6e-40a4-a4de-7c56c8729683 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-116-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-116-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-116-generic-init-upstart-bf8d8468-0c6e-40a4-a4de-7c56c8729683' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  bf8d8468-0c6e-40a4-a4de-7c56c8729683
		else
		  search --no-floppy --fs-uuid --set=root bf8d8468-0c6e-40a4-a4de-7c56c8729683
		fi
		echo	'Loading Linux 4.4.0-116-generic ...'
	        linux	/boot/vmlinuz-4.4.0-116-generic root=UUID=bf8d8468-0c6e-40a4-a4de-7c56c8729683 ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-116-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-116-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-116-generic-recovery-bf8d8468-0c6e-40a4-a4de-7c56c8729683' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  bf8d8468-0c6e-40a4-a4de-7c56c8729683
		else
		  search --no-floppy --fs-uuid --set=root bf8d8468-0c6e-40a4-a4de-7c56c8729683
		fi
		echo	'Loading Linux 4.4.0-116-generic ...'
	        linux	/boot/vmlinuz-4.4.0-116-generic root=UUID=bf8d8468-0c6e-40a4-a4de-7c56c8729683 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-116-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-bf8d8468-0c6e-40a4-a4de-7c56c8729683' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  bf8d8468-0c6e-40a4-a4de-7c56c8729683
		else
		  search --no-floppy --fs-uuid --set=root bf8d8468-0c6e-40a4-a4de-7c56c8729683
		fi
		echo	'Loading Linux 4.4.0-31-generic ...'
	        linux	/boot/vmlinuz-4.4.0-31-generic root=UUID=bf8d8468-0c6e-40a4-a4de-7c56c8729683 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-31-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-31-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-init-upstart-bf8d8468-0c6e-40a4-a4de-7c56c8729683' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  bf8d8468-0c6e-40a4-a4de-7c56c8729683
		else
		  search --no-floppy --fs-uuid --set=root bf8d8468-0c6e-40a4-a4de-7c56c8729683
		fi
		echo	'Loading Linux 4.4.0-31-generic ...'
	        linux	/boot/vmlinuz-4.4.0-31-generic root=UUID=bf8d8468-0c6e-40a4-a4de-7c56c8729683 ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-31-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-bf8d8468-0c6e-40a4-a4de-7c56c8729683' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  bf8d8468-0c6e-40a4-a4de-7c56c8729683
		else
		  search --no-floppy --fs-uuid --set=root bf8d8468-0c6e-40a4-a4de-7c56c8729683
		fi
		echo	'Loading Linux 4.4.0-31-generic ...'
	        linux	/boot/vmlinuz-4.4.0-31-generic root=UUID=bf8d8468-0c6e-40a4-a4de-7c56c8729683 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-31-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/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### 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 ###
--------------------------------------------------------------------------------

sda1/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/sda1 during installation
UUID=bf8d8468-0c6e-40a4-a4de-7c56c8729683 /               ext4    errors=remount-ro 0       1
# /windows was on /dev/sda6 during installation
UUID=B3D4-E657  /windows        vfat    utf8,umask=007,gid=46 0       1
# swap was on /dev/sda5 during installation
UUID=dabeafdc-fd48-47b1-ba69-663fbf0938de none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

   8.141475677 = 8.741842944    boot/grub/grub.cfg                             1
   8.445350647 = 9.068126208    boot/grub/i386-pc/core.img                     1
   7.778114319 = 8.351686656    boot/vmlinuz-4.4.0-116-generic                 1
   9.507629395 = 10.208739328   boot/vmlinuz-4.4.0-119-generic                 1
   4.086914062 = 4.388290560    boot/vmlinuz-4.4.0-121-generic                 1
   2.710662842 = 2.910552064    boot/vmlinuz-4.4.0-31-generic                  1
   9.507629395 = 10.208739328   vmlinuz                                        1
   7.778114319 = 8.351686656    vmlinuz.old                                    1
   9.341850281 = 10.030735360   boot/initrd.img-4.4.0-116-generic              1
   3.935607910 = 4.225826816    boot/initrd.img-4.4.0-119-generic              3
   9.302040100 = 9.987989504    boot/initrd.img-4.4.0-31-generic               1
   3.935607910 = 4.225826816    initrd.img                                     3
   9.341850281 = 10.030735360   initrd.img.old                                 1

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

Unknown BootLoader on sda2

00000000  48 3b 7a 10 74 1a 48 39  c8 74 24 48 83 c0 10 48  |H;z.t.H9.t$H...H|
00000010  8b 10 48 39 d6 75 e9 b8  07 00 00 00 5d c3 66 90  |..H9.u......].f.|
00000020  4c 8b 46 18 4c 39 42 18  74 ed 48 39 c8 75 dc b8  |L.F.L9B.t.H9.u..|
00000030  06 00 00 00 5d c3 66 2e  0f 1f 84 00 00 00 00 00  |....].f.........|
00000040  48 8d 42 20 c1 e9 05 eb  90 0f 1f 80 00 00 00 00  |H.B ............|
00000050  48 8b 42 10 e9 34 ff ff  ff 0f 1f 80 00 00 00 00  |H.B..4..........|
00000060  55 48 b8 02 00 00 00 00  00 ff ff 48 85 c2 48 89  |UH.........H..H.|
00000070  e5 75 3b 48 89 d0 66 31  c0 83 b8 30 04 00 00 02  |.u;H..f1...0....|
00000080  0f 84 ca 00 00 00 48 8b  02 48 8b 40 38 48 85 c0  |......H..H.@8H..|
00000090  74 1c 48 8d 0d 07 33 fd  00 48 39 c8 75 07 eb 18  |t.H...3..H9.u...|
000000a0  48 39 c8 74 13 48 8b 40  08 48 85 c0 75 f2 5d e9  |H9.t.H.@.H..u.].|
000000b0  3c ea 32 ff 0f 1f 40 00  48 85 d2 74 f1 48 8b 42  |<.2...@.H..t.H.B|
000000c0  18 48 8b 50 58 48 85 d2  74 65 8b 4a 04 f6 c1 01  |.H.PXH..te.J....|
000000d0  74 6e 48 8b 42 28 8b 4a  34 85 c9 74 52 48 8d 35  |tnH.B(.J4..tRH.5|
000000e0  4c 70 08 01 48 8b 10 48  8b 36 48 39 d6 74 28 83  |Lp..H..H.6H9.t(.|
000000f0  e9 01 48 8b 7e 10 48 c1  e1 04 48 01 c1 0f 1f 00  |..H.~.H...H.....|
00000100  48 3b 7a 10 74 1a 48 39  c8 74 24 48 83 c0 10 48  |H;z.t.H9.t$H...H|
00000110  8b 10 48 39 d6 75 e9 b8  07 00 00 00 5d c3 66 90  |..H9.u......].f.|
00000120  4c 8b 46 18 4c 39 42 18  74 ed 48 39 c8 75 dc b8  |L.F.L9B.t.H9.u..|
00000130  06 00 00 00 5d c3 66 2e  0f 1f 84 00 00 00 00 00  |....].f.........|
00000140  48 8d 42 20 c1 e9 05 eb  90 0f 1f 80 00 00 00 00  |H.B ............|
00000150  48 8b 42 10 e9 34 ff ff  ff 0f 1f 80 00 00 00 00  |H.B..4..........|
00000160  48 b8 02 00 00 00 00 00  ff ff 48 85 c2 75 3f 48  |H.........H..u?H|
00000170  89 d0 66 31 c0 83 b8 30  04 00 00 02 74 72 48 8b  |..f1...0....trH.|
00000180  02 48 8b 40 38 48 85 c0  74 24 48 8d 0d 0f 32 fd  |.H.@8H..t$H...2.|
00000190  00 48 39 c8 75 0f eb 20  0f 1f 84 00 00 00 00 00  |.H9.u.. ........|
000001a0  48 39 c8 74 13 48 8b 40  08 48 85 c0 75 f2 e9 3d  |H9.t.H.@.H..u..=|
000001b0  e9 32 ff 0f 1f 44 00 00  48 85 d2 74 f1 55 00 fe  |.2...D..H..t.U..|
000001c0  ff ff 82 fe ff ff 02 00  00 00 00 d8 1d 00 00 fe  |................|
000001d0  ff ff 05 fe ff ff 02 d8  1d 00 00 90 3b 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/5256/mounts) leaked on lvs invocation. Parent PID 14710: bash
File descriptor 63 (pipe:[46938]) leaked on lvs invocation. Parent PID 14710: bash

ADDITIONAL INFORMATION :
=================== log of boot-repair 20180423_2112 ===================
boot-repair version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
boot-repair is executed in live-session (Ubuntu 16.04.1 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/xubuntu.seed boot=casper quiet splash ---
ls: cannot access '/home/usr/.config': No such file or directory

=================== os-prober:
/dev/sda1:Ubuntu 16.04.4 LTS (16.04):Ubuntu:linux

blkid : ====================================================
/dev/sda1: LABEL="USB-Autonome" UUID="bf8d8468-0c6e-40a4-a4de-7c56c8729683" TYPE="ext4" PARTUUID="890e58a1-01"
/dev/sda6: SEC_TYPE="msdos" LABEL="LINUX-PARAM" UUID="B3D4-E657" TYPE="vfat" PARTUUID="890e58a1-06"
/dev/sr0: UUID="2016-07-19-21-09-20-00" LABEL="Xubuntu 16.04.1 LTS amd64" TYPE="iso9660" PTUUID="6a017440" PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/sda5: UUID="dabeafdc-fd48-47b1-ba69-663fbf0938de" TYPE="swap" PARTUUID="890e58a1-05"


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


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




=================== sda1/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"




=================== sda1recordfail=1/grub/grubenv :
recordfail=1



ls /sys/firmware/efi/vars : UsbSupport-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,UsbMassDevNum-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,TxtFeatures-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,SystemAccess-e770bb69-bcb4-4d04-9e97-23ff9456feac,SSID-707c9176-a4c1-4e27-851d-1c37b7ca73c8,SlotPresent-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,SlotEnable-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,SetupFeatureSupport-b6ad93e3-19f7-4c85-aa72-80c57194dbc7,SerialPortsEnabledVar-560bf58a-1e0d-4d7e-953f-2980a261e031,SBRealRevID-707c9176-a4c1-4e27-851d-1c37b7ca73c8,SATA_DEFAULT-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,RearUsbPresent-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,RearUsbEnable-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,PowerOnTime-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,PNP0510_0_VV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0510_0_NV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0501_1_VV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0501_0_VV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0501_0_NV-560bf58a-1e0d-4d7e-953f-2980a261e031,PNP0400_0_VV-560bf58a-1e0d-4d7e-953f-2980a261e031,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,PciSerialPortsLocationVar-560bf58a-1e0d-4d7e-953f-2980a261e031,ONBOARD_DEVS_PRESENT-d98397ee-7a9d-457a-a9df-e568ae87cc18,NotFirstBoot-70040abc-6387-4588-87b1-ddcd6c7d7af5,new_var,NBRealRevID-707c9176-a4c1-4e27-851d-1c37b7ca73c8,NBMemoryInfo-490216c0-076a-44d3-a536-ace05c90e386,MokListRT-605dab50-e046-4300-abb6-3dd810dd8b23,MemCeil.-8be4df61-93ca-11d2-aa0d-00e098032b8c,MEBxVersion-523db52e-5474-423e-9fc1-15adbc1600bc,MebxErrorReset-523db52e-5474-423e-9fc1-15adbc1600bc,LastHDS-ae601ef0-360b-11e0-9e42-0800200c9a66,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,InternalUsbPresent-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,InternalUsbEnable-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,HSTime-ae601ef0-360b-11e0-9e42-0800200c9a66,HpWriteOnceMetaData-707c9176-a4c1-4e27-851d-1c37b7ca73c8,HpMor-707c9176-a4c1-4e27-851d-1c37b7ca73c8,HP_CTRACE-707c9176-a4c1-4e27-851d-1c37b7ca73c8,HDD14-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,HDD13-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,HDD12-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,HDD11-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,HDD10-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,HDD09-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,HDD08-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,HDD07-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,HDD06-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,HDD05-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,HDD04-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,HDD03-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,FrontUsbPresent-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,FrontUsbEnable-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,FLOPPYDEVICE-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,FLOPPY00-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,del_var,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConErrDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,COM4-560bf58a-1e0d-4d7e-953f-2980a261e031,CDROM06-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,CDROM05-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,CDROM04-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,CDROM03-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,CDROM02-ec87d643-eba4-4bb5-a1e5-3f3e36b20da9,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,BiosSynDataStuct-523db52e-5474-423e-9fc1-15adbc1600bc,AmtAsfBootOption-9ab518c8-13ed-44f7-a62e-375a33163e2e,AMITCGPPIVAR-a8a2093b-fefa-43c1-8e62-ce526847265e,
Please report this message to boot.repair@gmail.com

=================== efibootmgr -v
BootCurrent: 0009
No BootOrder is set; firmware will attempt recovery

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot maybe enabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	grubenv-ng	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	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/sda1.
sda6	: sda,	not-sepboot,	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,	not-far,	notbiosboot, /mnt/boot-sav/sda6.

sda	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	usb-disk,	not-mmc, has-os,	2048 sectors * 512 bytes


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

BYT;
/dev/sda:15.5GB:scsi:512:512:msdos:Kingston DataTraveler 3.0:;
1:1049kB:12.5GB:12.5GB:ext4::boot;
2:12.5GB:15.5GB:3000MB:::;
5:12.5GB:13.5GB:1001MB:linux-swap(v1)::;
6:13.5GB:15.5GB:1998MB:fat16::;

BYT;
/dev/sr0:1265MB:scsi:2048:2048:mac:hp DVD-ROM TS-H353C:;
1:2048B:6143B:4096B::Apple:;
2:1255MB:1258MB:2425kB::EFI:;

=================== lsblk:
KNAME TYPE FSTYPE    SIZE LABEL
sda   disk          14.4G
sda1  part ext4     11.7G USB-Autonome
sda2  part             1K
sda5  part swap      955M
sda6  part vfat      1.9G LINUX-PARAM
sr0   rom  iso9660   1.2G Xubuntu 16.04.1 LTS amd64
loop0 loop squashfs  1.1G

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      1  0  1 running
sda1     1  0  1         /mnt/boot-sav/sda1
sda2     1  0  1
sda5     1  0  1         [SWAP]
sda6     1  0  1         /mnt/boot-sav/sda6
sr0      1  0  1 running /cdrom
loop0    1  1  0         /rofs


=================== 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=1951212k,nr_inodes=487803,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=393196k,mode=755)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
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/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
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/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
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)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
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=393196k,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/sda1 on /mnt/boot-sav/sda1 type ext4 (rw,relatime,data=ordered)
/dev/sda6 on /mnt/boot-sav/sda6 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=================== 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 sda5 sda6 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 char console core cpu cpu_dma_latency cuse disk dri dvd ecryptfs fb0 fd full fuse hidraw0 hidraw1 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 initctl input kmsg lightnvm log mapper mcelog mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sda6 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout tpm0 uhid uinput urandom userio vfio vga_arbiter vhci vhost-net watchdog watchdog0 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda6
00000000  eb 3c 90 6d 6b 66 73 2e  66 61 74 00 02 40 01 00  |.<.mkfs.fat..@..|
00000010  02 00 04 00 00 f8 00 01  20 00 40 00 00 70 92 01  |........ .@..p..|
00000020  00 88 3b 00 80 01 29 57  e6 d4 b3 4c 49 4e 55 58  |..;...)W...LINUX|
00000030  2d 50 41 52 41 4d 46 41  54 31 36 20 20 20 0e 1f  |-PARAMFAT16   ..|
00000040  be 5b 7c ac 22 c0 74 0b  56 b4 0e bb 07 00 cd 10  |.[|.".t.V.......|
00000050  5e eb f0 32 e4 cd 16 cd  19 eb fe 54 68 69 73 20  |^..2.......This |
00000060  69 73 20 6e 6f 74 20 61  20 62 6f 6f 74 61 62 6c  |is not a bootabl|
00000070  65 20 64 69 73 6b 2e 20  20 50 6c 65 61 73 65 20  |e disk.  Please |
00000080  69 6e 73 65 72 74 20 61  20 62 6f 6f 74 61 62 6c  |insert a bootabl|
00000090  65 20 66 6c 6f 70 70 79  20 61 6e 64 0d 0a 70 72  |e floppy and..pr|
000000a0  65 73 73 20 61 6e 79 20  6b 65 79 20 74 6f 20 74  |ess any key to t|
000000b0  72 79 20 61 67 61 69 6e  20 2e 2e 2e 20 0d 0a 00  |ry again ... ...|
000000c0  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

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  1.9G     0  1.9G   0% /dev
tmpfs          tmpfs     384M  6.1M  378M   2% /run
/dev/sr0       iso9660   1.2G  1.2G     0 100% /cdrom
/dev/loop0     squashfs  1.2G  1.2G     0 100% /rofs
/cow           overlay   1.9G  165M  1.8G   9% /
tmpfs          tmpfs     1.9G  108K  1.9G   1% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     1.9G     0  1.9G   0% /sys/fs/cgroup
tmpfs          tmpfs     1.9G  8.0K  1.9G   1% /tmp
tmpfs          tmpfs     384M   40K  384M   1% /run/user/999
/dev/sda1      ext4       12G  6.1G  4.7G  57% /mnt/boot-sav/sda1
/dev/sda6      vfat      1.9G  688M  1.2G  37% /mnt/boot-sav/sda6

=================== fdisk -l:
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 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


Disk /dev/loop0: 1.1 GiB, 1213882368 bytes, 2370864 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: 14.4 GiB, 15502147584 bytes, 30277632 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: 0x890e58a1

Device     Boot    Start      End  Sectors  Size Id Type
/dev/sda1  *        2048 24414207 24412160 11.7G 83 Linux
/dev/sda2       24416254 30275583  5859330  2.8G  5 Extended
/dev/sda5       24416256 26372095  1955840  955M 82 Linux swap / Solaris
/dev/sda6       26374144 30275583  3901440  1.9G  6 FAT16


=================== Advices
The boot of your PC is in EFI mode, but no EFI partition was detected. You may want to retry after creating a EFI partition (FAT32, 100MB~250MB, start of the disk, boot flag).
Do you want to continue?
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

=================== Recommended repair
The default repair of the Boot-Repair utility will reinstall the grub2 of sda1 into the MBR of sda.
Additional repair will be performed: unhide-bootmenu-10s


Unhide GRUB boot menu in sda1/etc/default/grub

******* lspci -nnk | grep -iA3 vga
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0102] (rev 09)
DeviceName:  Onboard IGD
Subsystem: Hewlett-Packard Company 2nd Generation Core Processor Family Integrated Graphics Controller [103c:1495]
Kernel driver in use: i915
*******

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

Reinstall the GRUB of sda1 into the MBR of sda
Installing for i386-pc platform.
Installation finished. No error reported.
grub-install /dev/sda: exit code of grub-install /dev/sda:0

chroot /mnt/boot-sav/sda1 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-121-generic
Found linux image: /boot/vmlinuz-4.4.0-119-generic
Found initrd image: /boot/initrd.img-4.4.0-119-generic
Found linux image: /boot/vmlinuz-4.4.0-116-generic
Found initrd image: /boot/initrd.img-4.4.0-116-generic
Found linux image: /boot/vmlinuz-4.4.0-31-generic
Found initrd image: /boot/initrd.img-4.4.0-31-generic
Unhide GRUB boot menu in sda1/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.