Contenu | Rechercher | Menus

Annonce

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

À propos de l'équipe du forum.

#1 Le 04/07/2017, à 19:55

bjorge

[RESOLU] Grub rescue & boot-repair

Bonjour à tous,

Il y a quelques semaines, j'ai installé un dual-boot Win10/Linux quasiment sans aucun souci. "Quasiment", car malgré la suppression de la veille prolongée et tout le reste, ma partition Windows n'apparait pas dans le GRUB, mais ce n'est pas un problème car je peux passer par mon BIOS pour choisir sur quoi booter.

J'ai pu travailler normalement sur chacun des OS jusqu'à maintenant, mais j'ai été confronté à un problème d'espace disque lors de l'installation de dépendances node. J'ai vu trop petit en partitionnant.
Bref, je me dis que je peux simplement redimensionner mes partitions, ce que je commence à faire (première erreur), via Partition Wizzard sous Windows (deuxième erreur, j'aurais dû le faire avec GParted, mais j'ai voulu gagner quelques inutiles secondes et ne pas reboot).
Je réduis ma partition Windows, redémarre pour que cela prenne effet, et me rends compte que la partition GRUB ne peut être déplacée, donc décide de restaurer ma partition Windows dans sa taille initiale. A ce stade, je n'ai touché à rien de ce qui est sollicité par Linux.

Ce n'est qu'au moment de repasser sous cet OS que je suis tombé sur le GRUB rescue.

J'ai donc lancé une live-usb ubuntu et fait tourner le boot-repair auto. Voici ce que bash ressort :

ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sda6" dpkg --configure -a
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sda6" apt-get install -fy
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cinnamon-common cinnamon-desktop-data gir1.2-cinnamondesktop-3.0
  gir1.2-meta-muffin-0.0 libcinnamon-desktop4 libmuffin0 muffin-common
  xscreensaver-data
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/sda6" apt-get purge -y --force-yes grub*-common grub-common:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'grub-common' for regex 'grub*-common'
E: Unable to locate package grub-common

Bref, grub ne se désinstalle pas, au temps pour le boot-repair auto.
J'ai donc généré les logs, disponibles ici.

Y a-t-il un moyen de récupérer mon accès grub ?
Si oui, est-il possible de le déplacer par la suite avec GParted sans tout re-csser pour augmenter mes partitions linux ?

Merci d'avance,
Bjorge

Dernière modification par bjorge (Le 05/07/2017, à 23:14)


Dev node, maitrise linux standard

Hors ligne

#2 Le 05/07/2017, à 10:58

malbo

Re : [RESOLU] Grub rescue & boot-repair

Bonjour,
Ton Boot-Info est là :

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


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

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

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 7/2008: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/Boot/bootx64.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 2000/XP: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda5: __________________________________________________________________________

    File system:       BIOS Boot partition
    Boot sector type:  Grub2's core.img
    Boot sector info: 

sda6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Debian GNU/Linux 8 (jessie)
    Boot files:        /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/i386-pc/core.img

sda7: __________________________________________________________________________

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

sda8: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.03
    Boot sector info:  Syslinux looks at sector 16408 of /dev/sdb1 for its 
                       second stage. The integrity check of Syslinux failed. 
                       No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi 
                       /EFI/BOOT/grubx64.efi /ldlinux.sys

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 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: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   500,118,191   500,118,191  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1                 2,048       206,847       204,800 EFI System partition
/dev/sda2               206,848       468,991       262,144 Microsoft Reserved Partition (Windows)
/dev/sda3               468,992   240,261,119   239,792,128 Data partition (Windows/Linux)
/dev/sda4           240,261,120   422,318,079   182,056,960 Data partition (Windows/Linux)
/dev/sda5           422,318,080   422,903,807       585,728 BIOS Boot partition
/dev/sda6           422,903,808   444,387,327    21,483,520 Data partition (Linux)
/dev/sda7           444,387,328   447,688,703     3,301,376 Data partition (Linux)
/dev/sda8      R    447,688,704   500,117,503    52,428,800 Windows Recovery Environment (Windows)

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

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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048     8,017,919     8,015,872   c W95 FAT32 (LBA)


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        E677-1126                              vfat       SYSTEM
/dev/sda2                                                          
/dev/sda3        01D2DE0D8A6A2940                       ntfs       
/dev/sda4        01D2F41EE382C4C0                       ntfs       
/dev/sda5                                                          
/dev/sda6        2f10f693-24f7-4726-8fad-1b202b2fe3a9   ext4       
/dev/sda7        7439c883-e8d2-49e8-96b6-cfd1f05af5c0   ext4       
/dev/sda8        32B08E30B08DFB1D                       ntfs       Recovery
/dev/sdb1        3E55-F51C                              vfat       UBUNTU 17_0

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

