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 13/09/2018, à 14:08

bobber

sudo os-prober ne voit pas windows [Résolu]

Bonjour,

je suis débutant sur ubuntu et après avoir installé un dual boot windows7 / ubuntu 14.04 je n'arrive plus depuis aujourd'hui à accèder à windows.

sudo os-prober ne renvoi rien.

le boot-info :

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


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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for /boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk search_fs_uuid
    ---------------------------------------------------------------------------
    
    config script
    ---------------------------------------------------------------------------
    search.fs_uuid aa04865f-8888-4806-a872-249cb6062a9e root hd1,gpt2 
    set prefix=($root)'/boot/grub'
    
    ---------------------------------------------------------------------------
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1               2,048       206,847       204,800  83 Linux
/dev/sda2             206,848   488,394,751   488,187,904   7 NTFS / exFAT / HPFS
/dev/sda3         488,394,752   488,396,799         2,048  83 Linux


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1                   1   625,142,447   625,142,447  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdb1                 2,048    15,624,191    15,622,144 Swap partition (Linux)
/dev/sdb2            15,624,192   625,141,759   609,517,568 Data partition (Linux)

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

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        1CA6BF413B26E118                       ntfs       
/dev/sda2        E8FADAF3FADABCCE                       ntfs       
/dev/sdb1        a02a3254-9201-41c3-ad5f-842bebfaab3e   swap       
/dev/sdb2        aa04865f-8888-4806-a872-249cb6062a9e   ext4       

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

total 0
lrwxrwxrwx 1 root root  9 Sep 13 13:39 ata-Hitachi_HTS543225L9A300_090721FB2F06LLFNUKXC -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 13 13:39 ata-Hitachi_HTS543225L9A300_090721FB2F06LLFNUKXC-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 13 13:43 ata-Hitachi_HTS543225L9A300_090721FB2F06LLFNUKXC-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 13 13:39 ata-Hitachi_HTS543225L9A300_090721FB2F06LLFNUKXC-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Sep 13 13:43 ata-WDC_WD3200BEVT-60ZCT1_WD-WXE0A8917007 -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 13 13:39 ata-WDC_WD3200BEVT-60ZCT1_WD-WXE0A8917007-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 13 13:39 ata-WDC_WD3200BEVT-60ZCT1_WD-WXE0A8917007-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Sep 13 13:39 ata-hp_DVD_A_DH16ACSH_278217910122 -> ../../sr0
lrwxrwxrwx 1 root root  9 Sep 13 13:39 usb-Multiple_Card_Reader_058F63666433-0:0 -> ../../sdc
lrwxrwxrwx 1 root root  9 Sep 13 13:39 wwn-0x5000cca566f3bdf3 -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 13 13:39 wwn-0x5000cca566f3bdf3-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 13 13:43 wwn-0x5000cca566f3bdf3-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 13 13:39 wwn-0x5000cca566f3bdf3-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Sep 13 13:43 wwn-0x50014ee056f09b5e -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 13 13:39 wwn-0x50014ee056f09b5e-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 13 13:39 wwn-0x50014ee056f09b5e-part2 -> ../../sdb2

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

Device           Mount_Point              Type       Options

/dev/sdb2        /                        ext4       (rw,errors=remount-ro)


=========================== sdb2/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='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  aa04865f-8888-4806-a872-249cb6062a9e
else
  search --no-floppy --fs-uuid --set=root aa04865f-8888-4806-a872-249cb6062a9e
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 ###
insmod part_gpt
insmod ext2
set root='hd1,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  aa04865f-8888-4806-a872-249cb6062a9e
else
  search --no-floppy --fs-uuid --set=root aa04865f-8888-4806-a872-249cb6062a9e
fi
insmod jpeg
if background_image /home/steve/Images/Wallpapers/HD_Linux_Desktop_Wallpapers.jpg; then
  set color_normal=yellow/black
  set color_highlight=light-green/black
else
  set menu_color_normal=white/black
  set menu_color_highlight=black/light-gray
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-aa04865f-8888-4806-a872-249cb6062a9e' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  aa04865f-8888-4806-a872-249cb6062a9e
	else
	  search --no-floppy --fs-uuid --set=root aa04865f-8888-4806-a872-249cb6062a9e
	fi
	linux	/boot/vmlinuz-4.4.0-135-generic root=UUID=aa04865f-8888-4806-a872-249cb6062a9e ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.4.0-135-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-aa04865f-8888-4806-a872-249cb6062a9e' {
	menuentry 'Ubuntu, with Linux 4.4.0-135-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-135-generic-advanced-aa04865f-8888-4806-a872-249cb6062a9e' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  aa04865f-8888-4806-a872-249cb6062a9e
		else
		  search --no-floppy --fs-uuid --set=root aa04865f-8888-4806-a872-249cb6062a9e
		fi
		echo	'Loading Linux 4.4.0-135-generic ...'
		linux	/boot/vmlinuz-4.4.0-135-generic root=UUID=aa04865f-8888-4806-a872-249cb6062a9e ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-135-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-135-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-135-generic-recovery-aa04865f-8888-4806-a872-249cb6062a9e' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  aa04865f-8888-4806-a872-249cb6062a9e
		else
		  search --no-floppy --fs-uuid --set=root aa04865f-8888-4806-a872-249cb6062a9e
		fi
		echo	'Loading Linux 4.4.0-135-generic ...'
		linux	/boot/vmlinuz-4.4.0-135-generic root=UUID=aa04865f-8888-4806-a872-249cb6062a9e ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-135-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-134-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-134-generic-advanced-aa04865f-8888-4806-a872-249cb6062a9e' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  aa04865f-8888-4806-a872-249cb6062a9e
		else
		  search --no-floppy --fs-uuid --set=root aa04865f-8888-4806-a872-249cb6062a9e
		fi
		echo	'Loading Linux 4.4.0-134-generic ...'
		linux	/boot/vmlinuz-4.4.0-134-generic root=UUID=aa04865f-8888-4806-a872-249cb6062a9e ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-134-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-134-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-134-generic-recovery-aa04865f-8888-4806-a872-249cb6062a9e' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  aa04865f-8888-4806-a872-249cb6062a9e
		else
		  search --no-floppy --fs-uuid --set=root aa04865f-8888-4806-a872-249cb6062a9e
		fi
		echo	'Loading Linux 4.4.0-134-generic ...'
		linux	/boot/vmlinuz-4.4.0-134-generic root=UUID=aa04865f-8888-4806-a872-249cb6062a9e ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-134-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-aa04865f-8888-4806-a872-249cb6062a9e' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  aa04865f-8888-4806-a872-249cb6062a9e
		else
		  search --no-floppy --fs-uuid --set=root aa04865f-8888-4806-a872-249cb6062a9e
		fi
		echo	'Loading Linux 4.4.0-31-generic ...'
		linux	/boot/vmlinuz-4.4.0-31-generic root=UUID=aa04865f-8888-4806-a872-249cb6062a9e ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-31-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-aa04865f-8888-4806-a872-249cb6062a9e' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  aa04865f-8888-4806-a872-249cb6062a9e
		else
		  search --no-floppy --fs-uuid --set=root aa04865f-8888-4806-a872-249cb6062a9e
		fi
		echo	'Loading Linux 4.4.0-31-generic ...'
		linux	/boot/vmlinuz-4.4.0-31-generic root=UUID=aa04865f-8888-4806-a872-249cb6062a9e ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-4.4.0-31-generic
	}
}

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

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  aa04865f-8888-4806-a872-249cb6062a9e
	else
	  search --no-floppy --fs-uuid --set=root aa04865f-8888-4806-a872-249cb6062a9e
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  aa04865f-8888-4806-a872-249cb6062a9e
	else
	  search --no-floppy --fs-uuid --set=root aa04865f-8888-4806-a872-249cb6062a9e
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

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

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

