[Bug 1678229] Re: Update corrupts my WIndows 10 Recovery and Boot Manager!

Phillip Susi psusi at ubuntu.com
Mon Apr 3 17:23:23 UTC 2017


You will have to be more specific about what "corrupted my Windows boot
manager" means.  What exactly goes wrong with it?


** Changed in: grub2 (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1678229

Title:
  Update corrupts my WIndows 10 Recovery and Boot Manager!

Status in grub2 package in Ubuntu:
  Incomplete

Bug description:
  I've had several times an update to my Ubuntu install has corrupted my Windows Boot Manager.
  See my Paste:
  http://paste2.org/kpXd5p6k

  
  -----
  Boot Info Script cfd9efe + Boot-Repair extra info      [Boot-Info 26Apr2016]

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

   => Windows 7/8/2012 is installed in the MBR of /dev/sda.

  sda1:
  __________________________________________________________________________

      File system:       vfat
      Boot sector type:  -
      Boot sector info:  No errors found in the Boot Parameter Block.
      Operating System:  
      Boot files:        /EFI/Boot/bootx64.efi /EFI/ubuntu/MokManager.efi 
                         /EFI/ubuntu/fwupx64.efi /EFI/ubuntu/grubx64.efi 
                         /EFI/ubuntu/shimx64.efi 
                         /EFI/Microsoft/Boot/bootmgfw.efi 
                         /EFI/Microsoft/Boot/bootmgr.efi 
                         /EFI/Microsoft/Boot/memtest.efi

  sda2:
  __________________________________________________________________________

      File system:       
      Boot sector type:  -
      Boot sector info: 
      Mounting failed:   mount: unknown filesystem type ''

  sda3:
  __________________________________________________________________________

      File system:       ntfs
      Boot sector type:  Windows 8/2012: NTFS
      Boot sector info:  No errors found in the Boot Parameter Block.
      Operating System:  
      Boot files:        /bootmgr /Windows/System32/winload.exe

  sda4:
  __________________________________________________________________________

      File system:       ntfs
      Boot sector type:  Windows 8/2012: NTFS
      Boot sector info:  No errors found in the Boot Parameter Block.
      Operating System:  
      Boot files:        

  sda5:
  __________________________________________________________________________

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

  sda6:
  __________________________________________________________________________

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

  ============================ 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     1,026,047     1,024,000 EFI System partition
  /dev/sda2             1,026,048     1,288,191       262,144 Microsoft Reserved Partition (Windows)
  /dev/sda3             1,288,192 1,343,465,471 1,342,177,280 Data partition (Windows/Linux)
  /dev/sda4      R  1,952,602,112 1,953,523,711       921,600 Windows Recovery Environment (Windows)
  /dev/sda5         1,351,464,960 1,952,601,678   601,136,719 Data partition (Linux)
  /dev/sda6         1,343,465,472 1,351,464,959     7,999,488 Swap partition (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/loop1                                              squashfs   
  /dev/loop2                                              squashfs   
  /dev/loop3                                              squashfs   
  /dev/loop4                                              squashfs   
  /dev/sda1        BC6E-6E60                              vfat       ESP
  /dev/sda2                                                          
  /dev/sda3        28A2E38BA2E35C36                       ntfs       
  /dev/sda4        9E6C78BA6C788EB1                       ntfs       WINRETOOLS
  /dev/sda5        c54b5978-d726-4a3c-8f89-5554480823ba   ext4       
  /dev/sda6        b11242ba-bb9d-4a2b-9e12-9ddcc63a069c   swap       

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

  total 0
  lrwxrwxrwx 1 root root  9 Mar 31 12:16 ata-WDC_WD10SPCX-75KHST0_WXP1AC5NXRK8 -> ../../sda
  lrwxrwxrwx 1 root root 10 Mar 31 12:16 ata-WDC_WD10SPCX-75KHST0_WXP1AC5NXRK8-part1 -> ../../sda1
  lrwxrwxrwx 1 root root 10 Mar 31 12:16 ata-WDC_WD10SPCX-75KHST0_WXP1AC5NXRK8-part2 -> ../../sda2
  lrwxrwxrwx 1 root root 10 Mar 31 12:16 ata-WDC_WD10SPCX-75KHST0_WXP1AC5NXRK8-part3 -> ../../sda3
  lrwxrwxrwx 1 root root 10 Mar 31 12:16 ata-WDC_WD10SPCX-75KHST0_WXP1AC5NXRK8-part4 -> ../../sda4
  lrwxrwxrwx 1 root root 10 Mar 31 12:16 ata-WDC_WD10SPCX-75KHST0_WXP1AC5NXRK8-part5 -> ../../sda5
  lrwxrwxrwx 1 root root 10 Mar 31 12:16 ata-WDC_WD10SPCX-75KHST0_WXP1AC5NXRK8-part6 -> ../../sda6
  lrwxrwxrwx 1 root root  9 Mar 31 12:16 wwn-0x50014ee65bf572f7 -> ../../sda
  lrwxrwxrwx 1 root root 10 Mar 31 12:16 wwn-0x50014ee65bf572f7-part1 -> ../../sda1
  lrwxrwxrwx 1 root root 10 Mar 31 12:16 wwn-0x50014ee65bf572f7-part2 -> ../../sda2
  lrwxrwxrwx 1 root root 10 Mar 31 12:16 wwn-0x50014ee65bf572f7-part3 -> ../../sda3
  lrwxrwxrwx 1 root root 10 Mar 31 12:16 wwn-0x50014ee65bf572f7-part4 -> ../../sda4
  lrwxrwxrwx 1 root root 10 Mar 31 12:16 wwn-0x50014ee65bf572f7-part5 -> ../../sda5
  lrwxrwxrwx 1 root root 10 Mar 31 12:16 wwn-0x50014ee65bf572f7-part6 -> ../../sda6

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

  Device           Mount_Point              Type       Options

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

  
  =========================== sda5/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,gpt5'
  if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c54b5978-d726-4a3c-8f89-5554480823ba
  else
    search --no-floppy --fs-uuid --set=root c54b5978-d726-4a3c-8f89-5554480823ba
  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=30
  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-c54b5978-d726-4a3c-8f89-5554480823ba' {
  	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,gpt5'
  	if [ x$feature_platform_search_hint = xy ]; then
  	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c54b5978-d726-4a3c-8f89-5554480823ba
  	else
  	  search --no-floppy --fs-uuid --set=root c54b5978-d726-4a3c-8f89-5554480823ba
  	fi
  	linux	/boot/vmlinuz-4.8.0-45-generic.efi.signed root=UUID=c54b5978-d726-4a3c-8f89-5554480823ba ro  quiet splash $vt_handoff
  	initrd	/boot/initrd.img-4.8.0-45-generic
  }
  submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-c54b5978-d726-4a3c-8f89-5554480823ba' {
  	menuentry 'Ubuntu, with Linux 4.8.0-45-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-45-generic-advanced-c54b5978-d726-4a3c-8f89-5554480823ba' {
  		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,gpt5'
  		if [ x$feature_platform_search_hint = xy ]; then
  		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c54b5978-d726-4a3c-8f89-5554480823ba
  		else
  		  search --no-floppy --fs-uuid --set=root c54b5978-d726-4a3c-8f89-5554480823ba
  		fi
  		echo	'Loading Linux 4.8.0-45-generic ...'
  		linux	/boot/vmlinuz-4.8.0-45-generic.efi.signed root=UUID=c54b5978-d726-4a3c-8f89-5554480823ba ro  quiet splash $vt_handoff
  		echo	'Loading initial ramdisk ...'
  		initrd	/boot/initrd.img-4.8.0-45-generic
  	}
  	menuentry 'Ubuntu, with Linux 4.8.0-45-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-45-generic-init-upstart-c54b5978-d726-4a3c-8f89-5554480823ba' {
  		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,gpt5'
  		if [ x$feature_platform_search_hint = xy ]; then
  		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c54b5978-d726-4a3c-8f89-5554480823ba
  		else
  		  search --no-floppy --fs-uuid --set=root c54b5978-d726-4a3c-8f89-5554480823ba
  		fi
  		echo	'Loading Linux 4.8.0-45-generic ...'
  		linux	/boot/vmlinuz-4.8.0-45-generic.efi.signed root=UUID=c54b5978-d726-4a3c-8f89-5554480823ba ro  quiet splash $vt_handoff init=/sbin/upstart
  		echo	'Loading initial ramdisk ...'
  		initrd	/boot/initrd.img-4.8.0-45-generic
  	}
  	menuentry 'Ubuntu, with Linux 4.8.0-45-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-45-generic-recovery-c54b5978-d726-4a3c-8f89-5554480823ba' {
  		recordfail
  		load_video
  		insmod gzio
  		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  		insmod part_gpt
  		insmod ext2
  		set root='hd0,gpt5'
  		if [ x$feature_platform_search_hint = xy ]; then
  		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c54b5978-d726-4a3c-8f89-5554480823ba
  		else
  		  search --no-floppy --fs-uuid --set=root c54b5978-d726-4a3c-8f89-5554480823ba
  		fi
  		echo	'Loading Linux 4.8.0-45-generic ...'
  		linux	/boot/vmlinuz-4.8.0-45-generic.efi.signed root=UUID=c54b5978-d726-4a3c-8f89-5554480823ba ro recovery nomodeset 
  		echo	'Loading initial ramdisk ...'
  		initrd	/boot/initrd.img-4.8.0-45-generic
  	}
  	menuentry 'Ubuntu, with Linux 4.8.0-44-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-44-generic-advanced-c54b5978-d726-4a3c-8f89-5554480823ba' {
  		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,gpt5'
  		if [ x$feature_platform_search_hint = xy ]; then
  		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c54b5978-d726-4a3c-8f89-5554480823ba
  		else
  		  search --no-floppy --fs-uuid --set=root c54b5978-d726-4a3c-8f89-5554480823ba
  		fi
  		echo	'Loading Linux 4.8.0-44-generic ...'
  		linux	/boot/vmlinuz-4.8.0-44-generic.efi.signed root=UUID=c54b5978-d726-4a3c-8f89-5554480823ba ro  quiet splash $vt_handoff
  		echo	'Loading initial ramdisk ...'
  		initrd	/boot/initrd.img-4.8.0-44-generic
  	}
  	menuentry 'Ubuntu, with Linux 4.8.0-44-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-44-generic-init-upstart-c54b5978-d726-4a3c-8f89-5554480823ba' {
  		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,gpt5'
  		if [ x$feature_platform_search_hint = xy ]; then
  		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c54b5978-d726-4a3c-8f89-5554480823ba
  		else
  		  search --no-floppy --fs-uuid --set=root c54b5978-d726-4a3c-8f89-5554480823ba
  		fi
  		echo	'Loading Linux 4.8.0-44-generic ...'
  		linux	/boot/vmlinuz-4.8.0-44-generic.efi.signed root=UUID=c54b5978-d726-4a3c-8f89-5554480823ba ro  quiet splash $vt_handoff init=/sbin/upstart
  		echo	'Loading initial ramdisk ...'
  		initrd	/boot/initrd.img-4.8.0-44-generic
  	}
  	menuentry 'Ubuntu, with Linux 4.8.0-44-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.8.0-44-generic-recovery-c54b5978-d726-4a3c-8f89-5554480823ba' {
  		recordfail
  		load_video
  		insmod gzio
  		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  		insmod part_gpt
  		insmod ext2
  		set root='hd0,gpt5'
  		if [ x$feature_platform_search_hint = xy ]; then
  		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c54b5978-d726-4a3c-8f89-5554480823ba
  		else
  		  search --no-floppy --fs-uuid --set=root c54b5978-d726-4a3c-8f89-5554480823ba
  		fi
  		echo	'Loading Linux 4.8.0-44-generic ...'
  		linux	/boot/vmlinuz-4.8.0-44-generic.efi.signed root=UUID=c54b5978-d726-4a3c-8f89-5554480823ba ro recovery nomodeset 
  		echo	'Loading initial ramdisk ...'
  		initrd	/boot/initrd.img-4.8.0-44-generic
  	}
  	menuentry 'Ubuntu, with Linux 4.4.0-70-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-70-generic-advanced-c54b5978-d726-4a3c-8f89-5554480823ba' {
  		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,gpt5'
  		if [ x$feature_platform_search_hint = xy ]; then
  		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c54b5978-d726-4a3c-8f89-5554480823ba
  		else
  		  search --no-floppy --fs-uuid --set=root c54b5978-d726-4a3c-8f89-5554480823ba
  		fi
  		echo	'Loading Linux 4.4.0-70-generic ...'
  		linux	/boot/vmlinuz-4.4.0-70-generic.efi.signed root=UUID=c54b5978-d726-4a3c-8f89-5554480823ba ro  quiet splash $vt_handoff
  		echo	'Loading initial ramdisk ...'
  		initrd	/boot/initrd.img-4.4.0-70-generic
  	}
  	menuentry 'Ubuntu, with Linux 4.4.0-70-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-70-generic-init-upstart-c54b5978-d726-4a3c-8f89-5554480823ba' {
  		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,gpt5'
  		if [ x$feature_platform_search_hint = xy ]; then
  		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c54b5978-d726-4a3c-8f89-5554480823ba
  		else
  		  search --no-floppy --fs-uuid --set=root c54b5978-d726-4a3c-8f89-5554480823ba
  		fi
  		echo	'Loading Linux 4.4.0-70-generic ...'
  		linux	/boot/vmlinuz-4.4.0-70-generic.efi.signed root=UUID=c54b5978-d726-4a3c-8f89-5554480823ba ro  quiet splash $vt_handoff init=/sbin/upstart
  		echo	'Loading initial ramdisk ...'
  		initrd	/boot/initrd.img-4.4.0-70-generic
  	}
  	menuentry 'Ubuntu, with Linux 4.4.0-70-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-70-generic-recovery-c54b5978-d726-4a3c-8f89-5554480823ba' {
  		recordfail
  		load_video
  		insmod gzio
  		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  		insmod part_gpt
  		insmod ext2
  		set root='hd0,gpt5'
  		if [ x$feature_platform_search_hint = xy ]; then
  		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  c54b5978-d726-4a3c-8f89-5554480823ba
  		else
  		  search --no-floppy --fs-uuid --set=root c54b5978-d726-4a3c-8f89-5554480823ba
  		fi
  		echo	'Loading Linux 4.4.0-70-generic ...'
  		linux	/boot/vmlinuz-4.4.0-70-generic.efi.signed root=UUID=c54b5978-d726-4a3c-8f89-5554480823ba ro recovery nomodeset 
  		echo	'Loading initial ramdisk ...'
  		initrd	/boot/initrd.img-4.4.0-70-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 ###
  menuentry 'Windows Boot Manager (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-efi-BC6E-6E60' {
  	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  BC6E-6E60
  	else
  	  search --no-floppy --fs-uuid --set=root BC6E-6E60
  	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 ###
  --------------------------------------------------------------------------------

  =============================== sda5/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/sda5 during installation
  UUID=c54b5978-d726-4a3c-8f89-5554480823ba /               ext4    errors=remount-ro 0       1
  # /boot/efi was on /dev/sda1 during installation
  UUID=BC6E-6E60  /boot/efi       vfat    umask=0077      0       1
  # swap was on /dev/sda6 during installation
  UUID=b11242ba-bb9d-4a2b-9e12-9ddcc63a069c none            swap    sw              0       0
  --------------------------------------------------------------------------------

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

             GiB - GB             File
  Fragment(s)

   845.059616089 = 907.375853568  boot/grub/grub.cfg                             1
   644.739311218 = 692.283564032  boot/vmlinuz-4.4.0-70-generic                  1
   847.341556549 = 909.826068480  boot/vmlinuz-4.4.0-70-generic.efi.signed       1
   783.935672760 = 841.744519168  boot/vmlinuz-4.8.0-44-generic                  1
   785.970829010 = 843.929751552  boot/vmlinuz-4.8.0-44-generic.efi.signed       1
   645.341922760 = 692.930613248  boot/vmlinuz-4.8.0-45-generic                  1
   646.591922760 = 694.272790528  boot/vmlinuz-4.8.0-45-generic.efi.signed       1
   645.341922760 = 692.930613248  vmlinuz                                        1
   783.935672760 = 841.744519168  vmlinuz.old                                    1
   785.871040344 = 843.822604288  boot/initrd.img-4.4.0-70-generic               3
   646.498325348 = 694.172291072  boot/initrd.img-4.8.0-44-generic               2
   648.201358795 = 696.000909312  boot/initrd.img-4.8.0-45-generic               5
   648.201358795 = 696.000909312  initrd.img                                     5
   646.498325348 = 694.172291072  initrd.img.old                                 2

  
  ADDITIONAL INFORMATION :
  =================== log of boot-repair 2017-03-31__12h15 ===================
  boot-repair version : 4ppa40
  boot-sav version : 4ppa40
  glade2script version : 3.2.3~ppa1
  boot-sav-extra version : 4ppa40
  Warning: failed to translate partition name
  Warning: failed to translate partition name
  boot-repair is executed in installed-session (Ubuntu 16.10, yakkety, Ubuntu, x86_64)
  CPU op-mode(s):        32-bit, 64-bit
  BOOT_IMAGE=/boot/vmlinuz-4.8.0-45-generic.efi.signed root=UUID=c54b5978-d726-4a3c-8f89-5554480823ba ro quiet splash vt.handoff=7
  The disk contains an unclean file system (0, 1).
  The file system wasn't safely closed on Windows. Fixing.
  The disk contains an unclean file system (0, 0).
  The file system wasn't safely closed on Windows. Fixing.

  =================== os-prober:
  /dev/sda5:The OS now in use - Ubuntu 16.10 CurrentSession:linux
  /dev/sda1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

  =================== blkid:
  /dev/loop0: TYPE="squashfs"
  /dev/loop1: TYPE="squashfs"
  /dev/loop2: TYPE="squashfs"
  /dev/loop3: TYPE="squashfs"
  /dev/loop4: TYPE="squashfs"
  /dev/sda1: LABEL="ESP" UUID="BC6E-6E60" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="e9a55a90-a7b7-45e9-ae15-40ec7a360b8e"
  /dev/sda3: UUID="28A2E38BA2E35C36" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="bf12697e-a50c-4355-b0aa-063c9ba8f768"
  /dev/sda4: LABEL="WINRETOOLS" UUID="9E6C78BA6C788EB1" TYPE="ntfs" PARTUUID="628c84ae-47a7-4459-a824-919aee0e9280"
  /dev/sda5: UUID="c54b5978-d726-4a3c-8f89-5554480823ba" TYPE="ext4" PARTLABEL="Ubuntu" PARTUUID="6ef0b7b4-4887-4d74-8b7e-7f533c8e7ed4"
  /dev/sda6: UUID="b11242ba-bb9d-4a2b-9e12-9ddcc63a069c" TYPE="swap" PARTLABEL="SWAP Space" PARTUUID="209d3b06-d8b6-4548-9f8d-b13a6118e6f4"
  /dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="e2b39ced-d35c-4960-b4c5-b59f964a14d7"

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

  Windows not detected by os-prober on sda3.

  =================== /etc/grub.d/ :
  drwxr-xr-x  2 root root     4096 Mar 28 01:30 grub.d
  total 76
  -rwxr-xr-x 1 root root  9791 Apr 15  2016 00_header
  -rwxr-xr-x 1 root root  6258 Mar 15  2016 05_debian_theme
  -rwxr-xr-x 1 root root 12261 Sep  6  2016 10_linux
  -rwxr-xr-x 1 root root 11082 Apr 15  2016 20_linux_xen
  -rwxr-xr-x 1 root root  1992 Jan 28  2016 20_memtest86+
  -rwxr-xr-x 1 root root 11692 Apr 15  2016 30_os-prober
  -rwxr-xr-x 1 root root  1418 Apr 15  2016 30_uefi-firmware
  -rwxr-xr-x 1 root root   214 Apr 15  2016 40_custom
  -rwxr-xr-x 1 root root   216 Apr 15  2016 41_custom
  -rw-r--r-- 1 root root   483 Apr 15  2016 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 sda5: UUID=BC6E-6E60   (sda1)
  Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
  Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi

  =================== efibootmgr -v
  BootCurrent: 0000
  Timeout: 0 seconds
  BootOrder: 0000,0006
  Boot0000* ubuntu	PciRoot(0x0)/Pci(0x17,0x0)/Sata(0,65535,0)/HD(1,GPT,e9a55a90-a7b7-45e9-ae15-40ec7a360b8e,0x800,0xfa000)/File(EFIubuntushimx64.efi)
  Boot0006* Windows Boot Manager	HD(1,GPT,e9a55a90-a7b7-45e9-ae15-40ec7a360b8e,0x800,0xfa000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)..BO

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

  
  =================== PARTITIONS & DISKS:
  sda5	: 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,	farbios,	.
  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,	/boot/efi.
  sda3	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda3.
  sda4	: 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,	recovery-or-hidden,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda4.

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

  
  =================== parted -l:

  Model: ATA WDC WD10SPCX-75K (scsi)
  Disk /dev/sda: 1000GB
  Sector size (logical/physical): 512B/4096B
  Partition Table: gpt
  Disk Flags:

  Number  Start   End     Size    File system     Name                          Flags
  1      1049kB  525MB   524MB   fat32           EFI system partition          boot, esp
  2      525MB   660MB   134MB                   Microsoft reserved partition  msftres
  3      660MB   688GB   687GB   ntfs            Basic data partition          msftdata
  6      688GB   692GB   4096MB  linux-swap(v1)  SWAP Space
  5      692GB   1000GB  308GB   ext4            Ubuntu
  4      1000GB  1000GB  472MB   ntfs                                          hidden, diag

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

  BYT;
  /dev/sda:1000GB:scsi:512:4096:gpt:ATA WDC WD10SPCX-75K:;
  1:1049kB:525MB:524MB:fat32:EFI system partition:boot, esp;
  2:525MB:660MB:134MB::Microsoft reserved partition:msftres;
  3:660MB:688GB:687GB:ntfs:Basic data partition:msftdata;
  6:688GB:692GB:4096MB:linux-swap(v1):SWAP Space:;
  5:692GB:1000GB:308GB:ext4:Ubuntu:;
  4:1000GB:1000GB:472MB:ntfs::hidden, diag;

  =================== lsblk:
  KNAME TYPE FSTYPE     SIZE LABEL
  loop1 loop squashfs 128.4M
  loop4 loop squashfs  72.4M
  loop2 loop squashfs 101.7M
  loop0 loop squashfs  78.3M
  sda   disk          931.5G
  sda4  part ntfs       450M WINRETOOLS
  sda2  part            128M
  sda5  part ext4     286.7G
  sda3  part ntfs       640G
  sda1  part vfat       500M ESP
  sda6  part swap       3.8G
  loop3 loop squashfs  73.1M

  KNAME ROTA RO RM STATE   MOUNTPOINT
  loop1    1  0  0         /snap/deepin-music/1
  loop4    1  0  0         /snap/darktable-kyrofa/19
  loop2    1  0  0         /snap/skrifa/6
  loop0    1  0  0         /snap/core/1441
  sda      1  0  0 running
  sda4     1  0  0         /mnt/boot-sav/sda4
  sda2     1  0  0
  sda5     1  0  0         /
  sda3     1  0  0         /mnt/boot-sav/sda3
  sda1     1  0  0         /boot/efi
  sda6     1  0  0         [SWAP]
  loop3    1  0  0         /snap/checkbox-snappy/342

  
  =================== 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=3993956k,nr_inodes=998489,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=803128k,mode=755)
  /dev/sda5 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 (rw,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/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
  cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,release_agent=/run/cgmanager/agents/cgm-release-agent.perf_event)
  cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,clone_children)
  cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
  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,release_agent=/run/cgmanager/agents/cgm-release-agent.hugetlb)
  cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
  cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,release_agent=/run/cgmanager/agents/cgm-release-agent.pids)
  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=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=13756)
  mqueue on /dev/mqueue type mqueue (rw,relatime)
  debugfs on /sys/kernel/debug type debugfs (rw,relatime)
  hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
  fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  /var/lib/snapd/snaps/core_1441.snap on /snap/core/1441 type squashfs (ro,relatime)
  /var/lib/snapd/snaps/darktable-kyrofa_19.snap on /snap/darktable-kyrofa/19 type squashfs (ro,relatime)
  /var/lib/snapd/snaps/deepin-music_1.snap on /snap/deepin-music/1 type squashfs (ro,relatime)
  /var/lib/snapd/snaps/skrifa_6.snap on /snap/skrifa/6 type squashfs (ro,relatime)
  /var/lib/snapd/snaps/checkbox-snappy_342.snap on /snap/checkbox-snappy/342 type squashfs (ro,relatime)
  /dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
  tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=803124k,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)
  /dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
  /dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)

  
  =================== 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 sda5 sda6 size slaves stat subsystem trace uevent
  /dev (filtered):  acpi_thermal_rel autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 ecryptfs fb0 fd full fuse gpiochip0 hidraw0 hidraw1 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 initctl input kmsg kvm lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sg0 shm snapshot snd stderr stdin stdout uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net video0 zero
  ls /dev/mapper:  control
  ls: cannot access '': No such file or directory

  =================== hexdump -n512 -C /dev/sda1
  00000000  98 02 00 4d 53 57 49 4e  34 2e 31 00 02 08 2a 00  |...MSWIN4.1...*.|
  00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
  00000020  00 a0 0f 00 e7 03 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 60 6e 6e bc 4e  4f 20 4e 41 4d 45 20 20  |..)`nn.NO NAME  |
  00000050  20 20 46 41 54 33 32 20  20 20 00 00 00 00 00 00  |  FAT32   ......|
  00000060  00 00 00 00 00 00 00 00  40 85 fe 81 24 7f 00 00  |........ at ...$...|
  00000070  ff ff ff ff 00 00 00 00  78 01 00 6c 24 7f 00 00  |........x..l$...|
  00000080  00 00 00 e8 0e 00 00 00  90 9b 00 6c 24 7f 00 00  |...........l$...|
  00000090  ff ff ff ff ff ff ff ff  00 02 00 00 b0 61 00 00  |.............a..|
  000000a0  a0 9b 00 6c 24 7f 00 00  00 00 00 00 00 00 00 00  |...l$...........|
  000000b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
  000000c0  ff ff ff ff 24 7f 00 00  70 9b 00 6c 24 7f 00 00  |....$...p..l$...|
  000000d0  80 4a 46 7e 24 7f 00 00  e0 66 fe 81 24 7f 00 00  |.JF~$....f..$...|
  000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
  *
  00000150  00 9c 00 6c 24 7f 00 00  00 9c 00 6c 24 7f 00 00  |...l$......l$...|
  00000160  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
  00000170  80 01 00 00 00 00 00 00  34 00 00 00 00 00 00 00  |........4.......|
  00000180  90 5e 00 6c 24 7f 00 00  00 02 00 00 00 00 00 00  |.^.l$...........|
  00000190  00 00 00 00 00 00 00 00  00 02 00 00 00 00 00 00  |................|
  000001a0  b0 01 00 00 00 00 00 00  64 00 00 00 00 00 00 00  |........d.......|
  000001b0  80 2c 00 6c 24 7f 00 00  00 00 00 00 00 00 00 00  |.,.l$...........|
  000001c0  60 4a 00 6c 24 7f 00 00  10 49 00 6c 24 7f 00 00  |`J.l$....I.l$...|
  000001d0  00 08 00 00 00 00 00 00  00 f8 73 07 00 00 00 00  |..........s.....|
  000001e0  ff ff 73 07 00 00 00 00  01 00 00 00 00 00 00 00  |..s.............|
  000001f0  10 54 ef 82 24 7f 00 00  00 00 00 00 00 00 55 aa  |.T..$.........U.|
  00000200

  =================== hexdump -n512 -C /dev/sda3
  00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
  00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 a8 13 00  |........?.......|
  00000020  00 00 00 00 80 00 80 00  f8 ff ff 4f 00 00 00 00  |...........O....|
  00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
  00000040  f6 00 00 00 01 00 00 00  36 5c e3 a2 8b e3 a2 28  |........6.....(|
  00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
  00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
  00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
  00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
  00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
  000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
  000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
  000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
  000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
  000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
  000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
  00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
  00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
  00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
  00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
  00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
  00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
  00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
  00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
  00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
  00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
  000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
  000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
  000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
  000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
  000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
  000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
  00000200

  =================== hexdump -n512 -C /dev/sda4
  00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
  00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 58 62 74  |........?....Xbt|
  00000020  00 00 00 00 80 00 80 00  ff 0f 0e 00 00 00 00 00  |................|
  00000030  00 96 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
  00000040  f6 00 00 00 01 00 00 00  b1 8e 78 6c ba 78 6c 9e  |..........xl.xl.|
  00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
  00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
  00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
  00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
  00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
  000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
  000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
  000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
  000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
  000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
  000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
  00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
  00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
  00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
  00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
  00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
  00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
  00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
  00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
  00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 41 20 64 69  |............A di|
  00000190  73 6b 20 72 65 61 64 20  65 72 72 6f 72 20 6f 63  |sk read error oc|
  000001a0  63 75 72 72 65 64 00 0d  0a 42 4f 4f 54 4d 47 52  |curred...BOOTMGR|
  000001b0  20 69 73 20 63 6f 6d 70  72 65 73 73 65 64 00 0d  | is compressed..|
  000001c0  0a 50 72 65 73 73 20 43  74 72 6c 2b 41 6c 74 2b  |.Press Ctrl+Alt+|
  000001d0  44 65 6c 20 74 6f 20 72  65 73 74 61 72 74 0d 0a  |Del to restart..|
  000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
  000001f0  00 00 00 00 00 00 8a 01  a7 01 bf 01 00 00 55 aa  |..............U.|
  00000200

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

  Filesystem     Type      Size  Used Avail Use% Mounted on
  udev           devtmpfs  3.9G     0  3.9G   0% /dev
  tmpfs          tmpfs     785M  9.8M  775M   2% /run
  /dev/sda5      ext4      283G  8.5G  260G   4% /
  tmpfs          tmpfs     3.9G  1.9M  3.9G   1% /dev/shm
  tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
  tmpfs          tmpfs     3.9G     0  3.9G   0% /sys/fs/cgroup
  /dev/loop0     squashfs   79M   79M     0 100% /snap/core/1441
  /dev/loop4     squashfs   73M   73M     0 100% /snap/darktable-kyrofa/19
  /dev/loop1     squashfs  129M  129M     0 100% /snap/deepin-music/1
  /dev/loop2     squashfs  102M  102M     0 100% /snap/skrifa/6
  /dev/loop3     squashfs   74M   74M     0 100% /snap/checkbox-snappy/342
  /dev/sda1      vfat      500M   41M  459M   9% /boot/efi
  tmpfs          tmpfs     785M  112K  785M   1% /run/user/1000
  /dev/sda3      fuseblk   640G   61G  580G  10% /mnt/boot-sav/sda3
  /dev/sda4      fuseblk   450M  373M   78M  83% /mnt/boot-sav/sda4

  =================== fdisk -l:
  Disk /dev/loop0: 78.3 MiB, 82083840 bytes, 160320 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/loop1: 128.4 MiB, 134639616 bytes, 262968 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/loop2: 101.7 MiB, 106631168 bytes, 208264 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/loop3: 73.1 MiB, 76660736 bytes, 149728 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/loop4: 72.4 MiB, 75948032 bytes, 148336 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: 414AEEBE-00D7-48E8-88F4-5AAF89C7BD56

  Device          Start        End    Sectors   Size Type
  /dev/sda1        2048    1026047    1024000   500M EFI System
  /dev/sda2     1026048    1288191     262144   128M Microsoft reserved
  /dev/sda3     1288192 1343465471 1342177280   640G Microsoft basic data
  /dev/sda4  1952602112 1953523711     921600   450M Windows recovery environment
  /dev/sda5  1351464960 1952601678  601136719 286.7G Linux filesystem
  /dev/sda6  1343465472 1351464959    7999488   3.8G Linux swap

  Partition table entries are not in disk order.


  
  =================== Suggested repair
  The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sda5, using the following options:        sda1/boot/efi,
  Additional repair would be performed: unhide-bootmenu-10s   fix-windows-boot use-standard-efi-file

  
  =================== Advice in case of suggested repair
  Please disable SecureBoot in the BIOS. Then try again.Do you want to continue?

  
  =================== Final advice in case of suggested repair

  
  The boot files of [The OS now in use - Ubuntu 16.10] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot Repair]. (https://help.ubuntu.com/community/BootPartition)

  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\...\grub*.efi

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


  
  paste.ubuntu.com ko (), using paste.debian
  paste.debian.net ko (), using paste2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1678229/+subscriptions



More information about the foundations-bugs mailing list