total 0
lrwxrwxrwx 1 root root  9 Jul  4 17:23 ata-SanDisk_SD7SB3Q256G1002_150792401477 -> ../../sda
lrwxrwxrwx 1 root root 10 Jul  4 17:23 ata-SanDisk_SD7SB3Q256G1002_150792401477-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul  4 17:23 ata-SanDisk_SD7SB3Q256G1002_150792401477-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul  4 17:23 ata-SanDisk_SD7SB3Q256G1002_150792401477-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul  4 17:23 ata-SanDisk_SD7SB3Q256G1002_150792401477-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jul  4 17:23 ata-SanDisk_SD7SB3Q256G1002_150792401477-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Jul  4 17:23 ata-SanDisk_SD7SB3Q256G1002_150792401477-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Jul  4 17:23 ata-SanDisk_SD7SB3Q256G1002_150792401477-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Jul  4 17:23 ata-SanDisk_SD7SB3Q256G1002_150792401477-part8 -> ../../sda8
lrwxrwxrwx 1 root root  9 Jul  4 17:23 usb-USB_DISK_2.0_99964A4594A3A0CD2CFEB848-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jul  4 17:23 usb-USB_DISK_2.0_99964A4594A3A0CD2CFEB848-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  9 Jul  4 17:23 wwn-0x5001b44e27826e45 -> ../../sda
lrwxrwxrwx 1 root root 10 Jul  4 17:23 wwn-0x5001b44e27826e45-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul  4 17:23 wwn-0x5001b44e27826e45-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul  4 17:23 wwn-0x5001b44e27826e45-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul  4 17:23 wwn-0x5001b44e27826e45-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jul  4 17:23 wwn-0x5001b44e27826e45-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Jul  4 17:23 wwn-0x5001b44e27826e45-part6 -> ../../sda6
lrwxrwxrwx 1 root root 10 Jul  4 17:23 wwn-0x5001b44e27826e45-part7 -> ../../sda7
lrwxrwxrwx 1 root root 10 Jul  4 17:23 wwn-0x5001b44e27826e45-part8 -> ../../sda8

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sdb1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=========================== sda6/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 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,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  2f10f693-24f7-4726-8fad-1b202b2fe3a9
else
  search --no-floppy --fs-uuid --set=root 2f10f693-24f7-4726-8fad-1b202b2fe3a9
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=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=-1
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  2f10f693-24f7-4726-8fad-1b202b2fe3a9
else
  search --no-floppy --fs-uuid --set=root 2f10f693-24f7-4726-8fad-1b202b2fe3a9