=============================== sdb2/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/sdb2 during installation
UUID=aa04865f-8888-4806-a872-249cb6062a9e /               ext4    errors=remount-ro 0       1
# swap was on /dev/sdb1 during installation
UUID=a02a3254-9201-41c3-ad5f-842bebfaab3e none            swap    sw              0       0
# Partitions Windows - NTFS
 # /dev/sda2	/mnt/Windows	 ntfs-3g rw,user,auto,gid=100,uid=1000,nls=utf8,umask=002	0	0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

  39.614265442 = 42.535493632   boot/grub/grub.cfg                             1
  39.612709045 = 42.533822464   boot/grub/i386-pc/core.img                     1
  11.702865601 = 12.565856256   boot/vmlinuz-4.4.0-134-generic                 1
 244.280990601 = 262.294716416  boot/vmlinuz-4.4.0-135-generic                 2
   8.655872345 = 9.294172160    boot/vmlinuz-4.4.0-31-generic                  1
 244.280990601 = 262.294716416  vmlinuz                                        2
  11.702865601 = 12.565856256   vmlinuz.old                                    1
  12.089866638 = 12.981395456   boot/initrd.img-4.4.0-134-generic              2
 294.434104919 = 316.146212864  boot/initrd.img-4.4.0-135-generic              2
  11.970554352 = 12.853284864   boot/initrd.img-4.4.0-31-generic               2
 294.434104919 = 316.146212864  initrd.img                                     2
  12.089866638 = 12.981395456   initrd.img.old                                 2

========= Devices which don't seem to have a corresponding hard drive: =========

sdc 


ADDITIONAL INFORMATION :
=================== log of boot-info 20180913_1343 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.

boot-info is executed in installed-session (Ubuntu 14.04.5 LTS, trusty, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.4.0-135-generic root=UUID=aa04865f-8888-4806-a872-249cb6062a9e ro quiet splash vt.handoff=7

=================== os-prober:
/dev/sdb2:L'OS actuellement utilisé - Ubuntu 14.04.5 LTS CurrentSession:linux

=================== blkid:
/dev/sda1: UUID="1CA6BF413B26E118" TYPE="ntfs"
/dev/sda2: UUID="E8FADAF3FADABCCE" TYPE="ntfs"
/dev/sdb1: UUID="a02a3254-9201-41c3-ad5f-842bebfaab3e" TYPE="swap"
/dev/sdb2: UUID="aa04865f-8888-4806-a872-249cb6062a9e" TYPE="ext4"


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

Windows not detected by os-prober on sda2.

Attention : identifiant de table de partitions GPT (GUID) détecté sur « /dev/sdb ». L'utilitaire sfdisk ne prend pas GPT en charge. Utilisez GNU Parted.


Attention : identifiant de table de partitions GPT (GUID) détecté sur « /dev/sda ». L'utilitaire sfdisk ne prend pas GPT en charge. Utilisez GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


=================== /etc/grub.d/ :
drwxr-xr-x  3 root root      4096 sept. 13 13:40 grub.d
drwxr-xr-x  2 root root      4096 sept.  6 22:23 grub.d.ori
total 84
-rwxr-xr-x 1 root root  9791 août   2  2016 00_header
-rwxr-xr-x 1 root root  6058 mai   13  2015 05_debian_theme
-rwxr-xr-x 1 root root 11608 août   2  2016 10_linux
-rwxr-xr-x 1 root root 10412 août   2  2016 20_linux_xen
-rwxr-xr-x 1 root root  1992 mars  12  2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 août   2  2016 30_os-prober
-rwxr-xr-x 1 root root  1418 août   2  2016 30_uefi-firmware
-rwxr-xr-x 1 root root   215 sept. 13 13:40 40_custom
-rwxr-xr-x 1 root root   349 sept. 13 13:40 40_custom~
-rwxr-xr-x 1 root root   216 août   2  2016 41_custom
drwxr-xr-x 4 root root  4096 sept.  7 10:15 backup
-rw-r--r-- 1 root root   483 août   2  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"

export GRUB_MENU_PICTURE="/home/steve/Images/Wallpapers/HD_Linux_Desktop_Wallpapers.jpg"
export GRUB_COLOR_NORMAL="yellow/black"
export GRUB_COLOR_HIGHLIGHT="light-green/black"



=================== UEFI/Legacy mode:
This installed-session is not in EFI-mode.
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sdb2	: sdb,	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,	notbiosboot, .
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda1.
sda2	: 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,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /mnt/boot-sav/sda2.

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


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

BYT;
/dev/sda:250GB:scsi:512:512:msdos:ATA Hitachi HTS54322;
1:1049kB:106MB:105MB:ntfs::;
2:106MB:250GB:250GB:ntfs::;
3:250GB:250GB:1049kB:::;

BYT;
/dev/sdb:320GB:scsi:512:512:gpt:ATA WDC WD3200BEVT-6;
1:1049kB:8000MB:7999MB:linux-swap(v1)::;
2:8000MB:320GB:312GB:ext4::;

=================== lsblk:
KNAME TYPE FSTYPE   SIZE LABEL
sda   disk        232,9G
sda1  part ntfs     100M
sda2  part ntfs   232,8G
sda3  part            1M
sdb   disk        298,1G
sdb1  part swap     7,5G
sdb2  part ext4   290,7G
sr0   rom          1024M

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      1  0  0 running
sda1     1  0  0         /mnt/boot-sav/sda1
sda2     1  0  0         /mnt/boot-sav/sda2
sda3     1  0  0
sdb      1  0  0 running
sdb1     1  0  0         [SWAP]
sdb2     1  0  0         /
sr0      1  0  1 running


=================== mount:
/dev/sdb2 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=steve)
gvfsd-fuse on /home/steve/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)


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