fi
insmod png
if background_image /usr/share/images/desktop-base/lines-grub.png; then
  set color_normal=white/black
  set color_highlight=black/white
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-2f10f693-24f7-4726-8fad-1b202b2fe3a9' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  2f10f693-24f7-4726-8fad-1b202b2fe3a9
	else
	  search --no-floppy --fs-uuid --set=root 2f10f693-24f7-4726-8fad-1b202b2fe3a9
	fi
	echo	'Chargement de Linux 3.16.0-4-amd64…'
	linux	/boot/vmlinuz-3.16.0-4-amd64 root=UUID=2f10f693-24f7-4726-8fad-1b202b2fe3a9 ro  quiet
	echo	'Chargement du disque mémoire initial…'
	initrd	/boot/initrd.img-3.16.0-4-amd64
}
submenu 'Options avancées pour Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-2f10f693-24f7-4726-8fad-1b202b2fe3a9' {
	menuentry 'Debian GNU/Linux, avec Linux 3.16.0-4-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-amd64-advanced-2f10f693-24f7-4726-8fad-1b202b2fe3a9' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  2f10f693-24f7-4726-8fad-1b202b2fe3a9
		else
		  search --no-floppy --fs-uuid --set=root 2f10f693-24f7-4726-8fad-1b202b2fe3a9
		fi
		echo	'Chargement de Linux 3.16.0-4-amd64…'
		linux	/boot/vmlinuz-3.16.0-4-amd64 root=UUID=2f10f693-24f7-4726-8fad-1b202b2fe3a9 ro  quiet
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.16.0-4-amd64
	}
	menuentry 'Debian GNU/Linux, with Linux 3.16.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-4-amd64-recovery-2f10f693-24f7-4726-8fad-1b202b2fe3a9' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  2f10f693-24f7-4726-8fad-1b202b2fe3a9
		else
		  search --no-floppy --fs-uuid --set=root 2f10f693-24f7-4726-8fad-1b202b2fe3a9
		fi
		echo	'Chargement de Linux 3.16.0-4-amd64…'
		linux	/boot/vmlinuz-3.16.0-4-amd64 root=UUID=2f10f693-24f7-4726-8fad-1b202b2fe3a9 ro single 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.16.0-4-amd64
	}
}

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

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

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

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Recovery Environment (loader) (sur /dev/sda5)' --class windows --class os $menuentry_id_option 'osprober-chain-32B08E30B08DFB1D' {
	insmod part_gpt
	insmod ntfs
	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  32B08E30B08DFB1D
	else
	  search --no-floppy --fs-uuid --set=root 32B08E30B08DFB1D
	fi
	drivemap -s (hd0) ${root}
	chainloader +1
}
### 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 ###
--------------------------------------------------------------------------------

=============================== sda6/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/sda7 during installation
UUID=2f10f693-24f7-4726-8fad-1b202b2fe3a9 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda8 during installation
UUID=7439c883-e8d2-49e8-96b6-cfd1f05af5c0 /home           ext4    defaults        0       2

/dev/sda4 /media/bjorge/documents auto defaults umask=0 0 0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 201.896537781 = 216.784756736  boot/grub/grub.cfg                             1
 203.898727417 = 218.934591488  boot/grub/i386-pc/core.img                     1
 202.068027496 = 216.968892416  boot/vmlinuz-3.16.0-4-amd64                    1
 202.068027496 = 216.968892416  vmlinuz                                        1
 210.553169250 = 226.079744000  boot/initrd.img-3.16.0-4-amd64                 1

=========================== sdb1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------

if loadfont /boot/grub/font.pf2 ; then
	set gfxmode=auto
	insmod efi_gop
	insmod efi_uga
	insmod gfxterm
	terminal_output gfxterm
fi

set menu_color_normal=white/black
set menu_color_highlight=black/light-gray

menuentry "Try Ubuntu without installing" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
	initrd	/casper/initrd.lz
}
menuentry "Install Ubuntu" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
	initrd	/casper/initrd.lz
}
menuentry "OEM install (for manufacturers)" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash oem-config/enable=true ---
	initrd	/casper/initrd.lz
}
menuentry "Check disc for defects" {
	set gfxpayload=keep
	linux	/casper/vmlinuz.efi  boot=casper integrity-check quiet splash ---
	initrd	/casper/initrd.lz
}
--------------------------------------------------------------------------------

============================== sdb1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
DEFAULT loadconfig

LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

            ?? = ??             boot/grub/grub.cfg                             1

================= sdb1: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)

            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1

=============================== StdErr Messages: ===============================

File descriptor 9 (/proc/18516/mountinfo) leaked on lvs invocation. Parent PID 28539: bash
File descriptor 63 (pipe:[79056]) leaked on lvs invocation. Parent PID 28539: bash