=================== hexdump -n512 -C /dev/sda1
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 08 00 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 1f 03 00 00 00 00 00  |................|
00000030  04 00 00 00 00 00 00 00  ff 31 00 00 00 00 00 00  |.........1......|
00000040  f6 00 00 00 01 00 00 00  18 e1 26 3b 41 bf a6 1c  |..........&;A...|
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 d2 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  40 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |@.+.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 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a e9 6a 01  |U...h..fa.....j.|
00000110  90 90 66 60 1e 06 66 a1  11 00 66 03 06 1c 00 1e  |..f`..f...f.....|
00000120  66 68 00 00 00 00 66 50  06 53 68 01 00 68 10 00  |fh....fP.Sh..h..|
00000130  b4 42 8a 16 0e 00 16 1f  8b f4 cd 13 66 59 5b 5a  |.B..........fY[Z|
00000140  66 59 66 59 1f 0f 82 16  00 66 ff 06 11 00 03 16  |fYfY.....f......|
00000150  0f 00 8e c2 ff 0e 16 00  75 bc 07 1f 66 61 c3 a0  |........u...fa..|
00000160  f8 01 e8 08 00 a0 fb 01  e8 02 00 eb fe b4 01 8b  |................|
00000170  f0 ac 3c 00 74 09 b4 0e  bb 07 00 cd 10 eb f2 c3  |..<.t...........|
00000180  0d 0a 41 20 64 69 73 6b  20 72 65 61 64 20 65 72  |..A disk read er|
00000190  72 6f 72 20 6f 63 63 75  72 72 65 64 00 0d 0a 42  |ror occurred...B|
000001a0  4f 4f 54 4d 47 52 20 69  73 20 6d 69 73 73 69 6e  |OOTMGR is missin|
000001b0  67 00 0d 0a 42 4f 4f 54  4d 47 52 20 69 73 20 63  |g...BOOTMGR is c|
000001c0  6f 6d 70 72 65 73 73 65  64 00 0d 0a 50 72 65 73  |ompressed...Pres|
000001d0  73 20 43 74 72 6c 2b 41  6c 74 2b 44 65 6c 20 74  |s Ctrl+Alt+Del t|
000001e0  6f 20 72 65 73 74 61 72  74 0d 0a 00 00 00 00 00  |o restart.......|
000001f0  00 00 00 00 00 00 00 00  80 9d b2 ca 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda2
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 03 00  |........?....(..|
00000020  00 00 00 00 80 00 80 00  ff 27 19 1d 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  ce bc da fa f3 da fa e8  |................|
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 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 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 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 45 72  |t.............Er|
00000190  72 65 75 72 20 6c 65 63  74 75 72 65 20 64 69 73  |reur lecture dis|
000001a0  71 75 65 00 0d 0a 42 4f  4f 54 4d 47 52 20 61 62  |que...BOOTMGR ab|
000001b0  73 65 6e 74 00 0d 0a 42  4f 4f 54 4d 47 52 20 63  |sent...BOOTMGR c|
000001c0  6f 6d 70 72 65 73 73 82  00 0d 0a 43 74 72 6c 2b  |ompress....Ctrl+|
000001d0  41 6c 74 2b 53 75 70 70  72 20 70 6f 75 72 20 72  |Alt+Suppr pour r|
000001e0  65 64 82 6d 61 72 72 65  72 0d 0a 00 6f 20 72 65  |ed.marrer...o re|
000001f0  73 74 61 72 74 0d 0a 00  8c a4 b5 c9 00 00 55 aa  |start.........U.|
00000200

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  3.9G   12K  3.9G   1% /dev
tmpfs          tmpfs     797M  1.2M  796M   1% /run
/dev/sdb2      ext4      286G   24G  248G   9% /
none           tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
none           tmpfs     5.0M     0  5.0M   0% /run/lock
none           tmpfs     3.9G   51M  3.9G   2% /run/shm
none           tmpfs     100M   20K  100M   1% /run/user
/dev/sda1      fuseblk   100M  2.5M   98M   3% /mnt/boot-sav/sda1
/dev/sda2      fuseblk   233G  126G  108G  54% /mnt/boot-sav/sda2

=================== fdisk -l:

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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 identifier: 0x53d989af

Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048      206847      102400   83  Linux
/dev/sda2          206848   488394751   244093952    7  HPFS/NTFS/exFAT
/dev/sda3       488394752   488396799        1024   83  Linux

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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 identifier: 0xcde956b6

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1   625142447   312571223+  ee  GPT


(debug) reinstall grub2 place-in-all-MBRs no-BIOS_boot (sdb2)


=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sdb2 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s   fix-windows-boot


=================== Blockers in case of suggested repair
GPT détecté. Veuillez créer une partition BIOS-Boot (>1MB, système de fichiers non formaté, drapeau bios_grub). Cela peut être réalisé via des outils tels que Gparted. Puis réessayez.


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sdb (gpt) !


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

>Windows est installé sur un disque de 250go "sda" > sda2
>Ubuntu est installé sur un disque de 320go "sdb"  > sdb2 + swap sdb1
>Grub est installé sur sda1.
Je n'ose pas utiliser Boot-Repair pour restaurer le Mbr par peur de ne plus avoir accès à Ubuntu.
Le choix de sda1 pour grub est il une mauvaise option?
J'ai beau essayer de comprendre, je trouve cela compliqué à 50 ans roll
Merci pour votre aide.

Dernière modification par bobber (Le 16/09/2018, à 20:53)

Hors ligne

#2 Le 13/09/2018, à 16:42

??

Re : sudo os-prober ne voit pas windows [Résolu]

Bonjour.
Je pense pourtant que tu vas devoir utiliser le support d'installation de windows pour réparer son démarrage. Il me semble qu'il manque un certain nombre de fichiers de boot de windows7. N'en visualiser qu'un seul me surprend
sda1: __________________________________________________________________________
    File system:       ntfs

    Boot sector type:  Windows Vista: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:       

sda2: __________________________________________________________________________
    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /Windows/System32/winload.exe

et  /dev/sda1               2,048       206,847       204,800  83 Linux
Tu as manifestement fait un mauvais choix... Si tu n'as pas sauvé la partition SDA1 avant d'y installer le grub, je crains que rien ne soit réparable
J'ai aussi vu cela

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Dans un tel contexte, il faut fabriquer une partition bios-boot de 1 Mo.   Je pense donc que tu as écrasé le premier Mo de SDA1.
Si tu ne peux pas restorer SDA1, je pense que le plus rapide sera de réinstaller windows7.
Je vais faire en sorte que tu disposes d'un autre avis


Utiliser REFIND au lieu du GRUB https://doc.ubuntu-fr.org/refind . Aidez à vous faire dépanner en suivant le guide et en utilisant les outils de diagnostic J'ai perdu ma gomme. Désolé pour les fautes d'orthographes non corrigées.

Hors ligne

#3 Le 13/09/2018, à 18:40

ikewdu

Re : sudo os-prober ne voit pas windows [Résolu]

Salut,

Une ou deux remarques sur le boot-info (est-il vraiment fiable, vu l'ancienneté de la version 14-04 ? Des commandes comme "fdisk", notamment ont évolué depuis.) :

Drive: sda _____________________________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
/dev/sda1               2,048       206,847       204,800  83 Linux
/dev/sda2             206,848   488,394,751   488,187,904   7 NTFS / exFAT / HPFS
/dev/sda3         488,394,752   488,396,799         2,048  83 Linux

Attention : identifiant de table de partitions GPT (GUID) détecté sur « /dev/sdb ». L'utilitaire sfdisk ne prend pas GPT en charge. Utilisez GNU Parted.
Attention : identifiant de table de partitions GPT (GUID) détecté sur « /dev/sda ». L'utilitaire sfdisk ne prend pas GPT en charge. Utilisez GNU Parted.

Plusieurs problèmes sont visibles :
1. Aucun format de disque n'est identifié. Alors qu'on devrait avoir une ligne  "Disklabel type: dos"  (ou gpt), chez toi, il n'y a rien (Cf. la remarque de babdu89, ci-dessous).
2. La partition sda1 est déclarée au format Linux et elle est quasi vide (98 M). Bref, le démarrage de Windows a sauté.
3. Aucune partition n'est active... Ce n'est pas rédhibitoire, mais ce n'est pas idéal non plus.
4. Il y a des traces de "gpt" dans tes deux disques. Tu as visiblement "bricolé" de manière hasardeuse, car ça a très peu de chances d'être apparu tout seul et les deux disques sont concernés par le même souci.

Selon moi, il faut agir en  6 étapes :
1. Faire des sauvegardes de données par sécurité.
2. Supprimer les traces de gpt avec la fonction "zap gpt" de gdisk.
3. Redémarrer sur un support d'installation ou de réparation de Windows.
4. Formater la partition 1 en NTFS et l'activer.
5. Réécrire un mbr Windows et le secteur de boot de cette partition.
6. Recréer les fichiers de démarrage.

Là, ça bootera peut-être sur Windows. Si oui, une réparation de grub avec boot-repair sera peut-être alors  envisageable.

Dernière modification par ikewdu (Le 13/09/2018, à 18:51)

Hors ligne

#4 Le 13/09/2018, à 18:46

Babdu89

Re : sudo os-prober ne voit pas windows [Résolu]

Bonjour.

Boot-info ne sait pas trop bien quoi faire avec /dev/sda. Un coup  il est vu en GPT;

Attention : identifiant de table de partitions GPT (GUID) détecté sur « /dev/sda ». L'utilitaire sfdisk ne prend pas GPT en charge. Utilisez GNU Parted.  

Un coup il est vu en  MSDos

  =================== PARTITIONS & DISKS:
sda	: not-GPT,	BIOSboot-not-needed,	has-no-EFIpart, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes

Il manque les fichiers

/bootmgr /Boot/BCD

Dans Boot files:  de /dev/sda1

Comme ikewdu, je pense qu'il faudra reconstruire la BCD de Windows.

@+.   Babdu89   .


J'ai découvert Ubuntu avec la 07.10.... Et alors?!...  Depuis je regarde de temps en temps si Windows marche toujours....

Hors ligne

#5 Le 13/09/2018, à 19:16

bobber

Re : sudo os-prober ne voit pas windows [Résolu]

En effet, je confirme j'ai "bricolé" smile pour ne pas recommencer j'essaye de décrire ce que je dois faire:

lancer sudo gdisk /dev/sda:

sudo gdisk /dev/sda
[sudo] password for steve: 
GPT fdisk (gdisk) version 0.8.8

Caution: invalid main GPT header, but valid backup; regenerating main header
from backup!

Caution! After loading partitions, the CRC doesn't check out!
Warning! Main partition table CRC mismatch! Loaded backup partition table
instead of main partition table!

Warning! One or more CRCs don't match. You should repair the disk!

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: damaged

Found valid MBR and corrupt GPT. Which do you want to use? (Using the
GPT MAY permit recovery of GPT data.)
 1 - MBR
 2 - GPT
 3 - Create blank GPT

Your answer: 

taper : x

Command (? for help): x

Expert command (? for help): ?
a	set attributes
c	change partition GUID
d	display the sector alignment value
e	relocate backup data structures to the end of the disk
g	change disk GUID
h	recompute CHS values in protective/hybrid MBR
i	show detailed information on a partition
l	set the sector alignment value
m	return to main menu
n	create a new protective MBR
o	print protective MBR data
p	print the partition table
q	quit without saving changes
r	recovery and transformation options (experts only)
s	resize partition table
t	transpose two partition table entries
u	Replicate partition table on new device
v	verify disk
w	write table to disk and exit
z	zap (destroy) GPT data structures and exit
?	print this menu

Expert command (? for help): 

taper z.
Booter sur l'usb Windows et formater ce qui sous Ubuntu correspond à sda1 en Ntfs avant d'y reinstaller le mbr à l'aide de l'usb de windows.

merci pour votre aide.

Hors ligne

#6 Le 13/09/2018, à 19:33

ikewdu

Re : sudo os-prober ne voit pas windows [Résolu]

Commence par sauvegarder tes données. La commande zap  crée parfois des surprises et elle efface tout. Par ailleurs, je ne suis pas sûr que tu puisses le faire depuis ton Linux installé (jamais testé perso)... Tu verras bien ce que ça répond.

Et tu pourras faire pareil avec sdb, qui a le même souci.

Lorsque tu auras fait cela, tu pourras déjà refaire un rapport boot-info pour qu'on voie si c'est plus propre, avant d'aller plus loin.

Dernière modification par ikewdu (Le 13/09/2018, à 19:36)

Hors ligne

#7 Le 13/09/2018, à 19:38

??

Re : sudo os-prober ne voit pas windows [Résolu]

As-tu d'abord, pensé à sauver toutes tes données personnelles ?  car une mauvaise réponse peut rendre ce disque totalement vide.


Utiliser REFIND au lieu du GRUB https://doc.ubuntu-fr.org/refind . Aidez à vous faire dépanner en suivant le guide et en utilisant les outils de diagnostic J'ai perdu ma gomme. Désolé pour les fautes d'orthographes non corrigées.

Hors ligne

#8 Le 13/09/2018, à 19:45

??

Re : sudo os-prober ne voit pas windows [Résolu]

Je ne suis du tout certain que cela soit nécessaire  pour SDB. Il me semble que c'est la façon normale de présenter le GPT en version 14.04 
On trouve ici la présence d'un MBR protecteur qui englobe les deux partitions   et les mots "GUID Partition Table detected.."  Mais plus  trop de souvenirs de cette époque

Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1                   1   625,142,447   625,142,447  ee GPT

GUID Partition Table detected.
Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdb1                 2,048    15,624,191    15,622,144 Swap partition (Linux)
/dev/sdb2            15,624,192   625,141,759   609,517,568 Data partition (Linux)

Utiliser REFIND au lieu du GRUB https://doc.ubuntu-fr.org/refind . Aidez à vous faire dépanner en suivant le guide et en utilisant les outils de diagnostic J'ai perdu ma gomme. Désolé pour les fautes d'orthographes non corrigées.

Hors ligne

#9 Le 13/09/2018, à 19:58

bobber

Re : sudo os-prober ne voit pas windows [Résolu]

Bon ben j'ai fais le zap sur sda et sdb à partir de mon Ubuntu installé et voici le boot-info:

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


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

 => Grub2 (v1.99-2.00) is installed in the MBR of /dev/sda and looks at sector 
    1 of the same hard drive for core.img, but core.img can not be found at 
    this location.
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1               2,048       206,847       204,800  83 Linux
/dev/sda2             206,848   488,394,751   488,187,904   7 NTFS / exFAT / HPFS


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1                   1   625,142,447   625,142,447  ee GPT


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              udf        X17-59479
/dev/sda1        1CA6BF413B26E118                       ntfs       
/dev/sda2        E8FADAF3FADABCCE                       ntfs       
/dev/sdb1        a02a3254-9201-41c3-ad5f-842bebfaab3e   swap       
/dev/sdb2        aa04865f-8888-4806-a872-249cb6062a9e   ext4       

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

total 0
lrwxrwxrwx 1 root root  9 Sep 13 16:04 ata-Hitachi_HTS543225L9A300_090721FB2F06LLFNUKXC -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 13 20:01 ata-Hitachi_HTS543225L9A300_090721FB2F06LLFNUKXC-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 13 16:04 ata-Hitachi_HTS543225L9A300_090721FB2F06LLFNUKXC-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Sep 13 20:01 ata-WDC_WD3200BEVT-60ZCT1_WD-WXE0A8917007 -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 13 16:04 ata-WDC_WD3200BEVT-60ZCT1_WD-WXE0A8917007-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 13 16:04 ata-WDC_WD3200BEVT-60ZCT1_WD-WXE0A8917007-part2 -> ../../sdb2
lrwxrwxrwx 1 root root  9 Sep 13 16:04 ata-hp_DVD_A_DH16ACSH_278217910122 -> ../../sr0
lrwxrwxrwx 1 root root  9 Sep 13 16:04 usb-Multiple_Card_Reader_058F63666433-0:0 -> ../../sdc
lrwxrwxrwx 1 root root  9 Sep 13 16:04 wwn-0x5000cca566f3bdf3 -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 13 20:01 wwn-0x5000cca566f3bdf3-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 13 16:04 wwn-0x5000cca566f3bdf3-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Sep 13 20:01 wwn-0x50014ee056f09b5e -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 13 16:04 wwn-0x50014ee056f09b5e-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 13 16:04 wwn-0x50014ee056f09b5e-part2 -> ../../sdb2

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

Device           Mount_Point              Type       Options

/dev/sda2        /media/steve/E8FADAF3FADABCCE fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sdb2        /                        ext4       (rw,errors=remount-ro)


========= Devices which don't seem to have a corresponding hard drive: =========

sdc 


ADDITIONAL INFORMATION :
=================== log of boot-info 20180913_2001 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
boot-info is executed in installed-session (Ubuntu 14.04.5 LTS, trusty, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.4.0-135-generic root=UUID=aa04865f-8888-4806-a872-249cb6062a9e ro quiet splash vt.handoff=7

=================== os-prober:
/dev/sdb2:L'OS actuellement utilisé - Ubuntu 14.04.5 LTS CurrentSession:linux

=================== blkid:
/dev/sda1: UUID="1CA6BF413B26E118" TYPE="ntfs"
/dev/sda2: UUID="E8FADAF3FADABCCE" TYPE="ntfs"
/dev/sdb1: UUID="a02a3254-9201-41c3-ad5f-842bebfaab3e" TYPE="swap"
/dev/sdb2: UUID="aa04865f-8888-4806-a872-249cb6062a9e" TYPE="ext4"
/dev/loop0: LABEL="X17-59479" TYPE="udf"


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

Windows not detected by os-prober on sda2.

=================== /etc/grub.d/ :
drwxr-xr-x  3 root root      4096 sept. 13 17:56 grub.d
drwxr-xr-x  2 root root      4096 sept.  6 22:23 grub.d.ori
total 84
-rwxr-xr-x 1 root root  9791 août   2  2016 00_header
-rwxr-xr-x 1 root root  6058 mai   13  2015 05_debian_theme
-rwxr-xr-x 1 root root 11608 août   2  2016 10_linux
-rwxr-xr-x 1 root root 10412 août   2  2016 20_linux_xen
-rwxr-xr-x 1 root root  1992 mars  12  2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 août   2  2016 30_os-prober
-rwxr-xr-x 1 root root  1418 août   2  2016 30_uefi-firmware
-rwxr-xr-x 1 root root   215 sept. 13 13:40 40_custom
-rwxr-xr-x 1 root root   349 sept. 13 13:40 40_custom~
-rwxr-xr-x 1 root root   216 août   2  2016 41_custom
drwxr-xr-x 4 root root  4096 sept.  7 10:15 backup
-rw-r--r-- 1 root root   483 août   2  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"

export GRUB_MENU_PICTURE="/home/steve/Images/Wallpapers/HD_Linux_Desktop_Wallpapers.jpg"
export GRUB_COLOR_NORMAL="yellow/black"
export GRUB_COLOR_HIGHLIGHT="light-green/black"



=================== UEFI/Legacy mode:
This installed-session is not in EFI-mode.
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sdb2	: sdb,	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,	not-far,	notbiosboot, .
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda1.
sda2	: 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,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /media/steve/E8FADAF3FADABCCE.

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


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

BYT;
/dev/sda:250GB:scsi:512:512:msdos:ATA Hitachi HTS54322;
1:1049kB:106MB:105MB:ntfs::;
2:106MB:250GB:250GB:ntfs::;

Error: /dev/sdb: unrecognised disk label

=================== lsblk:
KNAME TYPE FSTYPE   SIZE LABEL
sda   disk        232,9G
sda1  part ntfs     100M
sda2  part ntfs   232,8G
sdb   disk        298,1G
sdb1  part swap     7,5G
sdb2  part ext4   290,7G
sr0   rom          1024M
loop0 loop udf        3G X17-59479

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      1  0  0 running
sda1     1  0  0         /mnt/boot-sav/sda1
sda2     1  0  0         /media/steve/E8FADAF3FADABCCE
sdb      1  0  0 running
sdb1     1  0  0         [SWAP]
sdb2     1  0  0         /
sr0      1  0  1 running
loop0    1  1  0         /media/steve/X17-59479


=================== mount:
/dev/sdb2 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=steve)
/dev/sda2 on /media/steve/E8FADAF3FADABCCE type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/media/steve/E8FADAF3FADABCCE/Users/steve/Desktop/Données/Win7/windows7.iso on /media/steve/X17-59479 type udf (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,umask=0077,uhelper=udisks2)
gvfsd-fuse on /root/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)


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

=================== hexdump -n512 -C /dev/sda1
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 08 00 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 1f 03 00 00 00 00 00  |................|
00000030  04 00 00 00 00 00 00 00  ff 31 00 00 00 00 00 00  |.........1......|
00000040  f6 00 00 00 01 00 00 00  18 e1 26 3b 41 bf a6 1c  |..........&;A...|
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 d2 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  40 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |@.+.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 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a e9 6a 01  |U...h..fa.....j.|
00000110  90 90 66 60 1e 06 66 a1  11 00 66 03 06 1c 00 1e  |..f`..f...f.....|
00000120  66 68 00 00 00 00 66 50  06 53 68 01 00 68 10 00  |fh....fP.Sh..h..|
00000130  b4 42 8a 16 0e 00 16 1f  8b f4 cd 13 66 59 5b 5a  |.B..........fY[Z|
00000140  66 59 66 59 1f 0f 82 16  00 66 ff 06 11 00 03 16  |fYfY.....f......|
00000150  0f 00 8e c2 ff 0e 16 00  75 bc 07 1f 66 61 c3 a0  |........u...fa..|
00000160  f8 01 e8 08 00 a0 fb 01  e8 02 00 eb fe b4 01 8b  |................|
00000170  f0 ac 3c 00 74 09 b4 0e  bb 07 00 cd 10 eb f2 c3  |..<.t...........|
00000180  0d 0a 41 20 64 69 73 6b  20 72 65 61 64 20 65 72  |..A disk read er|
00000190  72 6f 72 20 6f 63 63 75  72 72 65 64 00 0d 0a 42  |ror occurred...B|
000001a0  4f 4f 54 4d 47 52 20 69  73 20 6d 69 73 73 69 6e  |OOTMGR is missin|
000001b0  67 00 0d 0a 42 4f 4f 54  4d 47 52 20 69 73 20 63  |g...BOOTMGR is c|
000001c0  6f 6d 70 72 65 73 73 65  64 00 0d 0a 50 72 65 73  |ompressed...Pres|
000001d0  73 20 43 74 72 6c 2b 41  6c 74 2b 44 65 6c 20 74  |s Ctrl+Alt+Del t|
000001e0  6f 20 72 65 73 74 61 72  74 0d 0a 00 00 00 00 00  |o restart.......|
000001f0  00 00 00 00 00 00 00 00  80 9d b2 ca 00 00 55 aa  |..............U.|
00000200

=================== hexdump -n512 -C /dev/sda2
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 03 00  |........?....(..|
00000020  00 00 00 00 80 00 80 00  ff 27 19 1d 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  ce bc da fa f3 da fa e8  |................|
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 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 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 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 45 72  |t.............Er|
00000190  72 65 75 72 20 6c 65 63  74 75 72 65 20 64 69 73  |reur lecture dis|
000001a0  71 75 65 00 0d 0a 42 4f  4f 54 4d 47 52 20 61 62  |que...BOOTMGR ab|
000001b0  73 65 6e 74 00 0d 0a 42  4f 4f 54 4d 47 52 20 63  |sent...BOOTMGR c|
000001c0  6f 6d 70 72 65 73 73 82  00 0d 0a 43 74 72 6c 2b  |ompress....Ctrl+|
000001d0  41 6c 74 2b 53 75 70 70  72 20 70 6f 75 72 20 72  |Alt+Suppr pour r|
000001e0  65 64 82 6d 61 72 72 65  72 0d 0a 00 6f 20 72 65  |ed.marrer...o re|
000001f0  73 74 61 72 74 0d 0a 00  8c a4 b5 c9 00 00 55 aa  |start.........U.|
00000200

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  3.9G   12K  3.9G   1% /dev
tmpfs          tmpfs     797M  1.2M  796M   1% /run
/dev/sdb2      ext4      286G   24G  248G   9% /
none           tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
none           tmpfs     5.0M     0  5.0M   0% /run/lock
none           tmpfs     3.9G   60M  3.9G   2% /run/shm
none           tmpfs     100M   32K  100M   1% /run/user
/dev/sda2      fuseblk   233G  126G  108G  54% /media/steve/E8FADAF3FADABCCE
/dev/loop0     udf       3.1G  3.1G     0 100% /media/steve/X17-59479
/dev/sda1      fuseblk   100M  2.5M   98M   3% /mnt/boot-sav/sda1

=================== fdisk -l:

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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 identifier: 0x53d989af

Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048      206847      102400   83  Linux
/dev/sda2          206848   488394751   244093952    7  HPFS/NTFS/exFAT

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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 identifier: 0xcde956b6

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1   625142447   312571223+  ee  GPT


(debug) reinstall grub2 place-in-all-MBRs no-BIOS_boot (sdb2)


=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sdb2 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s   fix-windows-boot


=================== Blockers in case of suggested repair
GPT détecté. Veuillez créer une partition BIOS-Boot (>1MB, système de fichiers non formaté, drapeau bios_grub). Cela peut être réalisé via des outils tels que Gparted. Puis réessayez.


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sdb ( /dev/sdb) !


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

Dernière modification par bobber (Le 13/09/2018, à 20:02)

Hors ligne

#10 Le 13/09/2018, à 20:16

ikewdu

Re : sudo os-prober ne voit pas windows [Résolu]

Re,

Il n'y a plus d'erreur GPT, mais deux choses me gênent encore :

Disk identifier: 0x53d989af
/dev/sdb1               1   625142447   312571223+  ee  GPT

Confirmé ici :

Error: /dev/sdb: unrecognised disk label

L'un comme l'autre sont inconnus pour moi, et j'avoue n'avoir pas d'idée sur comment les modifier. On va mettre ça sur le compte de la vétusté de ton Linux (et par conséquent des commandes que boot-info exploite).

Tu vas maintenant booter sur un support de réparation ou d'installation de la version de Windows que tu utilises en choisissant l'option "réparer l'ordinateur" pour atteindre l'invite de commandes. Il faudra que tu aies aussi un live-cd de ton Linux pour réparer grub ensuite. .
Tu vas taper ceci :

diskpart
list disk
sel disk 0
list vol
list part
exit

Et tu fais une photo de ce que ça renvoie.

Dernière modification par ikewdu (Le 13/09/2018, à 20:19)

Hors ligne

#11 Le 13/09/2018, à 21:21

bobber

Re : sudo os-prober ne voit pas windows [Résolu]

Du coup plus moyen de lancer Ubuntu je poste a partir du live cd

1536866387-wp-20180913-008.png

Hors ligne

#12 Le 13/09/2018, à 22:57

ikewdu

Re : sudo os-prober ne voit pas windows [Résolu]

On va continuer malgré tout :

diskpart
sel disk 0
sel part 1
delete part
create part primary
format fs=ntfs quick
active
assign letter=r
exit

Dans le doute, on répare le mbr

bootrec /fixmbr
bootrec /fixboot

Et enfin, on réécrit les fichiers de démarrage de Windows :

bcdboot c:\windows /l fr-fr /s r:

On verra si tout ça se passe sans erreur.

Hors ligne

#13 Le 13/09/2018, à 23:31

bobber

Re : sudo os-prober ne voit pas windows [Résolu]

Super à nouveau accès à windows7.
Depuis le live cd :

sudo os-prober
/dev/sda1:Windows 7 (loader):Windows:chain

mais depuis le live .

ubuntu@ubuntu:~$ sudo gdisk -l /dev/sdb
GPT fdisk (gdisk) version 0.8.8

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: not present

Creating new GPT entries.
Disk /dev/sdb: 625142448 sectors, 298.1 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): DC7AA4DB-1081-43CF-93F0-D9756C9789D1
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 625142414
Partitions will be aligned on 2048-sector boundaries
Total free space is 625142381 sectors (298.1 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name

plus de partition sur sdb

Dernière modification par bobber (Le 14/09/2018, à 00:11)

Hors ligne

#14 Le 14/09/2018, à 07:17

ikewdu

Re : sudo os-prober ne voit pas windows [Résolu]

J'ai vu. La fonction zap a visiblement fait des dégâts, comme je l'avais craint.  Je te propose trois options et tu as la journée pour y réfléchir :

- tenter une récupération de la partition sdb1 avec testdisk. Ca doit être faisable si tu ne touches pas à sdb.
- réinstaller ubuntu 14-04 correctement, en refaisant la table de partitions qui était bancale, de toute manière.
- même idée, mais avec la 16-04, plus récente (ou même la 18-04 si compatible) : tu auras des Maj jusqu'en 2021, voire 2023, ce qui est tout de même mieux.

On placera plutôt GRUB sur sdb, ce qui permettra à ton Windows des conserver son autonomie complète. Il suffira a!ors d'inverser l'ordre de boot (ou les disques) pour que sdb devienne sda, et que GRUB se lance avant le bootloader de Windows.

Dernière modification par ikewdu (Le 14/09/2018, à 12:29)

Hors ligne

#15 Le 14/09/2018, à 19:27

??

Re : sudo os-prober ne voit pas windows [Résolu]

Bonjour
Testdisk devrait savoir  retrouver les partitions. Mais comme il n'y a plus de table de partition, il va falloir en choisir une.
    DOS? / MSDOS ? de préférence...  au pire GPT mais en aucun cas, autre modèle.
   Si cela foire complètement, je pense qu'il faut faire un essai live de la version 18.04.

Bravo pour la remise en état de windows. Je n'y croyais pas trop..


Utiliser REFIND au lieu du GRUB https://doc.ubuntu-fr.org/refind . Aidez à vous faire dépanner en suivant le guide et en utilisant les outils de diagnostic J'ai perdu ma gomme. Désolé pour les fautes d'orthographes non corrigées.

Hors ligne

#16 Le 14/09/2018, à 19:45

ikewdu

Re : sudo os-prober ne voit pas windows [Résolu]

Re,

Je pense moi aussi qu'il vaut mieux réinstaller ubuntu et tester une version récente (puisqu'il s'agit d'un dual boot tout récent). Et mieux vaut tout mettre au format MS-DOS, puisque W7 est installé dans ce mode.

On verra ce que souhaite Bobber.

Hors ligne

#17 Le 16/09/2018, à 12:35

bobber

Re : sudo os-prober ne voit pas windows [Résolu]

Salut,
J'arrive un peu tard pour lire les derniers messages.
En fait comme il me fallait mon pc au plus vite j'ai donc réinstallé Ubuntu le soir même.
J'avais tenté la 16.04 et la 18.04 mais elles fonctionnaient moins bien que la 14.04 sur ma machine.
Tout fonctionne parfaitement maintenant!
Dual boot Win7/Ubuntu 14.04 avec flashback et cairo-dock, apache2, mysql, php 7.2 et phpmyadmin réinstallés, de même pour vitualbox et je vais continuer à me faire les dents sur mes machines virtuelles avec les "mdadm" et les "vgcreate"!
En tous cas merci à vous tous pour votre aide.
En laissant Ubuntu s'installer par défaut je constate qu'il a installé grub sur "sdb2" après la swap sur "sdb1" et avant le système de fichiers sur "sdb3", je comprend d'ou venait mon erreur!
Si cela peut vous éclairer quant aux bizarreries précédentes voici mon boot-info :

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


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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for /boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_gpt biosdisk search_fs_uuid
    ---------------------------------------------------------------------------
    
    config script
    ---------------------------------------------------------------------------
    search.fs_uuid 6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883 root hd1,gpt3 
    set prefix=($root)'/boot/grub'
    
    ---------------------------------------------------------------------------
 => Grub2 (v1.99-2.00) is installed in the MBR of /dev/sdb and looks at sector 
    410182272 of the same hard drive for core.img, but core.img can not be 
    found at this location.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

    File system:       BIOS Boot partition
    Boot sector type:  -
    Boot sector info: 

sdb3: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sda2             206,848   488,394,751   488,187,904   7 NTFS / exFAT / HPFS


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1                   1   625,142,447   625,142,447  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdb1                 2,048    15,624,191    15,622,144 Swap partition (Linux)
/dev/sdb2            15,624,192    15,626,239         2,048 BIOS Boot partition
/dev/sdb3            15,626,240   625,141,759   609,515,520 Data partition (Linux)

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

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        1C88C14888C1215E                       ntfs       
/dev/sda2        E8FADAF3FADABCCE                       ntfs       
/dev/sdb1        943c57c5-9056-490b-a1a4-6141158435e5   swap       
/dev/sdb2        3a46ca0c-5a70-45f7-827a-b1630af5615d   ext4       
/dev/sdb3        6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883   ext4       

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

total 0
lrwxrwxrwx 1 root root  9 Sep 16 15:22 ata-Hitachi_HTS543225L9A300_090721FB2F06LLFNUKXC -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 16 15:22 ata-Hitachi_HTS543225L9A300_090721FB2F06LLFNUKXC-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 16 10:56 ata-Hitachi_HTS543225L9A300_090721FB2F06LLFNUKXC-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Sep 16 15:22 ata-WDC_WD3200BEVT-60ZCT1_WD-WXE0A8917007 -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 16 10:56 ata-WDC_WD3200BEVT-60ZCT1_WD-WXE0A8917007-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 16 10:56 ata-WDC_WD3200BEVT-60ZCT1_WD-WXE0A8917007-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Sep 16 10:56 ata-WDC_WD3200BEVT-60ZCT1_WD-WXE0A8917007-part3 -> ../../sdb3
lrwxrwxrwx 1 root root  9 Sep 16 10:56 ata-hp_DVD_A_DH16ACSH_278217910122 -> ../../sr0
lrwxrwxrwx 1 root root  9 Sep 16 10:56 usb-Multiple_Card_Reader_058F63666433-0:0 -> ../../sdc
lrwxrwxrwx 1 root root  9 Sep 16 15:22 wwn-0x5000cca566f3bdf3 -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 16 15:22 wwn-0x5000cca566f3bdf3-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 16 10:56 wwn-0x5000cca566f3bdf3-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Sep 16 15:22 wwn-0x50014ee056f09b5e -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 16 10:56 wwn-0x50014ee056f09b5e-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 16 10:56 wwn-0x50014ee056f09b5e-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Sep 16 10:56 wwn-0x50014ee056f09b5e-part3 -> ../../sdb3

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

Device           Mount_Point              Type       Options

/dev/sda2        /media/steve/E8FADAF3FADABCCE fuseblk    (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sdb3        /                        ext4       (rw,errors=remount-ro)


=========================== sdb3/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='hd1,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
else
  search --no-floppy --fs-uuid --set=root 6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
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=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 ###
insmod part_gpt
insmod ext2
set root='hd1,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
else
  search --no-floppy --fs-uuid --set=root 6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
fi
insmod png
if background_image /home/steve/Images/Wallpapers/background.png; then
  set color_normal=yellow/black
  set color_highlight=red/black
else
  set menu_color_normal=white/black
  set menu_color_highlight=black/light-gray
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-6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
	else
	  search --no-floppy --fs-uuid --set=root 6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
	fi
	linux	/boot/vmlinuz-4.4.0-135-generic root=UUID=6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.4.0-135-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883' {
	menuentry 'Ubuntu, avec Linux 4.4.0-135-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-135-generic-advanced-6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
		else
		  search --no-floppy --fs-uuid --set=root 6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
		fi
		echo	'Chargement de Linux 4.4.0-135-generic…'
		linux	/boot/vmlinuz-4.4.0-135-generic root=UUID=6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-135-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-135-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-135-generic-recovery-6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
		else
		  search --no-floppy --fs-uuid --set=root 6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
		fi
		echo	'Chargement de Linux 4.4.0-135-generic…'
		linux	/boot/vmlinuz-4.4.0-135-generic root=UUID=6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-135-generic
	}
	menuentry 'Ubuntu, avec Linux 4.4.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-advanced-6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
		else
		  search --no-floppy --fs-uuid --set=root 6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
		fi
		echo	'Chargement de Linux 4.4.0-31-generic…'
		linux	/boot/vmlinuz-4.4.0-31-generic root=UUID=6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-31-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-31-generic-recovery-6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
		else
		  search --no-floppy --fs-uuid --set=root 6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
		fi
		echo	'Chargement de Linux 4.4.0-31-generic…'
		linux	/boot/vmlinuz-4.4.0-31-generic root=UUID=6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-31-generic
	}
}

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

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
	else
	  search --no-floppy --fs-uuid --set=root 6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
	else
	  search --no-floppy --fs-uuid --set=root 6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (sur /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-1C88C14888C1215E' {
	insmod part_msdos
	insmod ntfs
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  1C88C14888C1215E
	else
	  search --no-floppy --fs-uuid --set=root 1C88C14888C1215E
	fi
	parttool ${root} hidden-
	chainloader +1
}
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 ###
### 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 ###
--------------------------------------------------------------------------------

=============================== sdb3/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/sdb3 during installation
UUID=6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sdb1 during installation
UUID=943c57c5-9056-490b-a1a4-6141158435e5 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 143.580257416 = 154.168127488  boot/grub/grub.cfg                             1
  47.606399536 = 51.116982272   boot/grub/i386-pc/core.img                     1
  14.133529663 = 15.175761920   boot/vmlinuz-4.4.0-135-generic                 1
   8.734973907 = 9.379106816    boot/vmlinuz-4.4.0-31-generic                  1
  14.133529663 = 15.175761920   vmlinuz                                        1
   8.734973907 = 9.379106816    vmlinuz.old                                    1
 280.038425446 = 300.688969728  boot/initrd.img-4.4.0-135-generic              2
  11.721511841 = 12.585877504   boot/initrd.img-4.4.0-31-generic               2
 280.038425446 = 300.688969728  initrd.img                                     2
  11.721511841 = 12.585877504   initrd.img.old                                 2

========= Devices which don't seem to have a corresponding hard drive: =========

sdc 


ADDITIONAL INFORMATION :
=================== log of boot-info 20180916_1522 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.

boot-info is executed in installed-session (Ubuntu 14.04.5 LTS, trusty, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.4.0-135-generic root=UUID=6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883 ro quiet splash vt.handoff=7
mount : mauvais type de système de fichiers, option erronée, superbloc erroné
sur /dev/sdb2, page de code ou programme auxiliaire manquant, ou autre erreur
Dans quelques cas certaines informations sont utiles dans le journal
système — essayez « dmesg | tail » ou quelque chose du genre

mount /dev/sdb2 : Error code 32
mount -r /dev/sdb2 /mnt/boot-sav/sdb2
mount : mauvais type de système de fichiers, option erronée, superbloc erroné
sur /dev/sdb2, page de code ou programme auxiliaire manquant, ou autre erreur
Dans quelques cas certaines informations sont utiles dans le journal
système — essayez « dmesg | tail » ou quelque chose du genre

mount -r /dev/sdb2 : Error code 32

=================== os-prober:
/dev/sdb3:L'OS actuellement utilisé - Ubuntu 14.04.5 LTS CurrentSession:linux
/dev/sda1:Windows 7 (loader):Windows:chain

=================== blkid:
/dev/sda1: UUID="1C88C14888C1215E" TYPE="ntfs"
/dev/sda2: UUID="E8FADAF3FADABCCE" TYPE="ntfs"
/dev/sdb1: UUID="943c57c5-9056-490b-a1a4-6141158435e5" TYPE="swap"
/dev/sdb2: UUID="3a46ca0c-5a70-45f7-827a-b1630af5615d" TYPE="ext4"
/dev/sdb3: UUID="6cdf5d4d-22ee-4e3a-b41a-b7d1c7809883" TYPE="ext4"


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

mount : mauvais type de système de fichiers, option erronée, superbloc erroné
sur /dev/sdb2, page de code ou programme auxiliaire manquant, ou autre erreur
Dans quelques cas certaines informations sont utiles dans le journal
système — essayez « dmesg | tail » ou quelque chose du genre

mount /dev/sdb2 : Error code 32
mount -r /dev/sdb2 /mnt/boot-sav/sdb2
mount : mauvais type de système de fichiers, option erronée, superbloc erroné
sur /dev/sdb2, page de code ou programme auxiliaire manquant, ou autre erreur
Dans quelques cas certaines informations sont utiles dans le journal
système — essayez « dmesg | tail » ou quelque chose du genre

mount -r /dev/sdb2 : Error code 32
Windows not detected by os-prober on sda2.

Attention : identifiant de table de partitions GPT (GUID) détecté sur « /dev/sdb ». L'utilitaire sfdisk ne prend pas GPT en charge. Utilisez GNU Parted.


WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


=================== /etc/grub.d/ :
drwxr-xr-x  3 root root      4096 sept. 14 21:22 grub.d
total 80
-rwxr-xr-x 1 root root  9791 août   2  2016 00_header
-rwxr-xr-x 1 root root  6058 mai   13  2015 05_debian_theme
-rwxr-xr-x 1 root root 11608 août   2  2016 10_linux
-rwxr-xr-x 1 root root 10412 août   2  2016 20_linux_xen
-rwxr-xr-x 1 root root  1992 mars  12  2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 août   2  2016 30_os-prober
-rwxr-xr-x 1 root root  1418 août   2  2016 30_uefi-firmware
-rwxr-xr-x 1 root root   214 août   2  2016 40_custom
-rwxr-xr-x 1 root root   216 août   2  2016 41_custom
drwxr-xr-x 4 root root  4096 sept. 14 19:05 backup
-rw-r--r-- 1 root root   483 août   2  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"

export GRUB_MENU_PICTURE="/home/steve/Images/Wallpapers/background.png"
export GRUB_COLOR_NORMAL="yellow/black"
export GRUB_COLOR_HIGHLIGHT="red/black"



=================== UEFI/Legacy mode:
This installed-session is not in EFI-mode.
SecureBoot disabled.


=================== PARTITIONS & DISKS:
sdb3	: sdb,	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,	notbiosboot, .
sda1	: 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,	no-winload,	no-recov-nor-hid,	bootmgr,	is-winboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda1.
sda2	: 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,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	farbios,	notbiosboot, /media/steve/E8FADAF3FADABCCE.
sdb2	: sdb,	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,	not-far,	notbiosboot, /mnt/boot-sav/sdb2.

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


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

BYT;
/dev/sda:250GB:scsi:512:512:msdos:ATA Hitachi HTS54322;
1:1049kB:106MB:105MB:ntfs::boot;
2:106MB:250GB:250GB:ntfs::;

BYT;
/dev/sdb:320GB:scsi:512:512:gpt:ATA WDC WD3200BEVT-6;
1:1049kB:8000MB:7999MB:linux-swap(v1)::;
2:8000MB:8001MB:1049kB:ext4::bios_grub;
3:8001MB:320GB:312GB:ext4::;

=================== lsblk:
KNAME TYPE FSTYPE   SIZE LABEL
sda   disk        232,9G
sda1  part ntfs     100M
sda2  part ntfs   232,8G
sdb   disk        298,1G
sdb1  part swap     7,5G
sdb2  part ext4       1M
sdb3  part ext4   290,7G
sr0   rom          1024M

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      1  0  0 running
sda1     1  0  0         /mnt/boot-sav/sda1
sda2     1  0  0         /media/steve/E8FADAF3FADABCCE
sdb      1  0  0 running
sdb1     1  0  0         [SWAP]
sdb2     1  0  0
sdb3     1  0  0         /
sr0      1  0  1 running


=================== mount:
/dev/sdb3 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=steve)
gvfsd-fuse on /root/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev)
/dev/sda2 on /media/steve/E8FADAF3FADABCCE type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)


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