ADDITIONAL INFORMATION :
=================== log of boot-repair 2017-07-04__17h23 ===================
boot-repair version : 4ppa40
boot-sav version : 4ppa40
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa40
boot-repair is executed in live-session (Ubuntu 17.04, zesty, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
ls: cannot access '/home/usr/.config': No such file or directory
NTFS signature is missing.
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda5 : Error code 12
mount -r /dev/sda5 /mnt/boot-sav/sda5
NTFS signature is missing.
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda5 : Error code 12

=================== os-prober:
/dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sda6:Debian GNU/Linux 8 (jessie):Debian:linux

=================== blkid:
/dev/sda1: LABEL="SYSTEM" UUID="E677-1126" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="b76937db-7b35-4acd-8ef5-0232b6191b69"
/dev/sda3: UUID="01D2DE0D8A6A2940" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="7888a093-752b-42f6-aa26-a064bb6e6399"
/dev/sda4: UUID="01D2F41EE382C4C0" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="5de7d2f0-d539-01d2-7889-e3a69c6ae900"
/dev/sda6: UUID="2f10f693-24f7-4726-8fad-1b202b2fe3a9" TYPE="ext4" PARTUUID="17e12eb2-00e8-4354-a56e-8154b9b6510f"
/dev/sda7: UUID="7439c883-e8d2-49e8-96b6-cfd1f05af5c0" TYPE="ext4" PARTUUID="b7e02525-ef0b-43d9-8911-de7b0b0328e7"
/dev/sda8: LABEL="Recovery" UUID="32B08E30B08DFB1D" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="32229d52-ef41-467a-8548-7400d8239163"
/dev/sdb1: LABEL="UBUNTU 17_0" UUID="3E55-F51C" TYPE="vfat" PARTUUID="00436bd3-01"
/dev/loop0: TYPE="squashfs"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="087ad0bc-ca22-42f4-be31-d2a4fc6754ed"
/dev/sda5: PARTUUID="1d5de06f-4626-4b5a-ba5b-e80dd473903a"


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

NTFS signature is missing.
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda5 : Error code 12
mount -r /dev/sda5 /mnt/boot-sav/sda5
NTFS signature is missing.
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda5 : Error code 12
Windows not detected by os-prober on sda3.
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda1/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/bootx64.efi

=================== sda6/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Jun  5 16:08 grub.d
total 72
-rwxr-xr-x 1 root root  9424 Dec 14  2015 00_header
-rwxr-xr-x 1 root root  6058 Dec 14  2015 05_debian_theme
-rwxr-xr-x 1 root root 12261 Dec 14  2015 10_linux
-rwxr-xr-x 1 root root 11082 Dec 14  2015 20_linux_xen
-rwxr-xr-x 1 root root 11692 Dec 14  2015 30_os-prober
-rwxr-xr-x 1 root root  1416 Dec 14  2015 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Dec 14  2015 40_custom
-rwxr-xr-x 1 root root   216 Dec 14  2015 41_custom
-rw-r--r-- 1 root root   483 Dec 14  2015 README




=================== sda6/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_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
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"



gui-g2slaunch.sh: line 159: warning: command substitution: ignored null byte in input

=================== efibootmgr -v
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0002,0001,0000,0003
Boot0000* Windows Boot Manager	HD(1,GPT,b76937db-7b35-4acd-8ef5-0232b6191b69,0x800,0x32000)/File(EFIUBUNTUGRUBX64.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0001* Hard Drive	BBS(HD,,0x0)..GO..NO........o.S.a.n.D.i.s.k. .S.D.7.S.B.3.Q.2.5.6.G.1.0.0.2....................A...........................>..Gd-.;.A..MQ..L.5.1.7.0.2.9.0.4.4.1.7.7. . . . . . . . ........BO..NO........s.U.S.B. .D.I.S.K. .2...0. .1...0.0....................A.......................F..Gd-.;.A..MQ..L.9.9.9.6.4.A.4.5.9.4.A.3.A.0.C.D.2.C.F.E.B.8.4.8........BO
Boot0002* Windows Boot Manager	HD(1,GPT,b76937db-7b35-4acd-8ef5-0232b6191b69,0x800,0x32000)/File(EFIMICROSOFTBOOTBOOTMGFW.EFI)..BO
Boot0003* UEFI: USB DISK 2.0 1.00	PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x4294967251,0x800,0x7a5000)..BO

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


=================== PARTITIONS & DISKS:
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,	/mnt/boot-sav/sda1.
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,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda4.
sda6	: sda,	not-sepboot,	grubenv-ok	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,	farbios,	/mnt/boot-sav/sda6.
sda7	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda7.
sda8	: 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,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda8.
sda5	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	/mnt/boot-sav/sda5.

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


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

Model: ATA SanDisk SD7SB3Q2 (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End    Size    File system  Name                          Flags
1      1049kB  106MB  105MB   fat32        EFI system partition          boot, esp
2      106MB   240MB  134MB                Microsoft reserved partition  msftres
3      240MB   123GB  123GB   ntfs         Basic data partition          msftdata
4      123GB   216GB  93.2GB  ntfs         Basic data partition          msftdata
5      216GB   217GB  300MB                                              bios_grub
6      217GB   228GB  11.0GB  ext4
7      228GB   229GB  1690MB  ext4
8      229GB   256GB  26.8GB  ntfs         Basic data partition          hidden, diag


Model: USB DISK 2.0 (scsi)
Disk /dev/sdb: 4105MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
1      1049kB  4105MB  4104MB  primary  fat32        boot, lba

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

BYT;
/dev/sda:256GB:scsi:512:512:gpt:ATA SanDisk SD7SB3Q2:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:240MB:134MB::Microsoft reserved partition:msftres;
3:240MB:123GB:123GB:ntfs:Basic data partition:msftdata;
4:123GB:216GB:93.2GB:ntfs:Basic data partition:msftdata;
5:216GB:217GB:300MB:::bios_grub;
6:217GB:228GB:11.0GB:ext4::;
7:228GB:229GB:1690MB:ext4::;
8:229GB:256GB:26.8GB:ntfs:Basic data partition:hidden, diag;

BYT;
/dev/sdb:4105MB:scsi:512:512:msdos:USB DISK 2.0:;
1:1049kB:4105MB:4104MB:fat32::boot, lba;

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
loop0 loop squashfs   1.5G
sda   disk          238.5G
sda1  part vfat       100M SYSTEM
sda2  part            128M
sda3  part ntfs     114.4G
sda4  part ntfs      86.8G
sda5  part            286M
sda6  part ext4      10.3G
sda7  part ext4       1.6G
sda8  part ntfs        25G Recovery
sdb   disk            3.8G
sdb1  part vfat       3.8G UBUNTU 17_0

KNAME ROTA RO RM STATE   MOUNTPOINT
loop0    1  1  0         /rofs
sda      0  0  0 running
sda1     0  0  0         /mnt/boot-sav/sda1
sda2     0  0  0
sda3     0  0  0         /mnt/boot-sav/sda3
sda4     0  0  0         /mnt/boot-sav/sda4
sda5     0  0  0
sda6     0  0  0         /mnt/boot-sav/sda6
sda7     0  0  0         /mnt/boot-sav/sda7
sda8     0  0  0         /mnt/boot-sav/sda8
sdb      1  0  1 running
sdb1     1  0  1         /cdrom


=================== 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=1954552k,nr_inodes=488638,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=394208k,mode=755)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
aufs on / type aufs (rw,noatime,si=38441dc518c566b0)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=26,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14809)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (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=394204k,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 vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/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)
/dev/sda6 on /mnt/boot-sav/sda6 type ext4 (rw,relatime,data=ordered)
/dev/sda7 on /mnt/boot-sav/sda7 type ext4 (rw,relatime,data=ordered)
/dev/sda8 on /mnt/boot-sav/sda8 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 sda7 sda8 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 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 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 iio:device0 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 sda7 sda8 sdb sdb1 sg0 sg1 shm snapshot snd stderr stdin stdout tpm0 uhid uinput urandom userio v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 02 fe 19  |.X.MSDOS5.0.....|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
00000020  00 20 03 00 01 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 26 11 77 e6 4e  4f 20 4e 41 4d 45 20 20  |..)&.w.NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 4e 02 8a 56 40 b4 41  |{......|.N..V@.A|
00000070  bb aa 55 cd 13 72 10 81  fb 55 aa 75 0a f6 c1 01  |..U..r...U.u....|
00000080  74 05 fe 46 02 eb 2d 8a  56 40 b4 08 cd 13 73 05  |t..F..-.V@....s.|
00000090  b9 ff ff 8a f1 66 0f b6  c6 40 66 0f b6 d1 80 e2  |.....f...@f.....|
000000a0  3f f7 e2 86 cd c0 ed 06  41 66 0f b7 c9 66 f7 e1  |?.......Af...f..|
000000b0  66 89 46 f8 83 7e 16 00  75 38 83 7e 2a 00 77 32  |f.F..~..u8.~*.w2|
000000c0  66 8b 46 1c 66 83 c0 0c  bb 00 80 b9 01 00 e8 2b  |f.F.f..........+|
000000d0  00 e9 2c 03 a0 fa 7d b4  7d 8b f0 ac 84 c0 74 17  |..,...}.}.....t.|
000000e0  3c ff 74 09 b4 0e bb 07  00 cd 10 eb ee a0 fb 7d  |<.t............}|
000000f0  eb e5 a0 f9 7d eb e0 98  cd 16 cd 19 66 60 80 7e  |....}.......f`.~|
00000100  02 00 0f 84 20 00 66 6a  00 66 50 06 53 66 68 10  |.... .fj.fP.Sfh.|
00000110  00 01 00 b4 42 8a 56 40  8b f4 cd 13 66 58 66 58  |....B.V@....fXfX|
00000120  66 58 66 58 eb 33 66 3b  46 f8 72 03 f9 eb 2a 66  |fXfX.3f;F.r...*f|
00000130  33 d2 66 0f b7 4e 18 66  f7 f1 fe c2 8a ca 66 8b  |3.f..N.f......f.|
00000140  d0 66 c1 ea 10 f7 76 1a  86 d6 8a 56 40 8a e8 c0  |.f....v....V@...|
00000150  e4 06 0a cc b8 01 02 cd  13 66 61 0f 82 75 ff 81  |.........fa..u..|
00000160  c3 00 02 66 40 49 75 94  c3 42 4f 4f 54 4d 47 52  |...f@Iu..BOOTMGR|
00000170  20 20 20 20 00 00 00 00  00 00 00 00 00 00 00 00  |    ............|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 52 65  |..............Re|
000001b0  6d 6f 76 65 20 64 69 73  6b 73 20 6f 72 20 6f 74  |move disks or ot|
000001c0  68 65 72 20 6d 65 64 69  61 2e ff 0d 0a 44 69 73  |her media....Dis|
000001d0  6b 20 65 72 72 6f 72 ff  0d 0a 50 72 65 73 73 20  |k error...Press |
000001e0  61 6e 79 20 6b 65 79 20  74 6f 20 72 65 73 74 61  |any key to resta|
000001f0  72 74 0d 0a 00 00 00 00  00 ac cb d8 00 00 55 aa  |rt............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 28 07 00  |........?....(..|
00000020  00 00 00 00 80 00 80 00  f8 ef 4a 0e 00 00 00 00  |..........J.....|
00000030  ff e1 b7 01 00 00 00 00  56 00 00 00 00 00 00 00  |........V.......|
00000040  f6 00 00 00 01 00 00 00  40 29 6a 8a 0d de d2 01  |........@)j.....|
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 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
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  a2 01 b6 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 18 52 0e  |........?.....R.|
00000020  00 00 00 00 80 00 80 00  ff f7 d9 0a 00 00 00 00  |................|
00000030  2b b2 28 00 00 00 00 00  2a b2 28 00 00 00 00 00  |+.(.....*.(.....|
00000040  f6 00 00 00 01 00 00 00  c0 c4 82 e3 1e f4 d2 01  |................|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb b8 c0 07  |.....3.....|....|
00000060  8e d8 e8 16 00 b8 00 0d  8e c0 33 db c6 06 0e 00  |..........3.....|
00000070  10 e8 53 00 68 00 0d 68  6a 02 cb 8a 16 24 00 b4  |..S.h..hj....$..|
00000080  08 cd 13 73 05 b9 ff ff  8a f1 66 0f b6 c6 40 66  |...s......f...@f|
00000090  0f b6 d1 80 e2 3f f7 e2  86 cd c0 ed 06 41 66 0f  |.....?.......Af.|
000000a0  b7 c9 66 f7 e1 66 a3 20  00 c3 b4 41 bb aa 55 8a  |..f..f. ...A..U.|
000000b0  16 24 00 cd 13 72 0f 81  fb 55 aa 75 09 f6 c1 01  |.$...r...U.u....|
000000c0  74 04 fe 06 14 00 c3 66  60 1e 06 66 a1 10 00 66  |t......f`..f...f|
000000d0  03 06 1c 00 66 3b 06 20  00 0f 82 3a 00 1e 66 6a  |....f;. ...:..fj|
000000e0  00 66 50 06 53 66 68 10  00 01 00 80 3e 14 00 00  |.fP.Sfh.....>...|
000000f0  0f 85 0c 00 e8 b3 ff 80  3e 14 00 00 0f 84 61 00  |........>.....a.|
00000100  b4 42 8a 16 24 00 16 1f  8b f4 cd 13 66 58 5b 07  |.B..$.......fX[.|
00000110  66 58 66 58 1f eb 2d 66  33 d2 66 0f b7 0e 18 00  |fXfX..-f3.f.....|
00000120  66 f7 f1 fe c2 8a ca 66  8b d0 66 c1 ea 10 f7 36  |f......f..f....6|
00000130  1a 00 86 d6 8a 16 24 00  8a e8 c0 e4 06 0a cc b8  |......$.........|
00000140  01 02 cd 13 0f 82 19 00  8c c0 05 20 00 8e c0 66  |........... ...f|
00000150  ff 06 10 00 ff 0e 0e 00  0f 85 6f ff 07 1f 66 61  |..........o...fa|
00000160  c3 a0 f8 01 e8 09 00 a0  fb 01 e8 03 00 fb eb fe  |................|
00000170  b4 01 8b f0 ac 3c 00 74  09 b4 0e bb 07 00 cd 10  |.....<.t........|
00000180  eb f2 c3 0d 0a 41 20 64  69 73 6b 20 72 65 61 64  |.....A disk read|
00000190  20 65 72 72 6f 72 20 6f  63 63 75 72 72 65 64 00  | error occurred.|
000001a0  0d 0a 4e 54 4c 44 52 20  69 73 20 6d 69 73 73 69  |..NTLDR is missi|
000001b0  6e 67 00 0d 0a 4e 54 4c  44 52 20 69 73 20 63 6f  |ng...NTLDR is co|
000001c0  6d 70 72 65 73 73 65 64  00 0d 0a 50 72 65 73 73  |mpressed...Press|
000001d0  20 43 74 72 6c 2b 41 6c  74 2b 44 65 6c 20 74 6f  | Ctrl+Alt+Del to|
000001e0  20 72 65 73 74 61 72 74  0d 0a 00 00 00 00 00 00  | restart........|
000001f0  00 00 00 00 00 00 00 00  83 a0 b3 c9 00 00 55 aa  |..............U.|
00000200
ls sda8/efi:
ls sda8: AsChange.exe
AsConfig.ini
AsDeploy.exe
AsDeploy.log
AsDiskLayout.log
AsFac.log
AsKit64.wim
AsPartition.log
AsPEToolVer.txt
AsToolCDVer.txt
asus2.swm
asus3.swm
ASUSLog
asus.swm
boot
bootmgr
bootmgr.efi
createiffs.txt
DisableS3S4
DiskpartScript.txt
Driver64.wim
EFI
imagex.exe
Pass.txt
Recovery
sources
status.log
SWPackage.ini
SWPackage.ini.bak
SWPackageusb.ini
System Volume Information
Tools
USBHDD.log  . Please report this message to boot.repair@gmail.com

=================== hexdump -n512 -C /dev/sda8
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 30 af 1a  |........?....0..|
00000020  00 00 00 00 80 00 80 00  ff ff 1f 03 00 00 00 00  |................|
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  1d fb 8d b0 30 8e b0 32  |............0..2|
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  1.9G     0  1.9G   0% /dev
tmpfs          tmpfs     385M   17M  369M   5% /run
/dev/sdb1      vfat      3.9G  1.5G  2.4G  40% /cdrom
/dev/loop0     squashfs  1.5G  1.5G     0 100% /rofs
aufs           aufs      1.9G   64M  1.9G   4% /
tmpfs          tmpfs     1.9G   11M  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  460K  1.9G   1% /tmp
tmpfs          tmpfs     385M  208K  385M   1% /run/user/999
/dev/sda1      vfat       96M   27M   70M  28% /mnt/boot-sav/sda1
/dev/sda3      fuseblk   115G   76G   39G  67% /mnt/boot-sav/sda3
/dev/sda4      fuseblk    87G   42G   46G  48% /mnt/boot-sav/sda4
/dev/sda6      ext4       10G  7.0G  2.6G  74% /mnt/boot-sav/sda6
/dev/sda7      ext4      1.6G  1.4G   74M  95% /mnt/boot-sav/sda7
/dev/sda8      fuseblk    25G   12G   14G  47% /mnt/boot-sav/sda8

=================== fdisk -l:
Disk /dev/loop0: 1.5 GiB, 1553670144 bytes, 3034512 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: 238.5 GiB, 256060514304 bytes, 500118192 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: gpt
Disk identifier: B97B86E6-DD00-440C-B13F-96ECBEEAB998

Device         Start       End   Sectors   Size Type
/dev/sda1       2048    206847    204800   100M EFI System
/dev/sda2     206848    468991    262144   128M Microsoft reserved
/dev/sda3     468992 240261119 239792128 114.4G Microsoft basic data
/dev/sda4  240261120 422318079 182056960  86.8G Microsoft basic data
/dev/sda5  422318080 422903807    585728   286M BIOS boot
/dev/sda6  422903808 444387327  21483520  10.3G Linux filesystem
/dev/sda7  444387328 447688703   3301376   1.6G Linux filesystem
/dev/sda8  447688704 500117503  52428800    25G Windows recovery environment


Disk /dev/sdb: 3.8 GiB, 4105175040 bytes, 8017920 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: 0x00436bd3

Device     Boot Start     End Sectors  Size Id Type
/dev/sdb1  *     2048 8017919 8015872  3.8G  c W95 FAT32 (LBA)




=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to fix packages sign-grub) and reinstall the grub-efi-amd64-signed of sda6, using the following options:        sda1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s   fix-windows-boot use-standard-efi-file


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


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.