=================== hexdump -n512 -C /dev/sda1
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 08 00 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 1f 03 00 00 00 00 00  |................|
00000030  55 21 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |U!..............|
00000040  f6 00 00 00 01 00 00 00  5e 21 c1 88 48 c1 88 1c  |........^!..H...|
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 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 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 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
00000200

=================== hexdump -n512 -C /dev/sda2
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 03 00  |........?....(..|
00000020  00 00 00 00 80 00 80 00  ff 27 19 1d 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  ce bc da fa f3 da fa e8  |................|
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 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 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 a0 f8 01 e8 09 00  |...u...fa.......|
00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 45 72  |t.............Er|
00000190  72 65 75 72 20 6c 65 63  74 75 72 65 20 64 69 73  |reur lecture dis|
000001a0  71 75 65 00 0d 0a 42 4f  4f 54 4d 47 52 20 61 62  |que...BOOTMGR ab|
000001b0  73 65 6e 74 00 0d 0a 42  4f 4f 54 4d 47 52 20 63  |sent...BOOTMGR c|
000001c0  6f 6d 70 72 65 73 73 82  00 0d 0a 43 74 72 6c 2b  |ompress....Ctrl+|
000001d0  41 6c 74 2b 53 75 70 70  72 20 70 6f 75 72 20 72  |Alt+Suppr pour r|
000001e0  65 64 82 6d 61 72 72 65  72 0d 0a 00 6f 20 72 65  |ed.marrer...o re|
000001f0  73 74 61 72 74 0d 0a 00  8c a4 b5 c9 00 00 55 aa  |start.........U.|
00000200

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  3.9G   12K  3.9G   1% /dev
tmpfs          tmpfs     797M  1.2M  796M   1% /run
/dev/sdb3      ext4      286G   21G  252G   8% /
none           tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
none           tmpfs     5.0M     0  5.0M   0% /run/lock
none           tmpfs     3.9G   53M  3.9G   2% /run/shm
none           tmpfs     100M   56K  100M   1% /run/user
/dev/sda2      fuseblk   233G  126G  108G  54% /media/steve/E8FADAF3FADABCCE
/dev/sda1      fuseblk   100M   25M   76M  25% /mnt/boot-sav/sda1

=================== fdisk -l:

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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 identifier: 0x53d989af

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   488394751   244093952    7  HPFS/NTFS/exFAT

Disk /dev/sdb: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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 identifier: 0x00000000

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1   625142447   312571223+  ee  GPT



** (zenity:15576): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-UM1WJuo7RV: Connexion refusée
User choice: Est-ce que sdb (gpt) est un disque amovible ? no


/usr/share/boot-sav/gui-tab-other.sh: ligne 93: _checkbutton_repairfilesystems : commande introuvable


=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sdb3 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s repair-filesystems  fix-windows-boot


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sdb (gpt) !


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

Dernière modification par bobber (Le 16/09/2018, à 15:23)

Hors ligne

#18 Le 16/09/2018, à 15:25

ikewdu

Re : sudo os-prober ne voit pas windows [Résolu]

C'est tout bon. Passe en résolu. Bye.

Hors ligne