Lorsque tu as fait ta petite manip avec Partition Wizzard, Windows 10 a renuméroté les partitions de sorte qu'elles soient dans l'ordre du disque. Du coup, Grub pointe sur la mauvaise partition (il pointe sur sda7 alors qu'il faudrait qu'il pointe sur sda6) :

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


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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 
    422318080 of the same hard drive for core.img. core.img is at this 
    location and looks for (,gpt7)/boot/grub. It also embeds following 
    components:

Pour réparer cela, il faut que tu désactives provisoirement UEFI dans ton Bios afin de démarrer une session live en mode non-EFI (*) et que tu fasses la réparation recommandée de Boot-Repair depuis cette session live. Si tu tentes de faire fonctionner Boot-Repair depuis une session live en mode EFI, ça ne peut pas marcher.

(*) la session live depuis laquelle tu as fait le Boot-Info était démarrée en mode EFI comme tu peux voir dans cet extrait :

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

C'est pour cette raison que tu n'arrivais à rien avec Boot-Repair

Dernière modification par malbo (Le 05/07/2017, à 11:01)

Hors ligne

#3 Le 05/07/2017, à 23:13

bjorge

Re : [RESOLU] Grub rescue & boot-repair

C'est bon, c'est fonctionnel de nouveau, merci !


Dev node, maitrise linux standard

Hors ligne