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 19/11/2014, à 07:45

malbo

[Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Le but de ce fil est de vérifier que cette conversion réalisée par Boot-Repair fonctionne pour Ubuntu 14.10. ATTENTION : suite à une remarque de ikewdu dans le post #6, je signale au lecteur curieux que le cas précis d'utilisation de cette conversion est une installation ratée, faite en mode legacy (non-EFI) sur un disque gpt en cohabitation avec Windows 7 ou Windows 8 pré-installé en mode EFI. L'install est ratée parce qu'il faut toujours installer Ubuntu en mode EFI si l'OS déjà installé est installé en EFI

Conditions préalables :
- Ubuntu installé doit être une version 64 bits : si c'est une version 32 bits, la conversion en EFI ne sera pas possible et il faudra faire une nouvelle installation de Ubuntu 14.10 - 64 bits impératif - en écrasant la précédente.
- il est impératif d'arriver à démarrer en mode EFI sur le support live de Ubuntu 14.10 64 bits : si on ne peut démarrer qu'en mode Legacy (non-EFI), ce n'est pas la peine de se lancer dans ce qui est décrit ci-dessous parce que ça ne marchera pas.

Les manips sont faites dans une machine virtuelle avec VMware Player. L'état de départ, c'est Ubuntu installé en mode Legacy (non-EFI) en dual-boot avec Windows 8.1 préinstallé (Windows 8 préinstallé est toujours installé en mode EFI). La conversion de Legacy en EFI est nécessaire pour que les deux systèmes - Ubuntu et Windows 8.1 - soient installés tous les deux dans le même mode. 

1) Boot-Info initial (avant conversion) : http://paste.ubuntu.com/9088507/

Le Boot-Info est réalisé après installation suivant étape 2 de la doc Boot-Info. Après lancement de Boot-Repair, il y a quelques messages un peu chiants qui peuvent perturber le novice : j'en parle dans le post #4 ci-dessous.
Je le colle ici :

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Dec2013]


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

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 
    102975488 of the same hard drive for core.img. core.img is at this 
    location and looks in partition 129 for .
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  Windows 8/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/Boot/bootx64.efi /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgr.efi 
                       /EFI/Microsoft/Boot/memtest.efi

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 60 GiB, 64424509440 bytes, 125829120 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   125,829,119   125,829,119  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048       616,447       614,400 Windows Recovery Environment (Windows)
/dev/sda2         616,448       821,247       204,800 EFI System partition
/dev/sda3         821,248     1,083,391       262,144 Microsoft Reserved Partition (Windows)
/dev/sda4       1,083,392    79,538,175    78,454,784 Data partition (Windows/Linux)
/dev/sda5     102,975,488   102,977,535         2,048 BIOS Boot partition
/dev/sda6      99,069,952   102,975,487     3,905,536 Swap partition (Linux)
/dev/sda7     102,977,536   125,827,071    22,849,536 Data partition (Linux)

Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 40 GiB, 42949672960 bytes, 83886080 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1               2,048    83,886,079    83,884,032  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        B0C0E8A5C0E872D0                       ntfs       Récupération
/dev/sda2        3EE8-FABA                              vfat       
/dev/sda3                                                          
/dev/sda4        8616053E160530AB                       ntfs       
/dev/sda5                                                          
/dev/sda6        08ee6f18-55fa-4d5c-90d8-e74ae3e445c4   swap       
/dev/sda7        8d935f16-c51d-4053-8f9c-71d64ebd750e   ext4       
/dev/sdb1        5ba69b2f-e2b2-4685-9346-f806e7f0149e   ext4       clonezill_utopic
/dev/sr0         2014-10-22-19-43-11-00                 iso9660    Ubuntu 14.10 amd64

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

Device           Mount_Point              Type       Options

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


=========================== sda7/boot/grub/grub.cfg: ===========================

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

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

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

export menuentry_id_option

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

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

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
else
  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
fi
    font="/usr/share/grub/unicode.pf2"
fi

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

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

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8d935f16-c51d-4053-8f9c-71d64ebd750e' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
	else
	  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
	fi
	linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=8d935f16-c51d-4053-8f9c-71d64ebd750e ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.16.0-23-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-8d935f16-c51d-4053-8f9c-71d64ebd750e' {
	menuentry 'Ubuntu, avec Linux 3.16.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-advanced-8d935f16-c51d-4053-8f9c-71d64ebd750e' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
		else
		  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
		fi
		echo	'Chargement de Linux 3.16.0-23-generic…'
		linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=8d935f16-c51d-4053-8f9c-71d64ebd750e ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.16.0-23-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-recovery-8d935f16-c51d-4053-8f9c-71d64ebd750e' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
		else
		  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
		fi
		echo	'Chargement de Linux 3.16.0-23-generic…'
		linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=8d935f16-c51d-4053-8f9c-71d64ebd750e ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.16.0-23-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='hd0,gpt7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
	else
	  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
	else
	  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
	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 ###
--------------------------------------------------------------------------------

=============================== sda7/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda7 during installation
UUID=8d935f16-c51d-4053-8f9c-71d64ebd750e /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=08ee6f18-55fa-4d5c-90d8-e74ae3e445c4 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


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

cat: /tmp/BootInfo-FAVdbwCC/Tmp_Log: No such file or directory
File descriptor 9 (/proc/6385/mounts) leaked on lvscan invocation. Parent PID 17744: bash
File descriptor 63 (pipe:[51743]) leaked on lvscan invocation. Parent PID 17744: bash
  No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-repair 2014-11-19__06h15 ===================
boot-repair version : 3.199~ppa40~saucy
boot-sav version : 3.199~ppa40~saucy
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 3.199~ppa40~saucy
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
boot-repair is executed in live-session (Ubuntu 14.10, utopic, Ubuntu, x86_64)
ls: cannot access /home/usr/.config: No such file or directory
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
mount: /dev/sda3 is write-protected, mounting read-only
NTFS signature is missing.
Failed to mount '/dev/sda3': Invalid argument
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda3 : Error code 12
mount -r /dev/sda3 /mnt/boot-sav/sda3
NTFS signature is missing.
Failed to mount '/dev/sda3': Invalid argument
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda3 : Error code 12
mount: /dev/sda5 is write-protected, mounting read-only
NTFS signature is missing.
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda5 : Error code 12
mount -r /dev/sda5 /mnt/boot-sav/sda5
NTFS signature is missing.
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda5 : Error code 12

=================== os-prober:
/dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sda7:Ubuntu 14.10 (14.10):Ubuntu:linux

=================== blkid:
/dev/sda1: LABEL="RM-CM-)cupM-CM-)ration" UUID="B0C0E8A5C0E872D0" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="aee3c406-eb85-4d2e-adc3-ab50b8420b2e"
/dev/sda2: UUID="3EE8-FABA" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="1ccc0f6b-032a-45c8-b25e-b50e2dc5ee8d"
/dev/sda4: UUID="8616053E160530AB" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="b6ec2f42-64a7-4f17-bd18-c0cfb0e0a835"
/dev/sda7: UUID="8d935f16-c51d-4053-8f9c-71d64ebd750e" TYPE="ext4" PARTUUID="f8600da5-8354-4ca0-aeb3-c026031c5123"
/dev/sdb1: LABEL="clonezill_utopic" UUID="5ba69b2f-e2b2-4685-9346-f806e7f0149e" TYPE="ext4" PARTUUID="c07a28a2-01"
/dev/sr0: UUID="2014-10-22-19-43-11-00" LABEL="Ubuntu 14.10 amd64" TYPE="iso9660" PTUUID="4a022e4f" PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/sda6: UUID="08ee6f18-55fa-4d5c-90d8-e74ae3e445c4" TYPE="swap" PARTUUID="17f24649-c115-4b2e-86dd-0e6f56908866"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="d3da2d26-2514-4862-94c4-a3d06ada0b66"
/dev/sda5: PARTUUID="fba66f1d-a9b9-4b87-a105-40b9840a440e"


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

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

=================== sda7/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Oct 22 19:12 grub.d
total 76
-rwxr-xr-x 1 root root  9424 Oct 16 09:48 00_header
-rwxr-xr-x 1 root root  6058 Oct 15 12:28 05_debian_theme
-rwxr-xr-x 1 root root 11611 Oct 16 09:48 10_linux
-rwxr-xr-x 1 root root 10418 Oct 16 09:48 20_linux_xen
-rwxr-xr-x 1 root root  1992 Mar 12  2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 Oct 16 09:48 30_os-prober
-rwxr-xr-x 1 root root  1416 Oct 16 09:48 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Oct 16 09:48 40_custom
-rwxr-xr-x 1 root root   216 Oct 16 09:48 41_custom
-rw-r--r-- 1 root root   483 Oct 16 09:48 README




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



ls /sys/firmware/efi/vars : Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c,RTC-378d7b65-8da9-4773-b6e4-a47826a833e1,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,PBRDevicePath-8be4df61-93ca-11d2-aa0d-00e098032b8c,new_var,MTC-eb704011-1402-11d3-8e77-00a0c969723b,MokListRT-605dab50-e046-4300-abb6-3dd810dd8b23,MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,HDDP-fab7e9e1-39dd-4f2b-8408-e20e906cb6de,del_var,ConsoleOutMode-793d9786-44dc-4709-b57f-85b8e8fdbfd2,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0007-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0005-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0003-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c,
Please report this message to boot.repair@gmail.com
=================== UEFI/Legacy mode:
Unusual EFI: Please report this message to boot.repair@gmail.com
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot maybe enabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda1.
sda2	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda2.
sda4	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda4.
sda7	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda7.
sdb1	: 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,	/mnt/boot-sav/sdb1.
sda3	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda3.
sda5	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda5.

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


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

Model: VMware, VMware Virtual S (scsi)
Disk /dev/sda: 64.4GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name                          Flags
1      1049kB  316MB   315MB   ntfs            Basic data partition          hidden, diag
2      316MB   420MB   105MB   fat32           EFI system partition          boot, esp
3      420MB   555MB   134MB                   Microsoft reserved partition  msftres
4      555MB   40.7GB  40.2GB  ntfs            Basic data partition          msftdata
6      50.7GB  52.7GB  2000MB  linux-swap(v1)
5      52.7GB  52.7GB  1049kB                                                bios_grub
7      52.7GB  64.4GB  11.7GB  ext4


Model: VMware, VMware Virtual S (scsi)
Disk /dev/sdb: 42.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
1      1049kB  42.9GB  42.9GB  primary  ext4



                                                                          
Model: NECVMWar VMware SATA CD00 (scsi)
Disk /dev/sr0: 1163MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Disk Flags:

Number  Start   End     Size    File system  Name   Flags
1      2048B   6143B   4096B                Apple
2      1152MB  1155MB  2327kB               EFI

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

BYT;
/dev/sda:64.4GB:scsi:512:512:gpt:VMware, VMware Virtual S:;
1:1049kB:316MB:315MB:ntfs:Basic data partition:hidden, diag;
2:316MB:420MB:105MB:fat32:EFI system partition:boot, esp;
3:420MB:555MB:134MB::Microsoft reserved partition:msftres;
4:555MB:40.7GB:40.2GB:ntfs:Basic data partition:msftdata;
6:50.7GB:52.7GB:2000MB:linux-swap(v1)::;
5:52.7GB:52.7GB:1049kB:::bios_grub;
7:52.7GB:64.4GB:11.7GB:ext4::;

BYT;
/dev/sdb:42.9GB:scsi:512:512:msdos:VMware, VMware Virtual S:;
1:1049kB:42.9GB:42.9GB:ext4::;


                                                                          
BYT;
/dev/sr0:1163MB:scsi:2048:2048:mac:NECVMWar VMware SATA CD00:;
1:2048B:6143B:4096B::Apple:;
2:1152MB:1155MB:2327kB::EFI:;


=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,nodev,noexec,nosuid)
sysfs on /sys type sysfs (rw,nodev,noexec,nosuid)
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)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755,size=1024)
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)
none on /sys/firmware/efi/efivars type efivarfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,nodev,noexec,nosuid,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,nodev,noexec,nosuid,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,noexec,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type vfat (rw)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda7 on /mnt/boot-sav/sda7 type ext4 (rw)
/dev/sdb1 on /mnt/boot-sav/sdb1 type ext4 (rw)


=================== ls:
/sys/block/fd0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 sda5 sda6 sda7 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 power queue range removable ro sdb1 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 power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  agpgart block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hpet input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sdb sdb1 sg0 sg1 sg2 shm snapshot sr0 stderr stdin stdout uinput urandom vga_arbiter vmci 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 5f 09 00 00 00 00 00  |........._......|
00000030  00 64 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |.d..............|
00000040  f6 00 00 00 01 00 00 00  d0 72 e8 c0 a5 e8 c0 b0  |.........r......|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200
ls /mnt/boot-sav/sda2/1:

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

=================== hexdump -n512 -C /dev/sda4
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 88 10 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 1f ad 04 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  ab 30 05 16 3e 05 16 86  |.........0..>...|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

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

Filesystem     Type       Size  Used Avail Use% Mounted on
/cow           overlayfs  493M   76M  418M  16% /
udev           devtmpfs   482M  4.0K  482M   1% /dev
tmpfs          tmpfs       99M  1.1M   98M   2% /run
/dev/sr0       iso9660    1.1G  1.1G     0 100% /cdrom
/dev/loop0     squashfs   1.1G  1.1G     0 100% /rofs
none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs      493M  1.2M  492M   1% /tmp
none           tmpfs      5.0M  4.0K  5.0M   1% /run/lock
none           tmpfs      493M   80K  493M   1% /run/shm
none           tmpfs      100M   80K  100M   1% /run/user
/dev/sda1      fuseblk    300M  218M   83M  73% /mnt/boot-sav/sda1
/dev/sda2      vfat        96M   25M   72M  26% /mnt/boot-sav/sda2
/dev/sda4      fuseblk     38G   19G   20G  49% /mnt/boot-sav/sda4
/dev/sda7      ext4        11G  3.8G  6.3G  38% /mnt/boot-sav/sda7
/dev/sdb1      ext4        40G   31G  6.7G  83% /mnt/boot-sav/sdb1

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

Disk /dev/loop0: 1 GiB, 1115594752 bytes, 2178896 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sdb: 40 GiB, 42949672960 bytes, 83886080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc07a28a2

Device     Boot Start      End  Sectors Size Id Type
/dev/sdb1        2048 83886079 83884032  40G 83 Linux

Disk /dev/sda: 60 GiB, 64424509440 bytes, 125829120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 473666AF-D222-4098-891F-7CA5E326736D

Device         Start       End  Sectors  Size Type
/dev/sda1       2048    616447   614400  300M Windows recovery environment
/dev/sda2     616448    821247   204800  100M EFI System
/dev/sda3     821248   1083391   262144  128M Microsoft reserved
/dev/sda4    1083392  79538175 78454784 37.4G Microsoft basic data
/dev/sda5  102975488 102977535     2048    1M BIOS boot
/dev/sda6   99069952 102975487  3905536  1.9G Linux swap
/dev/sda7  102977536 125827071 22849536 10.9G Linux filesystem

Partition table entries are not in disk order.


EFI detected. Please check the options.
=================== Final advice in case of recommended repair
Please do not forget to make your BIOS boot on sda2/efi/.../grub*.efi file!

You may want to retry after activating the [Backup and rename Windows EFI files] option.

=================== Default settings
Recommended-Repair
This setting would purge (in order to fix packages sign-grub upgrade version) and reinstall the grub-efi-amd64-signed of sda7, using the following options: upgrade-grub       sda2/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s repair-filesystems  fix-windows-boot

=================== Settings chosen by the user
Boot-Info
This setting will not act on the MBR.



No change has been performed on your computer.

Les points essentiels à vérifier :
- Dans la partie "UEFI/Legacy mode" :

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

c'est la mention : "is setup in EFI-mode for this live-session" parce qu'il est impératif d'opérer depuis une session démarrée en mode EFI comme je l'ai déjà indiqué dans l'intro.

- dans la partie "Default settings" :

=================== Default settings
Recommended-Repair
This setting would purge (in order to fix packages sign-grub upgrade version) and reinstall the grub-efi-amd64-signed of sda7, using the following options: upgrade-grub       sda2/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s repair-filesystems  fix-windows-boot

C'est le descriptif des intentions de réparation de Boot-Repair (si on décide de faire la "Réparation recommandée"). Le descriptif est bon, les partitions mentionnées sda7 et sda2 sont bien respectivement la partition racine et la partition EFI. C'est bon, on peut y aller : relancer Boot-Repair et cette fois au lieu de cliquer sur "Créer un rapport Boot-Info", il faut cliquer sur "Réparation recommandée" (voir étape suivante)     

2) conversion réalisée par la "Réparation recommandée" de Boot-Repair : le Boot-Info dont l'URL ( http://paste.ubuntu.com/9088816/ ) est donné en fin de Réparation recommandée est ici (j'ai viré des milliers de lignes indésirables commençant par grub-install qui sont probablement dues à un bug de Boot-repair) :

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Dec2013]


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

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 
    102975488 of the same hard drive for core.img. core.img is at this 
    location and looks in partition 129 for .
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 60 GiB, 64424509440 bytes, 125829120 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   125,829,119   125,829,119  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048       616,447       614,400 Windows Recovery Environment (Windows)
/dev/sda2         616,448       821,247       204,800 EFI System partition
/dev/sda3         821,248     1,083,391       262,144 Microsoft Reserved Partition (Windows)
/dev/sda4       1,083,392    79,538,175    78,454,784 Data partition (Windows/Linux)
/dev/sda5     102,975,488   102,977,535         2,048 BIOS Boot partition
/dev/sda6      99,069,952   102,975,487     3,905,536 Swap partition (Linux)
/dev/sda7     102,977,536   125,827,071    22,849,536 Data partition (Linux)

Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 40 GiB, 42949672960 bytes, 83886080 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1               2,048    83,886,079    83,884,032  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        B0C0E8A5C0E872D0                       ntfs       Récupération
/dev/sda2        3EE8-FABA                              vfat       
/dev/sda3                                                          
/dev/sda4        8616053E160530AB                       ntfs       
/dev/sda5                                                          
/dev/sda6        08ee6f18-55fa-4d5c-90d8-e74ae3e445c4   swap       
/dev/sda7        8d935f16-c51d-4053-8f9c-71d64ebd750e   ext4       
/dev/sdb1        5ba69b2f-e2b2-4685-9346-f806e7f0149e   ext4       clonezill_utopic
/dev/sr0         2014-10-22-19-43-11-00                 iso9660    Ubuntu 14.10 amd64

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

Device           Mount_Point              Type       Options

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


=========================== sda7/boot/grub/grub.cfg: ===========================

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

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

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

export menuentry_id_option

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

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

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
else
  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
fi
    font="/usr/share/grub/unicode.pf2"
fi

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

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

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8d935f16-c51d-4053-8f9c-71d64ebd750e' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
	else
	  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
	fi
	linux	/boot/vmlinuz-3.16.0-24-generic.efi.signed root=UUID=8d935f16-c51d-4053-8f9c-71d64ebd750e ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.16.0-24-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-8d935f16-c51d-4053-8f9c-71d64ebd750e' {
	menuentry 'Ubuntu, with Linux 3.16.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-24-generic-advanced-8d935f16-c51d-4053-8f9c-71d64ebd750e' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
		else
		  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
		fi
		echo	'Loading Linux 3.16.0-24-generic ...'
		linux	/boot/vmlinuz-3.16.0-24-generic.efi.signed root=UUID=8d935f16-c51d-4053-8f9c-71d64ebd750e ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-24-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-24-generic-recovery-8d935f16-c51d-4053-8f9c-71d64ebd750e' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
		else
		  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
		fi
		echo	'Loading Linux 3.16.0-24-generic ...'
		linux	/boot/vmlinuz-3.16.0-24-generic.efi.signed root=UUID=8d935f16-c51d-4053-8f9c-71d64ebd750e ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-24-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-advanced-8d935f16-c51d-4053-8f9c-71d64ebd750e' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
		else
		  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
		fi
		echo	'Loading Linux 3.16.0-23-generic ...'
		linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=8d935f16-c51d-4053-8f9c-71d64ebd750e ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-23-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-recovery-8d935f16-c51d-4053-8f9c-71d64ebd750e' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
		else
		  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
		fi
		echo	'Loading Linux 3.16.0-23-generic ...'
		linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=8d935f16-c51d-4053-8f9c-71d64ebd750e ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-23-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/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-3EE8-FABA' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  3EE8-FABA
	else
	  search --no-floppy --fs-uuid --set=root 3EE8-FABA
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

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

=============================== sda7/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda7 during installation
UUID=8d935f16-c51d-4053-8f9c-71d64ebd750e /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=08ee6f18-55fa-4d5c-90d8-e74ae3e445c4 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
UUID=3EE8-FABA	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


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

cat: /tmp/BootInfo-n7HcRi1G/Tmp_Log: No such file or directory
File descriptor 9 (/proc/18653/mounts) leaked on lvscan invocation. Parent PID 28292: bash
File descriptor 63 (pipe:[59337]) leaked on lvscan invocation. Parent PID 28292: bash
  No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-repair 2014-11-19__06h18 ===================
boot-repair version : 3.199~ppa40~saucy
boot-sav version : 3.199~ppa40~saucy
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 3.199~ppa40~saucy
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
boot-repair is executed in live-session (Ubuntu 14.10, utopic, Ubuntu, x86_64)
ls: cannot access /home/usr/.config: No such file or directory
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
mount: /dev/sda3 is write-protected, mounting read-only
NTFS signature is missing.
Failed to mount '/dev/sda3': Invalid argument
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda3 : Error code 12
mount -r /dev/sda3 /mnt/boot-sav/sda3
NTFS signature is missing.
Failed to mount '/dev/sda3': Invalid argument
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda3 : Error code 12
mount: /dev/sda5 is write-protected, mounting read-only
NTFS signature is missing.
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda5 : Error code 12
mount -r /dev/sda5 /mnt/boot-sav/sda5
NTFS signature is missing.
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda5 : Error code 12

=================== os-prober:
/dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sda7:Ubuntu 14.10 (14.10):Ubuntu:linux

=================== blkid:
/dev/sda1: LABEL="RM-CM-)cupM-CM-)ration" UUID="B0C0E8A5C0E872D0" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="aee3c406-eb85-4d2e-adc3-ab50b8420b2e"
/dev/sda2: UUID="3EE8-FABA" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="1ccc0f6b-032a-45c8-b25e-b50e2dc5ee8d"
/dev/sda4: UUID="8616053E160530AB" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="b6ec2f42-64a7-4f17-bd18-c0cfb0e0a835"
/dev/sda7: UUID="8d935f16-c51d-4053-8f9c-71d64ebd750e" TYPE="ext4" PARTUUID="f8600da5-8354-4ca0-aeb3-c026031c5123"
/dev/sdb1: LABEL="clonezill_utopic" UUID="5ba69b2f-e2b2-4685-9346-f806e7f0149e" TYPE="ext4" PARTUUID="c07a28a2-01"
/dev/sr0: UUID="2014-10-22-19-43-11-00" LABEL="Ubuntu 14.10 amd64" TYPE="iso9660" PTUUID="4a022e4f" PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/sda6: UUID="08ee6f18-55fa-4d5c-90d8-e74ae3e445c4" TYPE="swap" PARTUUID="17f24649-c115-4b2e-86dd-0e6f56908866"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="d3da2d26-2514-4862-94c4-a3d06ada0b66"
/dev/sda5: PARTUUID="fba66f1d-a9b9-4b87-a105-40b9840a440e"


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

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

=================== sda7/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Oct 22 19:12 grub.d
total 76
-rwxr-xr-x 1 root root  9424 Oct 16 09:48 00_header
-rwxr-xr-x 1 root root  6058 Oct 15 12:28 05_debian_theme
-rwxr-xr-x 1 root root 11611 Oct 16 09:48 10_linux
-rwxr-xr-x 1 root root 10418 Oct 16 09:48 20_linux_xen
-rwxr-xr-x 1 root root  1992 Mar 12  2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 Oct 16 09:48 30_os-prober
-rwxr-xr-x 1 root root  1416 Oct 16 09:48 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Oct 16 09:48 40_custom
-rwxr-xr-x 1 root root   216 Oct 16 09:48 41_custom
-rw-r--r-- 1 root root   483 Oct 16 09:48 README




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



ls /sys/firmware/efi/vars : Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c,RTC-378d7b65-8da9-4773-b6e4-a47826a833e1,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,PBRDevicePath-8be4df61-93ca-11d2-aa0d-00e098032b8c,new_var,MTC-eb704011-1402-11d3-8e77-00a0c969723b,MokListRT-605dab50-e046-4300-abb6-3dd810dd8b23,MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,HDDP-fab7e9e1-39dd-4f2b-8408-e20e906cb6de,del_var,ConsoleOutMode-793d9786-44dc-4709-b57f-85b8e8fdbfd2,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0007-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0005-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0003-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c,
Please report this message to boot.repair@gmail.com
=================== UEFI/Legacy mode:
Unusual EFI: Please report this message to boot.repair@gmail.com
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot maybe enabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda1.
sda2	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda2.
sda4	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda4.
sda7	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda7.
sdb1	: 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,	/mnt/boot-sav/sdb1.
sda3	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda3.
sda5	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda5.

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


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

Model: VMware, VMware Virtual S (scsi)
Disk /dev/sda: 64.4GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name                          Flags
1      1049kB  316MB   315MB   ntfs            Basic data partition          hidden, diag
2      316MB   420MB   105MB   fat32           EFI system partition          boot, esp
3      420MB   555MB   134MB                   Microsoft reserved partition  msftres
4      555MB   40.7GB  40.2GB  ntfs            Basic data partition          msftdata
6      50.7GB  52.7GB  2000MB  linux-swap(v1)
5      52.7GB  52.7GB  1049kB                                                bios_grub
7      52.7GB  64.4GB  11.7GB  ext4


Model: VMware, VMware Virtual S (scsi)
Disk /dev/sdb: 42.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
1      1049kB  42.9GB  42.9GB  primary  ext4



                                                                          
Model: NECVMWar VMware SATA CD00 (scsi)
Disk /dev/sr0: 1163MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Disk Flags:

Number  Start   End     Size    File system  Name   Flags
1      2048B   6143B   4096B                Apple
2      1152MB  1155MB  2327kB               EFI

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

BYT;
/dev/sda:64.4GB:scsi:512:512:gpt:VMware, VMware Virtual S:;
1:1049kB:316MB:315MB:ntfs:Basic data partition:hidden, diag;
2:316MB:420MB:105MB:fat32:EFI system partition:boot, esp;
3:420MB:555MB:134MB::Microsoft reserved partition:msftres;
4:555MB:40.7GB:40.2GB:ntfs:Basic data partition:msftdata;
6:50.7GB:52.7GB:2000MB:linux-swap(v1)::;
5:52.7GB:52.7GB:1049kB:::bios_grub;
7:52.7GB:64.4GB:11.7GB:ext4::;

BYT;
/dev/sdb:42.9GB:scsi:512:512:msdos:VMware, VMware Virtual S:;
1:1049kB:42.9GB:42.9GB:ext4::;


                                                                          
BYT;
/dev/sr0:1163MB:scsi:2048:2048:mac:NECVMWar VMware SATA CD00:;
1:2048B:6143B:4096B::Apple:;
2:1152MB:1155MB:2327kB::EFI:;


=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,nodev,noexec,nosuid)
sysfs on /sys type sysfs (rw,nodev,noexec,nosuid)
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)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755,size=1024)
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)
none on /sys/firmware/efi/efivars type efivarfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,nodev,noexec,nosuid,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,nodev,noexec,nosuid,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,noexec,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type vfat (rw)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda7 on /mnt/boot-sav/sda7 type ext4 (rw)
/dev/sdb1 on /mnt/boot-sav/sdb1 type ext4 (rw)


=================== ls:
/sys/block/fd0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 sda5 sda6 sda7 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 power queue range removable ro sdb1 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 power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  agpgart block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hpet input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sdb sdb1 sg0 sg1 sg2 shm snapshot sr0 stderr stdin stdout uinput urandom vga_arbiter vmci 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 5f 09 00 00 00 00 00  |........._......|
00000030  00 64 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |.d..............|
00000040  f6 00 00 00 01 00 00 00  d0 72 e8 c0 a5 e8 c0 b0  |.........r......|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200
ls /mnt/boot-sav/sda2/1:

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

=================== hexdump -n512 -C /dev/sda4
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 88 10 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 1f ad 04 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  ab 30 05 16 3e 05 16 86  |.........0..>...|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

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

Filesystem     Type       Size  Used Avail Use% Mounted on
/cow           overlayfs  493M   81M  413M  17% /
udev           devtmpfs   482M  4.0K  482M   1% /dev
tmpfs          tmpfs       99M  1.1M   98M   2% /run
/dev/sr0       iso9660    1.1G  1.1G     0 100% /cdrom
/dev/loop0     squashfs   1.1G  1.1G     0 100% /rofs
none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs      493M  1.8M  492M   1% /tmp
none           tmpfs      5.0M  4.0K  5.0M   1% /run/lock
none           tmpfs      493M   80K  493M   1% /run/shm
none           tmpfs      100M   84K  100M   1% /run/user
/dev/sda1      fuseblk    300M  218M   83M  73% /mnt/boot-sav/sda1
/dev/sda2      vfat        96M   25M   72M  26% /mnt/boot-sav/sda2
/dev/sda4      fuseblk     38G   19G   20G  49% /mnt/boot-sav/sda4
/dev/sda7      ext4        11G  3.8G  6.3G  38% /mnt/boot-sav/sda7
/dev/sdb1      ext4        40G   31G  6.7G  83% /mnt/boot-sav/sdb1

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

Disk /dev/loop0: 1 GiB, 1115594752 bytes, 2178896 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sdb: 40 GiB, 42949672960 bytes, 83886080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc07a28a2

Device     Boot Start      End  Sectors Size Id Type
/dev/sdb1        2048 83886079 83884032  40G 83 Linux

Disk /dev/sda: 60 GiB, 64424509440 bytes, 125829120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 473666AF-D222-4098-891F-7CA5E326736D

Device         Start       End  Sectors  Size Type
/dev/sda1       2048    616447   614400  300M Windows recovery environment
/dev/sda2     616448    821247   204800  100M EFI System
/dev/sda3     821248   1083391   262144  128M Microsoft reserved
/dev/sda4    1083392  79538175 78454784 37.4G Microsoft basic data
/dev/sda5  102975488 102977535     2048    1M BIOS boot
/dev/sda6   99069952 102975487  3905536  1.9G Linux swap
/dev/sda7  102977536 125827071 22849536 10.9G Linux filesystem

Partition table entries are not in disk order.


EFI detected. Please check the options.

=================== Recommended repair
Recommended-Repair
This setting will purge (in order to fix packages sign-grub upgrade version) and reinstall the grub-efi-amd64-signed of sda7, using the following options: upgrade-grub       sda2/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s repair-filesystems  fix-windows-boot


Force Unmount all blkid partitions (for fsck) except / /boot /cdrom /dev /etc /home /opt /pas /proc /rofs /sys /tmp /usr /var

fsck -fyM /dev/sda1
fsck from util-linux 2.25.1

fsck -fyM /dev/sda2
fsck from util-linux 2.25.1

fsck -fyM /dev/sda4
fsck from util-linux 2.25.1

fsck -fyM /dev/sda7
fsck from util-linux 2.25.1

fsck -fyM /dev/sdb1
fsck from util-linux 2.25.1

fsck -fyM /dev/sda3
fsck from util-linux 2.25.1
e2fsck 1.42.10 (18-May-2014)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sda3

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>


fsck -fyM /dev/sda5
fsck from util-linux 2.25.1
e2fsck 1.42.10 (18-May-2014)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sda5

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>

mount: /dev/sda3 is write-protected, mounting read-only
NTFS signature is missing.
Failed to mount '/dev/sda3': Invalid argument
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda3 : Error code 12
mount -r /dev/sda3 /mnt/boot-sav/sda3
NTFS signature is missing.
Failed to mount '/dev/sda3': Invalid argument
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda3 : Error code 12
mount: /dev/sda5 is write-protected, mounting read-only
NTFS signature is missing.
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda5 : Error code 12
mount -r /dev/sda5 /mnt/boot-sav/sda5
NTFS signature is missing.
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda5 : Error code 12
/boot/efi added in sda7/fstab
Quantity of real Windows: 1
df: ‘/dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi’: No such file or directory
Could not detect USEDPERCENT of sda2@/efi/Microsoft/Boot/bootmgfw.efi ().
df: ‘/dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi’: No such file or directory

Created sda7/boot/efi
Mount sda2 on /mnt/boot-sav/sda7/boot/efi
ls /mnt/boot-sav/sda7/boot/efi/1:
No sda7/boot/efi/efi/ ubuntu/mint folder
chroot /mnt/boot-sav/sda7 apt-get -y --force-yes update
Purge the GRUB of sda7
Install last GRUB version in /mnt/boot-sav/sda7/etc/apt/sources.list
chroot /mnt/boot-sav/sda7 apt-get -y --force-yes update
grub-efi-amd64-signed available

The following extra packages will be installed:
efibootmgr grub-efi-amd64 grub-efi-amd64-bin libefivar0 sbsigntool
secureboot-db
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
efibootmgr grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
libefivar0 sbsigntool secureboot-db
0 upgraded, 7 newly installed, 2 to remove and 34 not upgraded.
DEBCHECK debOK, grub-efi-amd64-signed
DEBCHECK debOK
shim-signed available
linux-signed-generic available
Please type: sudo chroot "/mnt/boot-sav/sda7" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda7" apt-get install -fynsudo chroot "/mnt/boot-sav/sda7" apt-get purge -y --force-yes grub* shim-signed linux-signed*
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda7/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda7/boot/efi/EFI/Boot/bootx64.efi

=================== sda7/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Nov 19 06:23 grub.d
total 4
-rwxr-xr-x 1 root root 1992 Mar 12  2014 20_memtest86+


/boot/efi detected in the fstab of sda7: UUID=3EE8-FABA	 (sda2)
shim-signed available
linux-signed-generic available
Then type: sudo chroot "/mnt/boot-sav/sda7" apt-get install -y --force-yes grub-efi-amd64-signed shim-signed linux-signed-generic
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda7/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda7/boot/efi/EFI/Boot/bootx64.efi

=================== sda7/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Nov 19 06:28 grub.d
drwxr-xr-x  2 root root     4096 Nov 19 06:23 grub.d.bak
total 72
-rwxr-xr-x 1 root root  9424 Oct 16 09:48 00_header
-rwxr-xr-x 1 root root  6058 Oct 15 12:28 05_debian_theme
-rwxr-xr-x 1 root root 11611 Oct 16 09:48 10_linux
-rwxr-xr-x 1 root root 10418 Oct 16 09:48 20_linux_xen
-rwxr-xr-x 1 root root 11692 Oct 16 09:48 30_os-prober
-rwxr-xr-x 1 root root  1416 Oct 16 09:48 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Oct 16 09:48 40_custom
-rwxr-xr-x 1 root root   216 Oct 16 09:48 41_custom
-rw-r--r-- 1 root root   483 Oct 16 09:48 README




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

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

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

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

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

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

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

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



/boot/efi detected in the fstab of sda7: UUID=3EE8-FABA	 (sda2)
Unhide GRUB boot menu in sda7/etc/default/grub
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda7/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda7/boot/efi/EFI/Boot/bootx64.efi

=================== sda7/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Nov 19 06:28 grub.d
drwxr-xr-x  2 root root     4096 Nov 19 06:23 grub.d.bak
total 72
-rwxr-xr-x 1 root root  9424 Oct 16 09:48 00_header
-rwxr-xr-x 1 root root  6058 Oct 15 12:28 05_debian_theme
-rwxr-xr-x 1 root root 11611 Oct 16 09:48 10_linux
-rwxr-xr-x 1 root root 10418 Oct 16 09:48 20_linux_xen
-rwxr-xr-x 1 root root 11692 Oct 16 09:48 30_os-prober
-rwxr-xr-x 1 root root  1416 Oct 16 09:48 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Oct 16 09:48 40_custom
-rwxr-xr-x 1 root root   216 Oct 16 09:48 41_custom
-rw-r--r-- 1 root root   483 Oct 16 09:48 README




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

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

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

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

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

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

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

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



/boot/efi detected in the fstab of sda7: UUID=3EE8-FABA	 (sda2)

*******lspci -nnk | grep -iA3 vga
00:0f.0 VGA compatible controller [0300]: VMware SVGA II Adapter [15ad:0405]
Subsystem: VMware SVGA II Adapter [15ad:0405]
Kernel driver in use: vmwgfx
00:10.0 SCSI storage controller [0100]: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI [1000:0030] (rev 01)
Subsystem: VMware LSI Logic Parallel SCSI Controller [15ad:1976]
*******

grub-install: info: executing modprobe efivars 2>/dev/null.
grub-install: info: Looking for /sys/firmware/efi ...
grub-install: info: ...found.
Installing for x86_64-efi platform.

grub-install: info: copying `/usr/lib/shim/shim.efi.signed' -> `/boot/efi/EFI/ubuntu/shimx64.efi'.
grub-install: info: copying `/usr/lib/grub/x86_64-efi-signed/grubx64.efi.signed' -> `/boot/efi/EFI/ubuntu/grubx64.efi'.
grub-install: info: copying `/usr/lib/shim/MokManager.efi.signed' -> `/boot/efi/EFI/ubuntu/MokManager.efi'.
grub-install: info: copying `/boot/grub/x86_64-efi/load.cfg' -> `/boot/efi/EFI/ubuntu/grub.cfg'.
grub-install: info: Registering with EFI: distributor = `ubuntu', path = `EFIubuntushimx64.efi', ESP at hostdisk//dev/sda,gpt2.
grub-install: info: executing efibootmgr --version </dev/null >/dev/null.
grub-install: info: executing modprobe -q efivars.
grub-install: info: executing efibootmgr -b 0000 -B.
grub-install: info: executing efibootmgr -c -d /dev/sda -p 2 -w -L ubuntu -l EFIubuntushimx64.efi.
GPT:partition_entry_array_crc32 values don't match: 0x27615d41 != 0xaabc63cb
GPT: Use GNU Parted to correct GPT errors.
GPT:partition_entry_array_crc32 values don't match: 0x27615d41 != 0xaabc63cb
GPT: Use GNU Parted to correct GPT errors.
Installation finished. No error reported.
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0001,0002,0004,0003,0007,0005
Boot0001* Windows Boot Manager
Boot0002* EFI Network
Boot0003* EFI VMware Virtual SCSI Hard Drive (0.0)
Boot0004* EFI Internal Shell (Unsupported option)
Boot0005* EFI VMware Virtual SATA CDROM Drive (0.0)
Boot0007* EFI VMware Virtual SCSI Hard Drive (1.0)
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0000,0001,0002,0004,0003,0007,0005
Boot0001* Windows Boot Manager
Boot0002* EFI Network
Boot0003* EFI VMware Virtual SCSI Hard Drive (0.0)
Boot0004* EFI Internal Shell (Unsupported option)
Boot0005* EFI VMware Virtual SATA CDROM Drive (0.0)
Boot0007* EFI VMware Virtual SCSI Hard Drive (1.0)
Boot0000* ubuntu,BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0001,0002,0004,0003,0007,0005
Boot0001* Windows Boot Manager
Boot0002* EFI Network
Boot0003* EFI VMware Virtual SCSI Hard Drive (0.
Wrong GRUB version detected. Please report this message to boot.repair@gmail.com

Reinstall the GRUB of sda7 into the MBR of sda
Installing for x86_64-efi platform.
GPT:partition_entry_array_crc32 values don't match: 0x27615d41 != 0xaabc63cb
GPT: Use GNU Parted to correct GPT errors.
GPT:partition_entry_array_crc32 values don't match: 0x27615d41 != 0xaabc63cb
GPT: Use GNU Parted to correct GPT errors.
Installation finished. No error reported.
grub-install /dev/sda: exit code of grub-install /dev/sda:0

chroot /mnt/boot-sav/sda7 update-grub -y
Unrecognized option `-y'
Usage: grub-mkconfig [OPTION]
Generate a grub config file

-o, --output=FILE       SET@_progressbar1.pulse()
output generated config to FILE [default=stdout]
-h, --help              print this message and exit
-v, --version           print the version information and exit

Report bugs to <bug-grub@gnu.org>.

chroot /mnt/boot-sav/sda7 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.16.0-24-generic
Found initrd image: /boot/initrd.img-3.16.0-24-generic
Found linux image: /boot/vmlinuz-3.16.0-23-generic
Found initrd image: /boot/initrd.img-3.16.0-23-generic
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
mount: /dev/sda3 is write-protected, mounting read-only
NTFS signature is missing.
Failed to mount '/dev/sda3': Invalid argument
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda3 : Error code 12
mount -r /dev/sda3 /mnt/boot-sav/sda3
NTFS signature is missing.
Failed to mount '/dev/sda3': Invalid argument
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda3 : Error code 12
mount: /dev/sda5 is write-protected, mounting read-only
NTFS signature is missing.
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda5 : Error code 12
mount -r /dev/sda5 /mnt/boot-sav/sda5
NTFS signature is missing.
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda5 : Error code 12
Unhide GRUB boot menu in sda7/boot/grub/grub.cfg

An error occurred during the repair.

You can now reboot your computer.
Please do not forget to make your BIOS boot on sda (64.4GB) disk!

En plus des ignobles lignes "grub-install" qui polluent ce Boot-Info, il y a une anomalie dans la partie "PARTITIONS & DISKS" où on voit cette ligne :

sda7	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc , 

qui laisse penser que le remplacement de grub-pc par grub-efi n'a pas été fait au cours de la "Réparation recommandée". C'est un fausse information comme on peut voir dans le Boot-Info de l'étape suivante.

3) depuis la même session, je refais un Boot-Info ( http://paste.ubuntu.com/9088864/ ) parce que le Boot-Info précédent est immonde :

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Dec2013]


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

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 
    102975488 of the same hard drive for core.img. core.img is at this 
    location and looks in partition 129 for .
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 60 GiB, 64424509440 bytes, 125829120 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   125,829,119   125,829,119  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048       616,447       614,400 Windows Recovery Environment (Windows)
/dev/sda2         616,448       821,247       204,800 EFI System partition
/dev/sda3         821,248     1,083,391       262,144 Microsoft Reserved Partition (Windows)
/dev/sda4       1,083,392    79,538,175    78,454,784 Data partition (Windows/Linux)
/dev/sda5     102,975,488   102,977,535         2,048 BIOS Boot partition
/dev/sda6      99,069,952   102,975,487     3,905,536 Swap partition (Linux)
/dev/sda7     102,977,536   125,827,071    22,849,536 Data partition (Linux)

Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 40 GiB, 42949672960 bytes, 83886080 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1               2,048    83,886,079    83,884,032  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        B0C0E8A5C0E872D0                       ntfs       Récupération
/dev/sda2        3EE8-FABA                              vfat       
/dev/sda3                                                          
/dev/sda4        8616053E160530AB                       ntfs       
/dev/sda5                                                          
/dev/sda6        08ee6f18-55fa-4d5c-90d8-e74ae3e445c4   swap       
/dev/sda7        8d935f16-c51d-4053-8f9c-71d64ebd750e   ext4       
/dev/sdb1        5ba69b2f-e2b2-4685-9346-f806e7f0149e   ext4       clonezill_utopic
/dev/sr0         2014-10-22-19-43-11-00                 iso9660    Ubuntu 14.10 amd64

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

Device           Mount_Point              Type       Options

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


=========================== sda7/boot/grub/grub.cfg: ===========================

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

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

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

export menuentry_id_option

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

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

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
else
  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
fi
    font="/usr/share/grub/unicode.pf2"
fi

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

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

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-8d935f16-c51d-4053-8f9c-71d64ebd750e' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt7'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
	else
	  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
	fi
	linux	/boot/vmlinuz-3.16.0-24-generic.efi.signed root=UUID=8d935f16-c51d-4053-8f9c-71d64ebd750e ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.16.0-24-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-8d935f16-c51d-4053-8f9c-71d64ebd750e' {
	menuentry 'Ubuntu, with Linux 3.16.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-24-generic-advanced-8d935f16-c51d-4053-8f9c-71d64ebd750e' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
		else
		  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
		fi
		echo	'Loading Linux 3.16.0-24-generic ...'
		linux	/boot/vmlinuz-3.16.0-24-generic.efi.signed root=UUID=8d935f16-c51d-4053-8f9c-71d64ebd750e ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-24-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-24-generic-recovery-8d935f16-c51d-4053-8f9c-71d64ebd750e' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
		else
		  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
		fi
		echo	'Loading Linux 3.16.0-24-generic ...'
		linux	/boot/vmlinuz-3.16.0-24-generic.efi.signed root=UUID=8d935f16-c51d-4053-8f9c-71d64ebd750e ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-24-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-advanced-8d935f16-c51d-4053-8f9c-71d64ebd750e' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
		else
		  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
		fi
		echo	'Loading Linux 3.16.0-23-generic ...'
		linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=8d935f16-c51d-4053-8f9c-71d64ebd750e ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-23-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-recovery-8d935f16-c51d-4053-8f9c-71d64ebd750e' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt7'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7  8d935f16-c51d-4053-8f9c-71d64ebd750e
		else
		  search --no-floppy --fs-uuid --set=root 8d935f16-c51d-4053-8f9c-71d64ebd750e
		fi
		echo	'Loading Linux 3.16.0-23-generic ...'
		linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=8d935f16-c51d-4053-8f9c-71d64ebd750e ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-23-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/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-3EE8-FABA' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  3EE8-FABA
	else
	  search --no-floppy --fs-uuid --set=root 3EE8-FABA
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

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

=============================== sda7/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda7 during installation
UUID=8d935f16-c51d-4053-8f9c-71d64ebd750e /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=08ee6f18-55fa-4d5c-90d8-e74ae3e445c4 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
UUID=3EE8-FABA	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


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

cat: /tmp/BootInfo-6FEcqiw8/Tmp_Log: No such file or directory
File descriptor 9 (/proc/29267/mounts) leaked on lvscan invocation. Parent PID 40717: bash
File descriptor 63 (pipe:[119266]) leaked on lvscan invocation. Parent PID 40717: bash
  No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-repair 2014-11-19__06h34 ===================
boot-repair version : 3.199~ppa40~saucy
boot-sav version : 3.199~ppa40~saucy
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 3.199~ppa40~saucy
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
boot-repair is executed in live-session (Ubuntu 14.10, utopic, Ubuntu, x86_64)
ls: cannot access /home/usr/.config: No such file or directory
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
mount: /dev/sda3 is write-protected, mounting read-only
NTFS signature is missing.
Failed to mount '/dev/sda3': Invalid argument
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda3 : Error code 12
mount -r /dev/sda3 /mnt/boot-sav/sda3
NTFS signature is missing.
Failed to mount '/dev/sda3': Invalid argument
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda3 : Error code 12
mount: /dev/sda5 is write-protected, mounting read-only
NTFS signature is missing.
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount /dev/sda5 : Error code 12
mount -r /dev/sda5 /mnt/boot-sav/sda5
NTFS signature is missing.
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
mount -r /dev/sda5 : Error code 12

=================== os-prober:
/dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sda7:Ubuntu 14.10 (14.10):Ubuntu:linux

=================== blkid:
/dev/sda1: LABEL="RM-CM-)cupM-CM-)ration" UUID="B0C0E8A5C0E872D0" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="aee3c406-eb85-4d2e-adc3-ab50b8420b2e"
/dev/sda2: UUID="3EE8-FABA" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="1ccc0f6b-032a-45c8-b25e-b50e2dc5ee8d"
/dev/sda4: UUID="8616053E160530AB" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="b6ec2f42-64a7-4f17-bd18-c0cfb0e0a835"
/dev/sda7: UUID="8d935f16-c51d-4053-8f9c-71d64ebd750e" TYPE="ext4" PARTUUID="f8600da5-8354-4ca0-aeb3-c026031c5123"
/dev/sdb1: LABEL="clonezill_utopic" UUID="5ba69b2f-e2b2-4685-9346-f806e7f0149e" TYPE="ext4" PARTUUID="c07a28a2-01"
/dev/sr0: UUID="2014-10-22-19-43-11-00" LABEL="Ubuntu 14.10 amd64" TYPE="iso9660" PTUUID="4a022e4f" PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/sda6: UUID="08ee6f18-55fa-4d5c-90d8-e74ae3e445c4" TYPE="swap" PARTUUID="17f24649-c115-4b2e-86dd-0e6f56908866"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="d3da2d26-2514-4862-94c4-a3d06ada0b66"
/dev/sda5: PARTUUID="fba66f1d-a9b9-4b87-a105-40b9840a440e"


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

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

=================== sda7/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Nov 19 06:28 grub.d
drwxr-xr-x  2 root root     4096 Nov 19 06:23 grub.d.bak
total 72
-rwxr-xr-x 1 root root  9424 Oct 16 09:48 00_header
-rwxr-xr-x 1 root root  6058 Oct 15 12:28 05_debian_theme
-rwxr-xr-x 1 root root 11611 Oct 16 09:48 10_linux
-rwxr-xr-x 1 root root 10418 Oct 16 09:48 20_linux_xen
-rwxr-xr-x 1 root root 11692 Oct 16 09:48 30_os-prober
-rwxr-xr-x 1 root root  1416 Oct 16 09:48 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Oct 16 09:48 40_custom
-rwxr-xr-x 1 root root   216 Oct 16 09:48 41_custom
-rw-r--r-- 1 root root   483 Oct 16 09:48 README




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

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

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

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

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

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

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

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



/boot/efi detected in the fstab of sda7: UUID=3EE8-FABA	 (sda2)
ls /sys/firmware/efi/vars : Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c,RTC-378d7b65-8da9-4773-b6e4-a47826a833e1,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,PBRDevicePath-8be4df61-93ca-11d2-aa0d-00e098032b8c,new_var,MTC-eb704011-1402-11d3-8e77-00a0c969723b,MokListRT-605dab50-e046-4300-abb6-3dd810dd8b23,MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,HDDP-fab7e9e1-39dd-4f2b-8408-e20e906cb6de,del_var,ConsoleOutMode-793d9786-44dc-4709-b57f-85b8e8fdbfd2,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0007-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0005-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0003-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c,
Please report this message to boot.repair@gmail.com
=================== UEFI/Legacy mode:
Unusual EFI: Please report this message to boot.repair@gmail.com
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot maybe enabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda1.
sda2	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda2.
sda4	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda4.
sda7	: sda,	not-sepboot,	grubenv-ok	grub2,	signed grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda7.
sdb1	: 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,	/mnt/boot-sav/sdb1.
sda3	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda3.
sda5	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda5.

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


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

Model: VMware, VMware Virtual S (scsi)
Disk /dev/sda: 64.4GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name                          Flags
1      1049kB  316MB   315MB   ntfs            Basic data partition          hidden, diag
2      316MB   420MB   105MB   fat32           EFI system partition          boot, esp
3      420MB   555MB   134MB                   Microsoft reserved partition  msftres
4      555MB   40.7GB  40.2GB  ntfs            Basic data partition          msftdata
6      50.7GB  52.7GB  2000MB  linux-swap(v1)
5      52.7GB  52.7GB  1049kB                                                bios_grub
7      52.7GB  64.4GB  11.7GB  ext4


Model: VMware, VMware Virtual S (scsi)
Disk /dev/sdb: 42.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
1      1049kB  42.9GB  42.9GB  primary  ext4



                                                                          
Model: NECVMWar VMware SATA CD00 (scsi)
Disk /dev/sr0: 1163MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Disk Flags:

Number  Start   End     Size    File system  Name   Flags
1      2048B   6143B   4096B                Apple
2      1152MB  1155MB  2327kB               EFI

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

BYT;
/dev/sda:64.4GB:scsi:512:512:gpt:VMware, VMware Virtual S:;
1:1049kB:316MB:315MB:ntfs:Basic data partition:hidden, diag;
2:316MB:420MB:105MB:fat32:EFI system partition:boot, esp;
3:420MB:555MB:134MB::Microsoft reserved partition:msftres;
4:555MB:40.7GB:40.2GB:ntfs:Basic data partition:msftdata;
6:50.7GB:52.7GB:2000MB:linux-swap(v1)::;
5:52.7GB:52.7GB:1049kB:::bios_grub;
7:52.7GB:64.4GB:11.7GB:ext4::;

BYT;
/dev/sdb:42.9GB:scsi:512:512:msdos:VMware, VMware Virtual S:;
1:1049kB:42.9GB:42.9GB:ext4::;


                                                                          
BYT;
/dev/sr0:1163MB:scsi:2048:2048:mac:NECVMWar VMware SATA CD00:;
1:2048B:6143B:4096B::Apple:;
2:1152MB:1155MB:2327kB::EFI:;


=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,nodev,noexec,nosuid)
sysfs on /sys type sysfs (rw,nodev,noexec,nosuid)
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)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755,size=1024)
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)
none on /sys/firmware/efi/efivars type efivarfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,nodev,noexec,nosuid,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,nodev,noexec,nosuid,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,noexec,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type vfat (rw)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda7 on /mnt/boot-sav/sda7 type ext4 (rw)
/dev/sdb1 on /mnt/boot-sav/sdb1 type ext4 (rw)


=================== ls:
/sys/block/fd0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 sda5 sda6 sda7 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 power queue range removable ro sdb1 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 power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  agpgart block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hpet input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sdb sdb1 sg0 sg1 sg2 shm snapshot sr0 stderr stdin stdout uinput urandom vga_arbiter vmci 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 5f 09 00 00 00 00 00  |........._......|
00000030  00 64 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |.d..............|
00000040  f6 00 00 00 01 00 00 00  d0 72 e8 c0 a5 e8 c0 b0  |.........r......|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200
ls /mnt/boot-sav/sda2/1:

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

=================== hexdump -n512 -C /dev/sda4
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 88 10 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 1f ad 04 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  ab 30 05 16 3e 05 16 86  |.........0..>...|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

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

Filesystem     Type       Size  Used Avail Use% Mounted on
/cow           overlayfs  493M   87M  406M  18% /
udev           devtmpfs   482M  4.0K  482M   1% /dev
tmpfs          tmpfs       99M  1.1M   98M   2% /run
/dev/sr0       iso9660    1.1G  1.1G     0 100% /cdrom
/dev/loop0     squashfs   1.1G  1.1G     0 100% /rofs
none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs      493M  2.3M  491M   1% /tmp
none           tmpfs      5.0M  4.0K  5.0M   1% /run/lock
none           tmpfs      493M   80K  493M   1% /run/shm
none           tmpfs      100M   80K  100M   1% /run/user
/dev/sda1      fuseblk    300M  218M   83M  73% /mnt/boot-sav/sda1
/dev/sda2      vfat        96M   28M   69M  29% /mnt/boot-sav/sda2
/dev/sda4      fuseblk     38G   19G   20G  49% /mnt/boot-sav/sda4
/dev/sda7      ext4        11G  4.2G  5.9G  42% /mnt/boot-sav/sda7
/dev/sdb1      ext4        40G   31G  6.7G  83% /mnt/boot-sav/sdb1

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

Disk /dev/loop0: 1 GiB, 1115594752 bytes, 2178896 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sdb: 40 GiB, 42949672960 bytes, 83886080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc07a28a2

Device     Boot Start      End  Sectors Size Id Type
/dev/sdb1        2048 83886079 83884032  40G 83 Linux

Disk /dev/sda: 60 GiB, 64424509440 bytes, 125829120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 473666AF-D222-4098-891F-7CA5E326736D

Device         Start       End  Sectors  Size Type
/dev/sda1       2048    616447   614400  300M Windows recovery environment
/dev/sda2     616448    821247   204800  100M EFI System
/dev/sda3     821248   1083391   262144  128M Microsoft reserved
/dev/sda4    1083392  79538175 78454784 37.4G Microsoft basic data
/dev/sda5  102975488 102977535     2048    1M BIOS boot
/dev/sda6   99069952 102975487  3905536  1.9G Linux swap
/dev/sda7  102977536 125827071 22849536 10.9G Linux filesystem

Partition table entries are not in disk order.


EFI detected. Please check the options.
=================== Final advice in case of recommended repair
Please do not forget to make your BIOS boot on sda2/efi/.../grub*.efi file!

You may want to retry after activating the [Backup and rename Windows EFI files] option.

=================== Default settings
Recommended-Repair
This setting would purge (in order to sign-grub upgrade version) and reinstall the grub-efi-amd64-signed of sda7, using the following options: upgrade-grub       sda2/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s repair-filesystems  fix-windows-boot

=================== Settings chosen by the user
Boot-Info
This setting will not act on the MBR.



No change has been performed on your computer.

Dans ce dernier Boot-Info, l'anomalie relevée dans l'item 2) n'existe plus puisqu'on trouve ceci dans la partie "PARTITIONS & DISKS" :

sda7	: sda,	not-sepboot,	grubenv-ok	grub2,	signed grub-efi ,

C'est à dire que c'est bien la version signée de grub-efi qui se trouve dans la partition racine de Ubuntu (comme il se doit puisque la conversion Legacy vers EFI est accomplie).

4) au redémarrage, l'ordi (virtuel) démarre directement sur le menu Grub du Ubuntu 14.10 (réparé et pleinement fonctionnel).


Conclusion :
La Conversion Legacy vers EFI d'une installation de Ubuntu 14.10 - réalisée avec Boot-repair depuis une session live - fonctionne bien et évite d'avoir à faire une réinstallation complète de Ubuntu 14.10.

Dernière modification par malbo (Le 09/01/2015, à 15:57)

Hors ligne

#2 Le 19/11/2014, à 08:43

Bougron

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Bonjour Malbo
Il serait quand même sympa que "boot-spy' (ton dernier boot-info)   fasse la commande sudo efibootmgr -v

Pour le 'boot-destroy' (le boot-info précédant),    Je ne suis pas sur que finalement cela boote sur ubuntu...  Mais si cela met en route sur windows c'est déja un succès.

BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0001,0002,0004,0003,0007,0005
Boot0001* Windows Boot Manager
Boot0002* EFI Network
Boot0003* EFI VMware Virtual SCSI Hard Drive (0.0)
Boot0004* EFI Internal Shell (Unsupported option)
Boot0005* EFI VMware Virtual SATA CDROM Drive (0.0)
Boot0007* EFI VMware Virtual SCSI Hard Drive (1.0)
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0000,0001,0002,0004,0003,0007,0005
Boot0001* Windows Boot Manager
Boot0002* EFI Network
Boot0003* EFI VMware Virtual SCSI Hard Drive (0.0)
Boot0004* EFI Internal Shell (Unsupported option)
Boot0005* EFI VMware Virtual SATA CDROM Drive (0.0)
Boot0007* EFI VMware Virtual SCSI Hard Drive (1.0)
Boot0000* ubuntu,BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0001,0002,0004,0003,0007,0005
Boot0001* Windows Boot Manager
Boot0002* EFI Network
Boot0003* EFI VMware Virtual SCSI Hard Drive (0.

Hors ligne

#3 Le 19/11/2014, à 09:00

malbo

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Bougron,
Le but de ce fil est de vérifier que Boot-Repair continue d'être utilisable pour faire une conversion en EFI. Comme c'est le cas, je vais conseiller aux gens de l'utiliser quand le cas se présentera. Ce que je cherchais à faire, c'est pointer les anomalies éventuelles qu'on peut rencontrer comme celle que j'ai signalée à l'étape 2 (grub-pc au lieu de signed grub-efi). Si tu penses "qu’il serait quand même sympa" d'améliorer Boot-Repair sur le point que tu as signalé, ce n'est pas à moi qu'il faut le dire mais au concepteur de Boot-Repair.

Hors ligne

#4 Le 19/11/2014, à 09:28

malbo

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Messages à la con qu'il faut subir quand on lance Boot-Repair. Je les signale pour que le novice ne soit pas effrayé par tout ce cirque et avance tranquillement vers la suite :
mini_479814Capturedu20141119091801.png
Cliquer sur OK
mini_154988Capturedu20141119091831.png
Cliquer sur OK
mini_440587Capturedu20141119091907.png
Cliquer sur OK
Enfin, on arrive à la fenêtre utile :
mini_487977Capturedu20141119091952.png

Dernière modification par malbo (Le 19/11/2014, à 09:32)

Hors ligne

#5 Le 09/01/2015, à 12:28

malbo

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Comme YannUbuntu, le concepteur de Boot-Repair, a beaucoup retravaillé Boot-Repair, je refais un essai pour m'assurer que la conversion Legacy vers EFI réalisée par Boot-Repair est toujours fonctionnelle. L'installation n'est pas exactement la même que dans le post #1 mais je vais faire les mêmes étapes :

1) Boot-Info initial (avant conversion) : http://paste.ubuntu.com/9697674/
je le colle ici :

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Nov2014]


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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 
    86213752 of the same hard drive for core.img. core.img is at this location 
    and looks for (,gpt5)/boot/grub.
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 60 GiB, 64424509440 bytes, 125829120 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   125,829,119   125,829,119  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048       616,447       614,400 Windows Recovery Environment (Windows)
/dev/sda2         616,448       821,247       204,800 EFI System partition
/dev/sda3         821,248     1,083,391       262,144 Microsoft Reserved Partition (Windows)
/dev/sda4       1,083,392    79,538,175    78,454,784 Data partition (Windows/Linux)
/dev/sda5      79,538,176    99,069,425    19,531,250 Data partition (Linux)
/dev/sda6      99,069,952   102,975,487     3,905,536 Swap partition (Linux)

Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 40 GiB, 42949672960 bytes, 83886080 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048    79,691,775    79,689,728  83 Linux
/dev/sdb2          79,691,776    83,886,079     4,194,304  82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        B0C0E8A5C0E872D0                       ntfs       Récupération
/dev/sda2        3EE8-FABA                              vfat       
/dev/sda3                                                          
/dev/sda4        8616053E160530AB                       ntfs       
/dev/sda5        62a389b5-f6d3-45e7-8911-1bcefe257044   ext4       
/dev/sda6        08ee6f18-55fa-4d5c-90d8-e74ae3e445c4   swap       
/dev/sdb1        5ba69b2f-e2b2-4685-9346-f806e7f0149e   ext4       clonezill_utopic
/dev/sdb2        7f036501-3496-4c9e-b9f5-242e552ae5d9   swap       
/dev/sr0         2014-10-22-19-43-11-00                 iso9660    Ubuntu 14.10 amd64

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

total 0
lrwxrwxrwx 1 root root 9 Jan  9 10:46 ata-VMware_Virtual_SATA_CDRW_Drive_00000000000000000001 -> ../../sr0

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

Device           Mount_Point              Type       Options

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


=========================== sda5/boot/grub/grub.cfg: ===========================

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

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

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

export menuentry_id_option

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

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

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
else
  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
fi
    font="/usr/share/grub/unicode.pf2"
fi

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

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

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-62a389b5-f6d3-45e7-8911-1bcefe257044' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
	else
	  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
	fi
	linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=62a389b5-f6d3-45e7-8911-1bcefe257044 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.16.0-23-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-62a389b5-f6d3-45e7-8911-1bcefe257044' {
	menuentry 'Ubuntu, avec Linux 3.16.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-advanced-62a389b5-f6d3-45e7-8911-1bcefe257044' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
		else
		  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
		fi
		echo	'Chargement de Linux 3.16.0-23-generic…'
		linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=62a389b5-f6d3-45e7-8911-1bcefe257044 ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.16.0-23-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-recovery-62a389b5-f6d3-45e7-8911-1bcefe257044' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
		else
		  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
		fi
		echo	'Chargement de Linux 3.16.0-23-generic…'
		linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=62a389b5-f6d3-45e7-8911-1bcefe257044 ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-3.16.0-23-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='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
	else
	  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
	fi
	knetbsd	/boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
	else
	  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
	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 ###
--------------------------------------------------------------------------------

=============================== sda5/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=62a389b5-f6d3-45e7-8911-1bcefe257044 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=08ee6f18-55fa-4d5c-90d8-e74ae3e445c4 none            swap    sw              0       0
# swap was on /dev/sdb2 during installation
UUID=7f036501-3496-4c9e-b9f5-242e552ae5d9 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
--------------------------------------------------------------------------------

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

cat: write error: Broken pipe
File descriptor 9 (/proc/6717/mounts) leaked on lvs invocation. Parent PID 15662: bash
File descriptor 63 (pipe:[54600]) leaked on lvs invocation. Parent PID 15662: bash
  No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-repair 2015-01-09__10h51 ===================
boot-repair version : 4ppa32
boot-sav version : 4ppa32
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa32
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
boot-repair is executed in live-session (Ubuntu 14.10, utopic, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
ls: cannot access /home/usr/.config: No such file or directory

=================== os-prober:
/dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sda5:Ubuntu 14.10 (14.10):Ubuntu:linux

=================== blkid:
/dev/sda1: LABEL="RM-CM-)cupM-CM-)ration" UUID="B0C0E8A5C0E872D0" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="aee3c406-eb85-4d2e-adc3-ab50b8420b2e"
/dev/sda2: UUID="3EE8-FABA" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="1ccc0f6b-032a-45c8-b25e-b50e2dc5ee8d"
/dev/sda4: UUID="8616053E160530AB" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="b6ec2f42-64a7-4f17-bd18-c0cfb0e0a835"
/dev/sda5: UUID="62a389b5-f6d3-45e7-8911-1bcefe257044" TYPE="ext4" PARTUUID="97033c4d-66ba-4c8c-8937-07209ee9c874"
/dev/sdb1: LABEL="clonezill_utopic" UUID="5ba69b2f-e2b2-4685-9346-f806e7f0149e" TYPE="ext4" PARTUUID="c07a28a2-01"
/dev/sr0: UUID="2014-10-22-19-43-11-00" LABEL="Ubuntu 14.10 amd64" TYPE="iso9660" PTUUID="4a022e4f" PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/sda6: UUID="08ee6f18-55fa-4d5c-90d8-e74ae3e445c4" TYPE="swap" PARTUUID="17f24649-c115-4b2e-86dd-0e6f56908866"
/dev/sdb2: UUID="7f036501-3496-4c9e-b9f5-242e552ae5d9" TYPE="swap" PARTUUID="c07a28a2-02"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="d3da2d26-2514-4862-94c4-a3d06ada0b66"


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

Windows not detected by os-prober on sda4.
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda2/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda2/EFI/Boot/bootx64.efi

=================== sda5/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Oct 22 19:12 grub.d
total 76
-rwxr-xr-x 1 root root  9424 Oct 16 09:48 00_header
-rwxr-xr-x 1 root root  6058 Oct 15 12:28 05_debian_theme
-rwxr-xr-x 1 root root 11611 Oct 16 09:48 10_linux
-rwxr-xr-x 1 root root 10418 Oct 16 09:48 20_linux_xen
-rwxr-xr-x 1 root root  1992 Mar 12  2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 Oct 16 09:48 30_os-prober
-rwxr-xr-x 1 root root  1416 Oct 16 09:48 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Oct 16 09:48 40_custom
-rwxr-xr-x 1 root root   216 Oct 16 09:48 41_custom
-rw-r--r-- 1 root root   483 Oct 16 09:48 README




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



ls /sys/firmware/efi/vars : Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c,RTC-378d7b65-8da9-4773-b6e4-a47826a833e1,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,PBRDevicePath-8be4df61-93ca-11d2-aa0d-00e098032b8c,new_var,MTC-eb704011-1402-11d3-8e77-00a0c969723b,MokListRT-605dab50-e046-4300-abb6-3dd810dd8b23,MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,HDDP-fab7e9e1-39dd-4f2b-8408-e20e906cb6de,del_var,ConsoleOutMode-793d9786-44dc-4709-b57f-85b8e8fdbfd2,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot000B-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0006-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0005-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0003-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c,
Please report this message to boot.repair@gmail.com

=================== efibootmgr -v
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0002,0006,0005,0003,0004,000B,0000
Boot0000* EFI Internal Shell (Unsupported option)	MM(b,3efba000,3f344fff)FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)
Boot0002* ubuntu	HD(2,96800,32000,1ccc0f6b-032a-45c8-b25e-b50e2dc5ee8d)File(EFIubuntushimx64.efi)
Boot0003* EFI VMware Virtual SCSI Hard Drive (0.0)	ACPI(a0341d0,0)PCI(10,0)SCSI(0,0)
Boot0004* EFI Network	ACPI(a0341d0,0)PCI(11,0)PCI(1,0)MAC(MAC(000c2932a745,0)
Boot0005* EFI VMware Virtual SATA CDROM Drive (0.0)	ACPI(a0341d0,0)PCI(11,0)PCI(5,0)SATA(0,0,0)
Boot0006* Windows Boot Manager	HD(2,96800,32000,1ccc0f6b-032a-45c8-b25e-b50e2dc5ee8d)File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot000B* EFI VMware Virtual SCSI Hard Drive (1.0)	ACPI(a0341d0,0)PCI(10,0)SCSI(1,0)

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


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda1.
sda2	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda2.
sda4	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda4.
sda5	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda5.
sdb1	: 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,	/mnt/boot-sav/sdb1.

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


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

Model: VMware, VMware Virtual S (scsi)
Disk /dev/sda: 64.4GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name                          Flags
1      1049kB  316MB   315MB   ntfs            Basic data partition          hidden, diag
2      316MB   420MB   105MB   fat32           EFI system partition          boot, esp
3      420MB   555MB   134MB                   Microsoft reserved partition  msftres
4      555MB   40.7GB  40.2GB  ntfs            Basic data partition          msftdata
5      40.7GB  50.7GB  10.0GB  ext4
6      50.7GB  52.7GB  2000MB  linux-swap(v1)


Model: VMware, VMware Virtual S (scsi)
Disk /dev/sdb: 42.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system     Flags
1      1049kB  40.8GB  40.8GB  primary  ext4            boot
2      40.8GB  42.9GB  2147MB  primary  linux-swap(v1)


Model: NECVMWar VMware SATA CD00 (scsi)
Disk /dev/sr0: 1163MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Disk Flags:

Number  Start   End     Size    File system  Name   Flags
1      2048B   6143B   4096B                Apple
2      1152MB  1155MB  2327kB               EFI

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

BYT;
/dev/sda:64.4GB:scsi:512:512:gpt:VMware, VMware Virtual S:;
1:1049kB:316MB:315MB:ntfs:Basic data partition:hidden, diag;
2:316MB:420MB:105MB:fat32:EFI system partition:boot, esp;
3:420MB:555MB:134MB::Microsoft reserved partition:msftres;
4:555MB:40.7GB:40.2GB:ntfs:Basic data partition:msftdata;
5:40.7GB:50.7GB:10.0GB:ext4::;
6:50.7GB:52.7GB:2000MB:linux-swap(v1)::;

BYT;
/dev/sdb:42.9GB:scsi:512:512:msdos:VMware, VMware Virtual S:;
1:1049kB:40.8GB:40.8GB:ext4::boot;
2:40.8GB:42.9GB:2147MB:linux-swap(v1)::;

BYT;
/dev/sr0:1163MB:scsi:2048:2048:mac:NECVMWar VMware SATA CD00:;
1:2048B:6143B:4096B::Apple:;
2:1152MB:1155MB:2327kB::EFI:;




=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,nodev,noexec,nosuid)
sysfs on /sys type sysfs (rw,nodev,noexec,nosuid)
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)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755,size=1024)
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)
none on /sys/firmware/efi/efivars type efivarfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,nodev,noexec,nosuid,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,nodev,noexec,nosuid,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,noexec,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type vfat (rw)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw)
/dev/sdb1 on /mnt/boot-sav/sdb1 type ext4 (rw)


=================== ls:
/sys/block/fd0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 sda5 sda6 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 power queue range removable ro sdb1 sdb2 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 power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  agpgart block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hpet input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sdb sdb1 sdb2 sg0 sg1 sg2 shm snapshot sr0 stderr stdin stdout uinput urandom vga_arbiter vmci 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 5f 09 00 00 00 00 00  |........._......|
00000030  00 64 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |.d..............|
00000040  f6 00 00 00 01 00 00 00  d0 72 e8 c0 a5 e8 c0 b0  |.........r......|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

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

=================== hexdump -n512 -C /dev/sda4
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 88 10 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 1f ad 04 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  ab 30 05 16 3e 05 16 86  |.........0..>...|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

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

Filesystem     Type       Size  Used Avail Use% Mounted on
/cow           overlayfs  493M   78M  416M  16% /
udev           devtmpfs   482M  4.0K  482M   1% /dev
tmpfs          tmpfs       99M  1.1M   98M   2% /run
/dev/sr0       iso9660    1.1G  1.1G     0 100% /cdrom
/dev/loop0     squashfs   1.1G  1.1G     0 100% /rofs
none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs      493M  1.2M  492M   1% /tmp
none           tmpfs      5.0M  4.0K  5.0M   1% /run/lock
none           tmpfs      493M   80K  493M   1% /run/shm
none           tmpfs      100M   68K  100M   1% /run/user
/dev/sda1      fuseblk    300M  218M   83M  73% /mnt/boot-sav/sda1
/dev/sda2      vfat        96M   28M   69M  29% /mnt/boot-sav/sda2
/dev/sda4      fuseblk     38G   21G   17G  56% /mnt/boot-sav/sda4
/dev/sda5      ext4       9.1G  3.9G  4.8G  45% /mnt/boot-sav/sda5
/dev/sdb1      ext4        38G   22G   15G  60% /mnt/boot-sav/sdb1

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

Disk /dev/loop0: 1 GiB, 1115594752 bytes, 2178896 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 60 GiB, 64424509440 bytes, 125829120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 473666AF-D222-4098-891F-7CA5E326736D

Device        Start       End  Sectors  Size Type
/dev/sda1      2048    616447   614400  300M Windows recovery environment
/dev/sda2    616448    821247   204800  100M EFI System
/dev/sda3    821248   1083391   262144  128M Microsoft reserved
/dev/sda4   1083392  79538175 78454784 37.4G Microsoft basic data
/dev/sda5  79538176  99069425 19531250  9.3G Linux filesystem
/dev/sda6  99069952 102975487  3905536  1.9G Linux swap

Disk /dev/sdb: 40 GiB, 42949672960 bytes, 83886080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc07a28a2

Device     Boot    Start      End  Sectors Size Id Type
/dev/sdb1  *        2048 79691775 79689728  38G 83 Linux
/dev/sdb2       79691776 83886079  4194304   2G 82 Linux swap / Solaris




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


=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on sda (64.4GB) disk!

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


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

2) conversion réalisée par la "Réparation recommandée" de Boot-Repair : le Boot-Info dont l'URL ( http://paste.ubuntu.com/9697730/ ) est donné en fin de "Réparation recommandée" est ici :

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Nov2014]


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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 
    86213752 of the same hard drive for core.img. core.img is at this location 
    and looks for (,gpt5)/boot/grub.
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 60 GiB, 64424509440 bytes, 125829120 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   125,829,119   125,829,119  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048       616,447       614,400 Windows Recovery Environment (Windows)
/dev/sda2         616,448       821,247       204,800 EFI System partition
/dev/sda3         821,248     1,083,391       262,144 Microsoft Reserved Partition (Windows)
/dev/sda4       1,083,392    79,538,175    78,454,784 Data partition (Windows/Linux)
/dev/sda5      79,538,176    99,069,425    19,531,250 Data partition (Linux)
/dev/sda6      99,069,952   102,975,487     3,905,536 Swap partition (Linux)

Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 40 GiB, 42949672960 bytes, 83886080 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048    79,691,775    79,689,728  83 Linux
/dev/sdb2          79,691,776    83,886,079     4,194,304  82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        B0C0E8A5C0E872D0                       ntfs       Récupération
/dev/sda2        3EE8-FABA                              vfat       
/dev/sda3                                                          
/dev/sda4        8616053E160530AB                       ntfs       
/dev/sda5        62a389b5-f6d3-45e7-8911-1bcefe257044   ext4       
/dev/sda6        08ee6f18-55fa-4d5c-90d8-e74ae3e445c4   swap       
/dev/sdb1        5ba69b2f-e2b2-4685-9346-f806e7f0149e   ext4       clonezill_utopic
/dev/sdb2        7f036501-3496-4c9e-b9f5-242e552ae5d9   swap       
/dev/sr0         2014-10-22-19-43-11-00                 iso9660    Ubuntu 14.10 amd64

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

total 0
lrwxrwxrwx 1 root root 9 Jan  9 10:46 ata-VMware_Virtual_SATA_CDRW_Drive_00000000000000000001 -> ../../sr0

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

Device           Mount_Point              Type       Options

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


=========================== sda5/boot/grub/grub.cfg: ===========================

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

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

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

export menuentry_id_option

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

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

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
else
  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
fi
    font="/usr/share/grub/unicode.pf2"
fi

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

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

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-62a389b5-f6d3-45e7-8911-1bcefe257044' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
	else
	  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
	fi
	linux	/boot/vmlinuz-3.16.0-28-generic.efi.signed root=UUID=62a389b5-f6d3-45e7-8911-1bcefe257044 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.16.0-28-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-62a389b5-f6d3-45e7-8911-1bcefe257044' {
	menuentry 'Ubuntu, with Linux 3.16.0-28-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-28-generic-advanced-62a389b5-f6d3-45e7-8911-1bcefe257044' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
		else
		  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
		fi
		echo	'Loading Linux 3.16.0-28-generic ...'
		linux	/boot/vmlinuz-3.16.0-28-generic.efi.signed root=UUID=62a389b5-f6d3-45e7-8911-1bcefe257044 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-28-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-28-generic-recovery-62a389b5-f6d3-45e7-8911-1bcefe257044' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
		else
		  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
		fi
		echo	'Loading Linux 3.16.0-28-generic ...'
		linux	/boot/vmlinuz-3.16.0-28-generic.efi.signed root=UUID=62a389b5-f6d3-45e7-8911-1bcefe257044 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-28-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-advanced-62a389b5-f6d3-45e7-8911-1bcefe257044' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
		else
		  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
		fi
		echo	'Loading Linux 3.16.0-23-generic ...'
		linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=62a389b5-f6d3-45e7-8911-1bcefe257044 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-23-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-recovery-62a389b5-f6d3-45e7-8911-1bcefe257044' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
		else
		  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
		fi
		echo	'Loading Linux 3.16.0-23-generic ...'
		linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=62a389b5-f6d3-45e7-8911-1bcefe257044 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-23-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/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-3EE8-FABA' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  3EE8-FABA
	else
	  search --no-floppy --fs-uuid --set=root 3EE8-FABA
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

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

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

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

=============================== sda5/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=62a389b5-f6d3-45e7-8911-1bcefe257044 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=08ee6f18-55fa-4d5c-90d8-e74ae3e445c4 none            swap    sw              0       0
# swap was on /dev/sdb2 during installation
UUID=7f036501-3496-4c9e-b9f5-242e552ae5d9 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
UUID=3EE8-FABA	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

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

cat: write error: Broken pipe
File descriptor 9 (/proc/17556/mounts) leaked on lvs invocation. Parent PID 47737: bash
File descriptor 63 (pipe:[62554]) leaked on lvs invocation. Parent PID 47737: bash
  No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-repair 2015-01-09__10h54 ===================
boot-repair version : 4ppa32
boot-sav version : 4ppa32
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa32
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
boot-repair is executed in live-session (Ubuntu 14.10, utopic, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
ls: cannot access /home/usr/.config: No such file or directory

=================== os-prober:
/dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sda5:Ubuntu 14.10 (14.10):Ubuntu:linux

=================== blkid:
/dev/sda1: LABEL="RM-CM-)cupM-CM-)ration" UUID="B0C0E8A5C0E872D0" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="aee3c406-eb85-4d2e-adc3-ab50b8420b2e"
/dev/sda2: UUID="3EE8-FABA" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="1ccc0f6b-032a-45c8-b25e-b50e2dc5ee8d"
/dev/sda4: UUID="8616053E160530AB" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="b6ec2f42-64a7-4f17-bd18-c0cfb0e0a835"
/dev/sda5: UUID="62a389b5-f6d3-45e7-8911-1bcefe257044" TYPE="ext4" PARTUUID="97033c4d-66ba-4c8c-8937-07209ee9c874"
/dev/sdb1: LABEL="clonezill_utopic" UUID="5ba69b2f-e2b2-4685-9346-f806e7f0149e" TYPE="ext4" PARTUUID="c07a28a2-01"
/dev/sr0: UUID="2014-10-22-19-43-11-00" LABEL="Ubuntu 14.10 amd64" TYPE="iso9660" PTUUID="4a022e4f" PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/sda6: UUID="08ee6f18-55fa-4d5c-90d8-e74ae3e445c4" TYPE="swap" PARTUUID="17f24649-c115-4b2e-86dd-0e6f56908866"
/dev/sdb2: UUID="7f036501-3496-4c9e-b9f5-242e552ae5d9" TYPE="swap" PARTUUID="c07a28a2-02"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="d3da2d26-2514-4862-94c4-a3d06ada0b66"


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

Windows not detected by os-prober on sda4.
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda2/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda2/EFI/Boot/bootx64.efi

=================== sda5/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Oct 22 19:12 grub.d
total 76
-rwxr-xr-x 1 root root  9424 Oct 16 09:48 00_header
-rwxr-xr-x 1 root root  6058 Oct 15 12:28 05_debian_theme
-rwxr-xr-x 1 root root 11611 Oct 16 09:48 10_linux
-rwxr-xr-x 1 root root 10418 Oct 16 09:48 20_linux_xen
-rwxr-xr-x 1 root root  1992 Mar 12  2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 Oct 16 09:48 30_os-prober
-rwxr-xr-x 1 root root  1416 Oct 16 09:48 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Oct 16 09:48 40_custom
-rwxr-xr-x 1 root root   216 Oct 16 09:48 41_custom
-rw-r--r-- 1 root root   483 Oct 16 09:48 README




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



ls /sys/firmware/efi/vars : Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c,RTC-378d7b65-8da9-4773-b6e4-a47826a833e1,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,PBRDevicePath-8be4df61-93ca-11d2-aa0d-00e098032b8c,new_var,MTC-eb704011-1402-11d3-8e77-00a0c969723b,MokListRT-605dab50-e046-4300-abb6-3dd810dd8b23,MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,HDDP-fab7e9e1-39dd-4f2b-8408-e20e906cb6de,del_var,ConsoleOutMode-793d9786-44dc-4709-b57f-85b8e8fdbfd2,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot000B-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0006-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0005-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0003-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c,
Please report this message to boot.repair@gmail.com

=================== efibootmgr -v
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0002,0006,0005,0003,0004,000B,0000
Boot0000* EFI Internal Shell (Unsupported option)	MM(b,3efba000,3f344fff)FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)
Boot0002* ubuntu	HD(2,96800,32000,1ccc0f6b-032a-45c8-b25e-b50e2dc5ee8d)File(EFIubuntushimx64.efi)
Boot0003* EFI VMware Virtual SCSI Hard Drive (0.0)	ACPI(a0341d0,0)PCI(10,0)SCSI(0,0)
Boot0004* EFI Network	ACPI(a0341d0,0)PCI(11,0)PCI(1,0)MAC(MAC(000c2932a745,0)
Boot0005* EFI VMware Virtual SATA CDROM Drive (0.0)	ACPI(a0341d0,0)PCI(11,0)PCI(5,0)SATA(0,0,0)
Boot0006* Windows Boot Manager	HD(2,96800,32000,1ccc0f6b-032a-45c8-b25e-b50e2dc5ee8d)File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot000B* EFI VMware Virtual SCSI Hard Drive (1.0)	ACPI(a0341d0,0)PCI(10,0)SCSI(1,0)

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


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda1.
sda2	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda2.
sda4	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda4.
sda5	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda5.
sdb1	: 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,	/mnt/boot-sav/sdb1.

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


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

Model: VMware, VMware Virtual S (scsi)
Disk /dev/sda: 64.4GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name                          Flags
1      1049kB  316MB   315MB   ntfs            Basic data partition          hidden, diag
2      316MB   420MB   105MB   fat32           EFI system partition          boot, esp
3      420MB   555MB   134MB                   Microsoft reserved partition  msftres
4      555MB   40.7GB  40.2GB  ntfs            Basic data partition          msftdata
5      40.7GB  50.7GB  10.0GB  ext4
6      50.7GB  52.7GB  2000MB  linux-swap(v1)


Model: VMware, VMware Virtual S (scsi)
Disk /dev/sdb: 42.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system     Flags
1      1049kB  40.8GB  40.8GB  primary  ext4            boot
2      40.8GB  42.9GB  2147MB  primary  linux-swap(v1)


Model: NECVMWar VMware SATA CD00 (scsi)
Disk /dev/sr0: 1163MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Disk Flags:

Number  Start   End     Size    File system  Name   Flags
1      2048B   6143B   4096B                Apple
2      1152MB  1155MB  2327kB               EFI

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

BYT;
/dev/sda:64.4GB:scsi:512:512:gpt:VMware, VMware Virtual S:;
1:1049kB:316MB:315MB:ntfs:Basic data partition:hidden, diag;
2:316MB:420MB:105MB:fat32:EFI system partition:boot, esp;
3:420MB:555MB:134MB::Microsoft reserved partition:msftres;
4:555MB:40.7GB:40.2GB:ntfs:Basic data partition:msftdata;
5:40.7GB:50.7GB:10.0GB:ext4::;
6:50.7GB:52.7GB:2000MB:linux-swap(v1)::;

BYT;
/dev/sdb:42.9GB:scsi:512:512:msdos:VMware, VMware Virtual S:;
1:1049kB:40.8GB:40.8GB:ext4::boot;
2:40.8GB:42.9GB:2147MB:linux-swap(v1)::;

BYT;
/dev/sr0:1163MB:scsi:2048:2048:mac:NECVMWar VMware SATA CD00:;
1:2048B:6143B:4096B::Apple:;
2:1152MB:1155MB:2327kB::EFI:;




=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,nodev,noexec,nosuid)
sysfs on /sys type sysfs (rw,nodev,noexec,nosuid)
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)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755,size=1024)
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)
none on /sys/firmware/efi/efivars type efivarfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,nodev,noexec,nosuid,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,nodev,noexec,nosuid,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,noexec,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type vfat (rw)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw)
/dev/sdb1 on /mnt/boot-sav/sdb1 type ext4 (rw)


=================== ls:
/sys/block/fd0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 sda5 sda6 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 power queue range removable ro sdb1 sdb2 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 power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  agpgart block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hpet input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sdb sdb1 sdb2 sg0 sg1 sg2 shm snapshot sr0 stderr stdin stdout uinput urandom vga_arbiter vmci 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 5f 09 00 00 00 00 00  |........._......|
00000030  00 64 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |.d..............|
00000040  f6 00 00 00 01 00 00 00  d0 72 e8 c0 a5 e8 c0 b0  |.........r......|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

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

=================== hexdump -n512 -C /dev/sda4
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 88 10 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 1f ad 04 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  ab 30 05 16 3e 05 16 86  |.........0..>...|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

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

Filesystem     Type       Size  Used Avail Use% Mounted on
/cow           overlayfs  493M   80M  414M  17% /
udev           devtmpfs   482M  4.0K  482M   1% /dev
tmpfs          tmpfs       99M  1.1M   98M   2% /run
/dev/sr0       iso9660    1.1G  1.1G     0 100% /cdrom
/dev/loop0     squashfs   1.1G  1.1G     0 100% /rofs
none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs      493M  1.8M  492M   1% /tmp
none           tmpfs      5.0M  4.0K  5.0M   1% /run/lock
none           tmpfs      493M   80K  493M   1% /run/shm
none           tmpfs      100M   68K  100M   1% /run/user
/dev/sda1      fuseblk    300M  218M   83M  73% /mnt/boot-sav/sda1
/dev/sda2      vfat        96M   30M   67M  31% /mnt/boot-sav/sda2
/dev/sda4      fuseblk     38G   21G   17G  56% /mnt/boot-sav/sda4
/dev/sda5      ext4       9.1G  3.9G  4.8G  45% /mnt/boot-sav/sda5
/dev/sdb1      ext4        38G   22G   15G  60% /mnt/boot-sav/sdb1

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

Disk /dev/loop0: 1 GiB, 1115594752 bytes, 2178896 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 60 GiB, 64424509440 bytes, 125829120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 473666AF-D222-4098-891F-7CA5E326736D

Device        Start       End  Sectors  Size Type
/dev/sda1      2048    616447   614400  300M Windows recovery environment
/dev/sda2    616448    821247   204800  100M EFI System
/dev/sda3    821248   1083391   262144  128M Microsoft reserved
/dev/sda4   1083392  79538175 78454784 37.4G Microsoft basic data
/dev/sda5  79538176  99069425 19531250  9.3G Linux filesystem
/dev/sda6  99069952 102975487  3905536  1.9G Linux swap

Disk /dev/sdb: 40 GiB, 42949672960 bytes, 83886080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc07a28a2

Device     Boot    Start      End  Sectors Size Id Type
/dev/sdb1  *        2048 79691775 79689728  38G 83 Linux
/dev/sdb2       79691776 83886079  4194304   2G 82 Linux swap / Solaris



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


/boot/efi added in sda5/fstab
Quantity of real Windows: 1
Created sda5/boot/efi
Mount sda2 on /mnt/boot-sav/sda5/boot/efi
ls sda2/efi: /Microsoft/Boot/zh-TW /Microsoft/Boot/zh-HK /Microsoft/Boot/zh-CN /Microsoft/Boot/uk-UA /Microsoft/Boot/tr-TR /Microsoft/Boot/sv-SE /Microsoft/Boot/sr-Latn-CS /Microsoft/Boot/sl-SI /Microsoft/Boot/sk-SK /Microsoft/Boot/ru-RU /Microsoft/Boot/ro-RO /Microsoft/Boot/Resources /Microsoft/Boot/qps-ploc /Microsoft/Boot/pt-PT /Microsoft/Boot/pt-BR /Microsoft/Boot/pl-PL /Microsoft/Boot/nl-NL /Microsoft/Boot/nb-NO /Microsoft/Boot/memtest.efi /Microsoft/Boot/lv-LV /Microsoft/Boot/lt-LT /Microsoft/Boot/ko-KR /Microsoft/Boot/ja-JP /Microsoft/Boot/it-IT /Microsoft/Boot/hu-HU /Microsoft/Boot/hr-HR /Microsoft/Boot/fr-FR /Microsoft/Boot/Fonts /Microsoft/Boot/fi-FI /Microsoft/Boot/et-EE /Microsoft/Boot/es-ES /Microsoft/Boot/en-US /Microsoft/Boot/en-GB /Microsoft/Boot/el-GR /Microsoft/Boot/de-DE /Microsoft/Boot/da-DK /Microsoft/Boot/cs-CZ /Microsoft/Boot/boot.stl /Microsoft/Boot/BOOTSTAT.DAT /Microsoft/Boot/bootmgr.efi /Microsoft/Boot/bootmgfw.efi /Microsoft/Boot/bg-BG /Microsoft/Boot/BCD.LOG2 /Microsoft/Boot/BCD.LOG1 /Microsoft/Boot/BCD.LOG /Microsoft/Boot/BCD /ubuntu/shimx64.efi /ubuntu/MokManager.efi /ubuntu/grubx64.efi /ubuntu/grub.cfg /Microsoft/Boot /Boot/bootx64.efi
ls sda2: boot-sav
EFI  . Please report this message to boot.repair@gmail.com
chroot /mnt/boot-sav/sda5 apt-get -y --force-yes update
Purge the GRUB of sda5
grub-efi-amd64-signed available

The following extra packages will be installed:
efibootmgr grub-efi-amd64 grub-efi-amd64-bin libefivar0 sbsigntool
secureboot-db
The following packages will be REMOVED:
grub-gfxpayload-lists grub-pc
The following NEW packages will be installed:
efibootmgr grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
libefivar0 sbsigntool secureboot-db
0 upgraded, 7 newly installed, 2 to remove and 90 not upgraded.
DEBCHECK debOK, grub-efi-amd64-signed
DEBCHECK debOK
shim-signed available
linux-signed-generic available
Please type: sudo chroot "/mnt/boot-sav/sda5" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda5" apt-get install -fynsudo chroot "/mnt/boot-sav/sda5" apt-get purge -y --force-yes grub*-common grub-common:i386 shim-signed linux-signed*
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi

=================== sda5/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Jan  9 10:59 grub.d
total 4
-rwxr-xr-x 1 root root 1992 Mar 12  2014 20_memtest86+


/boot/efi detected in the fstab of sda5: UUID=3EE8-FABA	 (sda2)
shim-signed available
linux-signed-generic available
Then type: sudo chroot "/mnt/boot-sav/sda5" apt-get install -y --force-yes grub-efi-amd64-signed shim-signed linux-signed-generic
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi

=================== sda5/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Jan  9 11:03 grub.d
drwxr-xr-x  2 root root     4096 Jan  9 10:59 grub.d.bak
total 72
-rwxr-xr-x 1 root root  9424 Oct 16 09:48 00_header
-rwxr-xr-x 1 root root  6058 Oct 15 12:28 05_debian_theme
-rwxr-xr-x 1 root root 11611 Oct 16 09:48 10_linux
-rwxr-xr-x 1 root root 10418 Oct 16 09:48 20_linux_xen
-rwxr-xr-x 1 root root 11692 Oct 16 09:48 30_os-prober
-rwxr-xr-x 1 root root  1416 Oct 16 09:48 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Oct 16 09:48 40_custom
-rwxr-xr-x 1 root root   216 Oct 16 09:48 41_custom
-rw-r--r-- 1 root root   483 Oct 16 09:48 README




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

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

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

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

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

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

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

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



/boot/efi detected in the fstab of sda5: UUID=3EE8-FABA	 (sda2)
Unhide GRUB boot menu in sda5/etc/default/grub
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda5/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi

=================== sda5/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Jan  9 11:03 grub.d
drwxr-xr-x  2 root root     4096 Jan  9 10:59 grub.d.bak
total 72
-rwxr-xr-x 1 root root  9424 Oct 16 09:48 00_header
-rwxr-xr-x 1 root root  6058 Oct 15 12:28 05_debian_theme
-rwxr-xr-x 1 root root 11611 Oct 16 09:48 10_linux
-rwxr-xr-x 1 root root 10418 Oct 16 09:48 20_linux_xen
-rwxr-xr-x 1 root root 11692 Oct 16 09:48 30_os-prober
-rwxr-xr-x 1 root root  1416 Oct 16 09:48 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Oct 16 09:48 40_custom
-rwxr-xr-x 1 root root   216 Oct 16 09:48 41_custom
-rw-r--r-- 1 root root   483 Oct 16 09:48 README




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

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

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

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

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

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

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

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



/boot/efi detected in the fstab of sda5: UUID=3EE8-FABA	 (sda2)

*******lspci -nnk | grep -iA3 vga
00:0f.0 VGA compatible controller [0300]: VMware SVGA II Adapter [15ad:0405]
Subsystem: VMware SVGA II Adapter [15ad:0405]
Kernel driver in use: vmwgfx
00:10.0 SCSI storage controller [0100]: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI [1000:0030] (rev 01)
Subsystem: VMware LSI Logic Parallel SCSI Controller [15ad:1976]
*******

grub-install --version
grub-install (GRUB) 2.02~beta2-15,grub-install (GRUB) 2.

chroot /mnt/boot-sav/sda5 efibootmgr -v
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0001,0006,0005,0003,0004,000B,0000
Boot0000* EFI Internal Shell (Unsupported option)	MM(b,3efba000,3f344fff)FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)
Boot0001* ubuntu	HD(2,96800,32000,1ccc0f6b-032a-45c8-b25e-b50e2dc5ee8d)File(EFIubuntushimx64.efi)
Boot0003* EFI VMware Virtual SCSI Hard Drive (0.0)	ACPI(a0341d0,0)PCI(10,0)SCSI(0,0)
Boot0004* EFI Network	ACPI(a0341d0,0)PCI(11,0)PCI(1,0)MAC(MAC(000c2932a745,0)
Boot0005* EFI VMware Virtual SATA CDROM Drive (0.0)	ACPI(a0341d0,0)PCI(11,0)PCI(5,0)SATA(0,0,0)
Boot0006* Windows Boot Manager	HD(2,96800,32000,1ccc0f6b-032a-45c8-b25e-b50e2dc5ee8d)File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot000B* EFI VMware Virtual SCSI Hard Drive (1.0)	ACPI(a0341d0,0)PCI(10,0)SCSI(1,0)

chroot /mnt/boot-sav/sda5 uname -r
Kernel: 3.16.0-23-generic

Reinstall the grub-efi-amd64-signed shim-signed linux-signed-generic of sda5
Installing for x86_64-efi platform.
Installation finished. No error reported.
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot : exit code of grub-install :0

chroot /mnt/boot-sav/sda5 efibootmgr -v
BootCurrent: 0005
Timeout: 2 seconds
BootOrder: 0001,0006,0005,0003,0004,000B,0000
Boot0000* EFI Internal Shell (Unsupported option)	MM(b,3efba000,3f344fff)FvFile(c57ad6b7-0515-40a8-9d21-551652854e37)
Boot0001* ubuntu	HD(2,96800,32000,1ccc0f6b-032a-45c8-b25e-b50e2dc5ee8d)File(EFIubuntushimx64.efi)
Boot0003* EFI VMware Virtual SCSI Hard Drive (0.0)	ACPI(a0341d0,0)PCI(10,0)SCSI(0,0)
Boot0004* EFI Network	ACPI(a0341d0,0)PCI(11,0)PCI(1,0)MAC(MAC(000c2932a745,0)
Boot0005* EFI VMware Virtual SATA CDROM Drive (0.0)	ACPI(a0341d0,0)PCI(11,0)PCI(5,0)SATA(0,0,0)
Boot0006* Windows Boot Manager	HD(2,96800,32000,1ccc0f6b-032a-45c8-b25e-b50e2dc5ee8d)File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot000B* EFI VMware Virtual SCSI Hard Drive (1.0)	ACPI(a0341d0,0)PCI(10,0)SCSI(1,0)

chroot /mnt/boot-sav/sda5 update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.16.0-28-generic
Found initrd image: /boot/initrd.img-3.16.0-28-generic
Found linux image: /boot/vmlinuz-3.16.0-23-generic
Found initrd image: /boot/initrd.img-3.16.0-23-generic
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Unhide GRUB boot menu in sda5/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.
Please do not forget to make your BIOS boot on sda (64.4GB) disk!

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

On retrouve l'anomalie déjà mise en évidence dans le post #1 à savoir que le Boot-Info indique la présence de grub-pc alors que celui-ci est viré lors de la réparation :

sda5	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc

C'est peut-être normal mais c'est déconcertant quand on épluche le rapport parce qu'on ne sait pas si le remplacement de grub-pc par grub-efi est fait ou pas.
3) depuis la même session, je refais un Boot-Info ( http://paste.ubuntu.com/9697738/ ) parce que le Boot-Info précédent contient l'anomalie signalée ci-dessus :

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Nov2014]


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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 
    86213752 of the same hard drive for core.img. core.img is at this location 
    and looks for (,gpt5)/boot/grub.
 => No boot loader is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

sda6: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 60 GiB, 64424509440 bytes, 125829120 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   125,829,119   125,829,119  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048       616,447       614,400 Windows Recovery Environment (Windows)
/dev/sda2         616,448       821,247       204,800 EFI System partition
/dev/sda3         821,248     1,083,391       262,144 Microsoft Reserved Partition (Windows)
/dev/sda4       1,083,392    79,538,175    78,454,784 Data partition (Windows/Linux)
/dev/sda5      79,538,176    99,069,425    19,531,250 Data partition (Linux)
/dev/sda6      99,069,952   102,975,487     3,905,536 Swap partition (Linux)

Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 40 GiB, 42949672960 bytes, 83886080 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *          2,048    79,691,775    79,689,728  83 Linux
/dev/sdb2          79,691,776    83,886,079     4,194,304  82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        B0C0E8A5C0E872D0                       ntfs       Récupération
/dev/sda2        3EE8-FABA                              vfat       
/dev/sda3                                                          
/dev/sda4        8616053E160530AB                       ntfs       
/dev/sda5        62a389b5-f6d3-45e7-8911-1bcefe257044   ext4       
/dev/sda6        08ee6f18-55fa-4d5c-90d8-e74ae3e445c4   swap       
/dev/sdb1        5ba69b2f-e2b2-4685-9346-f806e7f0149e   ext4       clonezill_utopic
/dev/sdb2        7f036501-3496-4c9e-b9f5-242e552ae5d9   swap       
/dev/sr0         2014-10-22-19-43-11-00                 iso9660    Ubuntu 14.10 amd64

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

total 0
lrwxrwxrwx 1 root root 9 Jan  9 10:46 ata-VMware_Virtual_SATA_CDRW_Drive_00000000000000000001 -> ../../sr0

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

Device           Mount_Point              Type       Options

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


=========================== sda5/boot/grub/grub.cfg: ===========================

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

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

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

export menuentry_id_option

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

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

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
else
  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
fi
    font="/usr/share/grub/unicode.pf2"
fi

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

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

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-62a389b5-f6d3-45e7-8911-1bcefe257044' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
	else
	  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
	fi
	linux	/boot/vmlinuz-3.16.0-28-generic.efi.signed root=UUID=62a389b5-f6d3-45e7-8911-1bcefe257044 ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-3.16.0-28-generic
}
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-62a389b5-f6d3-45e7-8911-1bcefe257044' {
	menuentry 'Ubuntu, with Linux 3.16.0-28-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-28-generic-advanced-62a389b5-f6d3-45e7-8911-1bcefe257044' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
		else
		  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
		fi
		echo	'Loading Linux 3.16.0-28-generic ...'
		linux	/boot/vmlinuz-3.16.0-28-generic.efi.signed root=UUID=62a389b5-f6d3-45e7-8911-1bcefe257044 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-28-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-28-generic-recovery-62a389b5-f6d3-45e7-8911-1bcefe257044' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
		else
		  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
		fi
		echo	'Loading Linux 3.16.0-28-generic ...'
		linux	/boot/vmlinuz-3.16.0-28-generic.efi.signed root=UUID=62a389b5-f6d3-45e7-8911-1bcefe257044 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-28-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-advanced-62a389b5-f6d3-45e7-8911-1bcefe257044' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
		else
		  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
		fi
		echo	'Loading Linux 3.16.0-23-generic ...'
		linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=62a389b5-f6d3-45e7-8911-1bcefe257044 ro  quiet splash $vt_handoff
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-23-generic
	}
	menuentry 'Ubuntu, with Linux 3.16.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.16.0-23-generic-recovery-62a389b5-f6d3-45e7-8911-1bcefe257044' {
		recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt5'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  62a389b5-f6d3-45e7-8911-1bcefe257044
		else
		  search --no-floppy --fs-uuid --set=root 62a389b5-f6d3-45e7-8911-1bcefe257044
		fi
		echo	'Loading Linux 3.16.0-23-generic ...'
		linux	/boot/vmlinuz-3.16.0-23-generic root=UUID=62a389b5-f6d3-45e7-8911-1bcefe257044 ro recovery nomodeset 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.16.0-23-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/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-3EE8-FABA' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  3EE8-FABA
	else
	  search --no-floppy --fs-uuid --set=root 3EE8-FABA
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

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

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

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

=============================== sda5/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=62a389b5-f6d3-45e7-8911-1bcefe257044 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=08ee6f18-55fa-4d5c-90d8-e74ae3e445c4 none            swap    sw              0       0
# swap was on /dev/sdb2 during installation
UUID=7f036501-3496-4c9e-b9f5-242e552ae5d9 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
UUID=3EE8-FABA	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

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

cat: write error: Broken pipe
File descriptor 9 (/proc/49724/mounts) leaked on lvs invocation. Parent PID 58674: bash
File descriptor 63 (pipe:[84991]) leaked on lvs invocation. Parent PID 58674: bash
  No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-repair 2015-01-09__11h06 ===================
boot-repair version : 4ppa32
boot-sav version : 4ppa32
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa32
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
boot-repair is executed in live-session (Ubuntu 14.10, utopic, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
ls: cannot access /home/usr/.config: No such file or directory

=================== os-prober:
/dev/sda2@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sda5:Ubuntu 14.10 (14.10):Ubuntu:linux

=================== blkid:
/dev/sda1: LABEL="RM-CM-)cupM-CM-)ration" UUID="B0C0E8A5C0E872D0" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="aee3c406-eb85-4d2e-adc3-ab50b8420b2e"
/dev/sda2: UUID="3EE8-FABA" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="1ccc0f6b-032a-45c8-b25e-b50e2dc5ee8d"
/dev/sda4: UUID="8616053E160530AB" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="b6ec2f42-64a7-4f17-bd18-c0cfb0e0a835"
/dev/sda5: UUID="62a389b5-f6d3-45e7-8911-1bcefe257044" TYPE="ext4" PARTUUID="97033c4d-66ba-4c8c-8937-07209ee9c874"
/dev/sdb1: LABEL="clonezill_utopic" UUID="5ba69b2f-e2b2-4685-9346-f806e7f0149e" TYPE="ext4" PARTUUID="c07a28a2-01"
/dev/sr0: UUID="2014-10-22-19-43-11-00" LABEL="Ubuntu 14.10 amd64" TYPE="iso9660" PTUUID="4a022e4f" PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/sda6: UUID="08ee6f18-55fa-4d5c-90d8-e74ae3e445c4" TYPE="swap" PARTUUID="17f24649-c115-4b2e-86dd-0e6f56908866"
/dev/sdb2: UUID="7f036501-3496-4c9e-b9f5-242e552ae5d9" TYPE="swap" PARTUUID="c07a28a2-02"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="d3da2d26-2514-4862-94c4-a3d06ada0b66"


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

Windows not detected by os-prober on sda4.
Presence of EFI/Microsoft file detected: /mnt/boot-sav/sda2/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /mnt/boot-sav/sda2/EFI/Boot/bootx64.efi

=================== sda5/etc/grub.d/ :
drwxr-xr-x  2 root root     4096 Jan  9 11:03 grub.d
drwxr-xr-x  2 root root     4096 Jan  9 10:59 grub.d.bak
total 72
-rwxr-xr-x 1 root root  9424 Oct 16 09:48 00_header
-rwxr-xr-x 1 root root  6058 Oct 15 12:28 05_debian_theme
-rwxr-xr-x 1 root root 11611 Oct 16 09:48 10_linux
-rwxr-xr-x 1 root root 10418 Oct 16 09:48 20_linux_xen
-rwxr-xr-x 1 root root 11692 Oct 16 09:48 30_os-prober
-rwxr-xr-x 1 root root  1416 Oct 16 09:48 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Oct 16 09:48 40_custom
-rwxr-xr-x 1 root root   216 Oct 16 09:48 41_custom
-rw-r--r-- 1 root root   483 Oct 16 09:48 README




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

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

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

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

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

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

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

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



/boot/efi detected in the fstab of sda5: UUID=3EE8-FABA	 (sda2)
ls /sys/firmware/efi/vars : Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c,RTC-378d7b65-8da9-4773-b6e4-a47826a833e1,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,PBRDevicePath-8be4df61-93ca-11d2-aa0d-00e098032b8c,new_var,MTC-eb704011-1402-11d3-8e77-00a0c969723b,MokListRT-605dab50-e046-4300-abb6-3dd810dd8b23,MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,HDDP-fab7e9e1-39dd-4f2b-8408-e20e906cb6de,del_var,ConsoleOutMode-793d9786-44dc-4709-b57f-85b8e8fdbfd2,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot000B-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0006-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0005-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0003-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c,
Please report this message to boot.repair@gmail.com

=================== efibootmgr -v

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


=================== PARTITIONS & DISKS:
sda1	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	recovery-or-hidden,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda1.
sda2	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	is-correct-EFI,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda2.
sda4	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	haswinload,	no-recov-nor-hid,	bootmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda4.
sda5	: sda,	not-sepboot,	grubenv-ok	grub2,	signed grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	/mnt/boot-sav/sda5.
sdb1	: 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,	/mnt/boot-sav/sdb1.

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


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

Model: VMware, VMware Virtual S (scsi)
Disk /dev/sda: 64.4GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name                          Flags
1      1049kB  316MB   315MB   ntfs            Basic data partition          hidden, diag
2      316MB   420MB   105MB   fat32           EFI system partition          boot, esp
3      420MB   555MB   134MB                   Microsoft reserved partition  msftres
4      555MB   40.7GB  40.2GB  ntfs            Basic data partition          msftdata
5      40.7GB  50.7GB  10.0GB  ext4
6      50.7GB  52.7GB  2000MB  linux-swap(v1)


Model: VMware, VMware Virtual S (scsi)
Disk /dev/sdb: 42.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system     Flags
1      1049kB  40.8GB  40.8GB  primary  ext4            boot
2      40.8GB  42.9GB  2147MB  primary  linux-swap(v1)


Model: NECVMWar VMware SATA CD00 (scsi)
Disk /dev/sr0: 1163MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Disk Flags:

Number  Start   End     Size    File system  Name   Flags
1      2048B   6143B   4096B                Apple
2      1152MB  1155MB  2327kB               EFI

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

BYT;
/dev/sda:64.4GB:scsi:512:512:gpt:VMware, VMware Virtual S:;
1:1049kB:316MB:315MB:ntfs:Basic data partition:hidden, diag;
2:316MB:420MB:105MB:fat32:EFI system partition:boot, esp;
3:420MB:555MB:134MB::Microsoft reserved partition:msftres;
4:555MB:40.7GB:40.2GB:ntfs:Basic data partition:msftdata;
5:40.7GB:50.7GB:10.0GB:ext4::;
6:50.7GB:52.7GB:2000MB:linux-swap(v1)::;

BYT;
/dev/sdb:42.9GB:scsi:512:512:msdos:VMware, VMware Virtual S:;
1:1049kB:40.8GB:40.8GB:ext4::boot;
2:40.8GB:42.9GB:2147MB:linux-swap(v1)::;

BYT;
/dev/sr0:1163MB:scsi:2048:2048:mac:NECVMWar VMware SATA CD00:;
1:2048B:6143B:4096B::Apple:;
2:1152MB:1155MB:2327kB::EFI:;




=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,nodev,noexec,nosuid)
sysfs on /sys type sysfs (rw,nodev,noexec,nosuid)
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)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755,size=1024)
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)
none on /sys/firmware/efi/efivars type efivarfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,nodev,noexec,nosuid,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,nodev,noexec,nosuid,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,noexec,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type vfat (rw)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw)
/dev/sdb1 on /mnt/boot-sav/sdb1 type ext4 (rw)


=================== ls:
/sys/block/fd0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 sda5 sda6 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 power queue range removable ro sdb1 sdb2 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 power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  agpgart block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hpet input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sdb sdb1 sdb2 sg0 sg1 sg2 shm snapshot sr0 stderr stdin stdout uinput urandom vga_arbiter vmci 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 5f 09 00 00 00 00 00  |........._......|
00000030  00 64 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |.d..............|
00000040  f6 00 00 00 01 00 00 00  d0 72 e8 c0 a5 e8 c0 b0  |.........r......|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

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

=================== hexdump -n512 -C /dev/sda4
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 88 10 00  |........?.......|
00000020  00 00 00 00 80 00 80 00  ff 1f ad 04 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  ab 30 05 16 3e 05 16 86  |.........0..>...|
00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
000000f0  68 07 bb 16 68 52 11 16  68 09 00 66 53 66 53 66  |h...hR..h..fSfSf|
00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
00000110  0a 13 b9 f6 0c fc f3 aa  e9 fe 01 90 90 66 60 1e  |.............f`.|
00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
00000160  0e 16 00 75 bc 07 1f 66  61 c3 a1 f6 01 e8 09 00  |...u...fa.......|
00000170  a1 fa 01 e8 03 00 f4 eb  fd 8b f0 ac 3c 00 74 09  |............<.t.|
00000180  b4 0e bb 07 00 cd 10 eb  f2 c3 0d 0a 45 72 72 65  |............Erre|
00000190  75 72 20 6c 65 63 74 75  72 65 20 64 69 73 71 75  |ur lecture disqu|
000001a0  65 00 0d 0a 42 4f 4f 54  4d 47 52 20 63 6f 6d 70  |e...BOOTMGR comp|
000001b0  72 65 73 73 82 00 0d 0a  43 74 72 6c 2b 41 6c 74  |ress....Ctrl+Alt|
000001c0  2b 53 75 70 70 72 20 70  6f 75 72 20 72 65 64 82  |+Suppr pour red.|
000001d0  6d 61 72 72 65 72 0d 0a  00 73 74 61 72 74 0d 0a  |marrer...start..|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 8a 01  a2 01 b6 01 00 00 55 aa  |..............U.|
00000200

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

Filesystem     Type       Size  Used Avail Use% Mounted on
/cow           overlayfs  493M   83M  411M  17% /
udev           devtmpfs   482M  4.0K  482M   1% /dev
tmpfs          tmpfs       99M  1.1M   98M   2% /run
/dev/sr0       iso9660    1.1G  1.1G     0 100% /cdrom
/dev/loop0     squashfs   1.1G  1.1G     0 100% /rofs
none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs      493M  2.4M  491M   1% /tmp
none           tmpfs      5.0M  4.0K  5.0M   1% /run/lock
none           tmpfs      493M   80K  493M   1% /run/shm
none           tmpfs      100M   68K  100M   1% /run/user
/dev/sda1      fuseblk    300M  218M   83M  73% /mnt/boot-sav/sda1
/dev/sda2      vfat        96M   32M   65M  34% /mnt/boot-sav/sda2
/dev/sda4      fuseblk     38G   21G   17G  56% /mnt/boot-sav/sda4
/dev/sda5      ext4       9.1G  4.2G  4.4G  49% /mnt/boot-sav/sda5
/dev/sdb1      ext4        38G   22G   15G  60% /mnt/boot-sav/sdb1

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

Disk /dev/loop0: 1 GiB, 1115594752 bytes, 2178896 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 60 GiB, 64424509440 bytes, 125829120 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 473666AF-D222-4098-891F-7CA5E326736D

Device        Start       End  Sectors  Size Type
/dev/sda1      2048    616447   614400  300M Windows recovery environment
/dev/sda2    616448    821247   204800  100M EFI System
/dev/sda3    821248   1083391   262144  128M Microsoft reserved
/dev/sda4   1083392  79538175 78454784 37.4G Microsoft basic data
/dev/sda5  79538176  99069425 19531250  9.3G Linux filesystem
/dev/sda6  99069952 102975487  3905536  1.9G Linux swap

Disk /dev/sdb: 40 GiB, 42949672960 bytes, 83886080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc07a28a2

Device     Boot    Start      End  Sectors Size Id Type
/dev/sdb1  *        2048 79691775 79689728  38G 83 Linux
/dev/sdb2       79691776 83886079  4194304   2G 82 Linux swap / Solaris




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


=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on sda (64.4GB) disk!

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


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

Là on voit bien :

sda5	: sda,	not-sepboot,	grubenv-ok	grub2,	signed grub-efi 

4) au redémarrage, l'ordi (virtuel) démarre directement sur le menu Grub du Ubuntu 14.10 (réparé et pleinement fonctionnel).

Conclusion : la conversion marche toujours bien et le Boot-Info de l'étape 2 (celui qu'on obtient en fin de la "Réparation recommandée") ne comporte plus les milliers de lignes "grub-install..." qui ne servaient à rien. Boot-Repair avait besoin d'être amélioré et on sent la différence.

Dernière modification par malbo (Le 09/01/2015, à 12:45)

Hors ligne

#6 Le 09/01/2015, à 15:29

ikewdu

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Salut,

Si tu me permets une remarque, je trouve le titre de ce sujet un peu trompeur (je suis tombé dessus du fait de ta MAJ).

Dit ainsi, on peut croire qu'il s'agit d'une installation Legacy sur disque mbr qui va être convertie en UEFI sur disque gpt. Ce qui me surprenait beaucoup, d'autant que nous savons tous deux que le passage de mbr à gpt est un écueil de taille.

Je pense que tu devrais préciser qu'il s'agit d'une réparation d'installation ratée, en mode legacy sur disque gpt, pour éviter toute ambiguïté.

Hors ligne

#7 Le 09/01/2015, à 16:02

malbo

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

ikewdu,
J'ai changé mon titre pour mentionner "[Test]" parce que le but de ce fil, c'est de tester cette conversion et c'est vrai qu'il vaut mieux éviter que quelqu'un tente de suivre ce que je raconte là-dedans : tout est vrai mais ce n'est pas un tuto et n'a pas la prétention de l'être. J'ai rajouté également une petite explication au début du post #1 pour le lecteur curieux...

Hors ligne

#8 Le 09/01/2015, à 16:49

kalunux

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Bonjour wink

Je me permet.
Moi je dirais plutôt que le test et la première installation "Legacy" est ratée car elle ne contient pas de partition BIOS-Boot sur table de partition GPT comme il se doit.
Conclusion : ça ne pouvait pas fonctionné sans cette partition.
@ikewdu
Pour info : Il me semble d'après le test de Maxire que tu as toi mème félicité. Il est tout-à-fait possible d'effectuer une installation "EFI" sur table de partition "msdos" en 64 ou 32 Bits.

Hors ligne

#9 Le 09/01/2015, à 17:30

ikewdu

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Re,

@malbo, ça me semble lever l'ambiguïté. Merci à toi.

kalunux a écrit :

@ikewdu
Pour info : Il me semble d'après le test de Maxire que tu as toi mème félicité. Il est tout-à-fait possible d'effectuer une installation "EFI" sur table de partition "msdos" en 64 ou 32 Bits.

Peux-tu donner la référence, car je n'ai pas souvenir de ça ? Si tu parles de ce sujet, il s'agissait simplement d'une installation d'ubuntu 32 bits sur disque gpt en uefi.

http://forum.ubuntu-fr.org/viewtopic.php?id=1710901

Dernière modification par ikewdu (Le 09/01/2015, à 17:37)

Hors ligne

#10 Le 09/01/2015, à 17:41

kalunux

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

ikewdu a écrit :

Peux-tu donner la référence, car je n'ai pas souvenir de ça ?

Oui avec plaisir smile
Laisse moi le temps de retrouver les discussions.
Par contre, si Maxire veux bien venir confirmé ça me faciliterais la tache, car cela ne va pas être simple de retrouver ces liens.

Non, Non !! installation EFI sur table de partition "msdos".

Hors ligne

#11 Le 09/01/2015, à 17:53

kalunux

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Hors ligne

#12 Le 09/01/2015, à 18:33

ikewdu

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Je découvre ce sujet (je ne pouvais donc pas m'en rappeler). Merci de l'info.

Ca montre la souplesse de Grub et donc de Linux.  Je ne tiens pas à relancer une vieille polémique mais en ce qui concerne Windows, c'est une autre paire de manches : Maxire le signale d'ailleurs et je le cite:  Le disque Windows possède sa propre partition ESP /dev/sdb2, Windows ne démarre qu'en mode uefi. . Et perso, je n'ai jamais réussi (malgré mes essais, suite à notre discussion) à ne serait-ce qu'installer un W8 en uefi sur un disque ms-dos. Si tu y parviens, indique-moi comment faire, car moi, je n'y arrive pas.

Hors ligne

#13 Le 09/01/2015, à 18:54

kalunux

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

ikewdu a écrit :

Le disque Windows possède sa propre partition ESP /dev/sdb2, Windows ne démarre qu'en mode uefi. . Et perso, je n'ai jamais réussi (malgré mes essais, suite à notre discussion) à ne serait-ce qu'installer un W8 en uefi sur un disque ms-dos. Si tu y parviens, indique-moi comment faire, car moi, je n'y arrive pas.

Sur ce point tu te trompes. Je nais jamais affirmer qu'il était possible d'installer Windows 8 sur table de partition "msdos" et encore moins en mode EFI.
Donc, je suis d'accord avec toi là dessus. Je pense qu'il est impossible d'effectuer cette installation jusqu'à preuve du contraire.

Bonne soirée à tous wink

Hors ligne

#14 Le 09/01/2015, à 19:09

ikewdu

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

En fait, nous étions d'accord depuis le début. Moi, je parlais déjà de W8 dans ce fameux sujet :

http://forum.ubuntu-fr.org/viewtopic.ph … #p18487091

Dernière modification par ikewdu (Le 09/01/2015, à 19:11)

Hors ligne

#15 Le 10/01/2015, à 16:05

ikewdu

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Re,

Ce sujet, l'intervention de kalunux et la référence à la manipulation de Maxire m'ont donné des idées (qui clarifient pas mal de choses) :
Passer d'un Ubuntu (ou Mint) installé en Legacy sur disque mbr à un Ubuntu en Uefi, sur gpt, le tout sans réinstaller. En même temps, ça permet de vérifier ce qu'impliquent les manipulations sur les partitions.

Partons de cette situation (boot-info initial), à savoir une installation banale de Mint :

Paste2

    Create Paste
    Followup Paste
    QR

    Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014]
    ============================= Boot Info Summary: ===============================
    => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for (,msdos1)/boot/grub.
    sda1: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Linux Mint 17 Qiana
    Boot files: /boot/grub/grub.cfg /etc/fstab
    /boot/grub/i386-pc/core.img
    sda2: __________________________________________________________________________
    File system: Extended Partition
    Boot sector type: -
    Boot sector info:
    sda5: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files:
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 10.7 GB, 10737418240 bytes
    255 heads, 63 sectors/track, 1305 cylinders, total 20971520 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 11,718,655 11,716,608 83 Linux
    /dev/sda2 11,720,702 20,969,471 9,248,770 5 Extended
    /dev/sda5 11,720,704 20,969,471 9,248,768 83 Linux
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/sda1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e ext4
    /dev/sda5 7dbfd683-72a6-44bb-8b5f-bf3d16122635 ext4
    ========================= "ls -l /dev/disk/by-id" output: ======================
    total 0
    lrwxrwxrwx 1 root root 9 Jan 10 10:21 ata-VMware_Virtual_SATA_CDRW_Drive_01000000000000000001 -> ../../sr0
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/sda1 / ext4 (rw,errors=remount-ro)
    /dev/sda5 /home ext4 (rw)
    =========================== sda1/boot/grub/grub.cfg: ===========================
    --------------------------------------------------------------------------------
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
    set have_grubenv=true
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    }
    function recordfail {
    set recordfail=1
    if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    }
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    }
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=fr_FR
    insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ] ; then
    set timeout=-1
    else
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
    # Fallback hidden-timeout code in case the timeout_style feature is
    # unavailable.
    elif sleep --interruptible 0 ; then
    set timeout=0
    fi
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    ### END /etc/grub.d/05_debian_theme ###
    ### BEGIN /etc/grub.d/06_mint_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=white/light-gray
    ### END /etc/grub.d/06_mint_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
    if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
    menuentry 'Linux Mint 17 Xfce 64-bit, 3.13.0-24-generic (/dev/sda1)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    linux /boot/vmlinuz-3.13.0-24-generic root=UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e ro quiet splash $vt_handoff
    initrd /boot/initrd.img-3.13.0-24-generic
    }
    menuentry 'Linux Mint 17 Xfce 64-bit, 3.13.0-24-generic (/dev/sda1) -- recovery mode' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    echo	'Chargement de Linux 3.13.0-24-generic…'
    linux /boot/vmlinuz-3.13.0-24-generic root=UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e ro recovery nomodeset
    echo	'Chargement du disque mémoire initial…'
    initrd /boot/initrd.img-3.13.0-24-generic
    }
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/10_lupin ###
    ### END /etc/grub.d/10_lupin ###
    ### 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_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    knetbsd /boot/memtest86+.elf
    }
    menuentry 'Memory test (memtest86+, serial console 115200)' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    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 ###
    --------------------------------------------------------------------------------
    =============================== sda1/etc/fstab: ================================
    --------------------------------------------------------------------------------
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    # / was on /dev/sda1 during installation
    UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e / ext4 errors=remount-ro 0 1
    # /home was on /dev/sda5 during installation
    UUID=7dbfd683-72a6-44bb-8b5f-bf3d16122635 /home ext4 defaults 0 2
    /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
    --------------------------------------------------------------------------------
    =============================== StdErr Messages: ===============================
    cat: write error: Broken pipe
    File descriptor 9 (/proc/3749/mounts) leaked on lvs invocation. Parent PID 10368: bash
    File descriptor 63 (pipe:[21398]) leaked on lvs invocation. Parent PID 10368: bash
    No volume groups found
    ADDITIONAL INFORMATION :
    =================== log of boot-info 2015-01-10__10h27 ===================
    boot-info version : 4ppa32
    boot-sav version : 4ppa32
    glade2script version : 3.2.2~ppa47~saucy
    boot-sav-extra version :
    File descriptor 9 (/proc/3749/mounts) leaked on lvs invocation. Parent PID 5356: /bin/sh
    No volume groups found
    boot-info is executed in installed-session (Linux Mint 17 Qiana, qiana, LinuxMint, x86_64)
    CPU op-mode(s): 32-bit, 64-bit
    BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e ro quiet splash
    =================== os-prober:
    /dev/sda1:L'OS actuellement utilisé - Linux Mint 17 Qiana CurrentSession:linux
    =================== blkid:
    /dev/sda1: UUID="f6229183-92ad-4e1e-98cd-8a2ff0ee789e" TYPE="ext4"
    /dev/sda5: UUID="7dbfd683-72a6-44bb-8b5f-bf3d16122635" TYPE="ext4"
    1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
    Avertissement : la partition étendue ne commence pas sur une frontière de
    cylindres. DOS et Linux interpréteront les contenus différemment.
    =================== /etc/grub.d/ :
    drwxr-xr-x 2 root root 4096 juin 23 2014 grub.d
    total 88
    -rwxr-xr-x 1 root root 9424 avril 11 2014 00_header
    -rwxr-xr-x 1 root root 6058 avril 10 2014 05_debian_theme
    -rwxr-xr-x 1 root root 1183 oct. 23 2011 06_mint_theme
    -rwxr-xr-x 1 root root 7500 janv. 10 10:21 10_linux
    -rwxr-xr-x 1 root root 10634 oct. 1 2012 10_lupin
    -rwxr-xr-x 1 root root 10412 avril 11 2014 20_linux_xen
    -rwxr-xr-x 1 root root 1992 mars 12 2014 20_memtest86+
    -rwxr-xr-x 1 root root 11692 avril 11 2014 30_os-prober
    -rwxr-xr-x 1 root root 1416 avril 11 2014 30_uefi-firmware
    -rwxr-xr-x 1 root root 214 avril 11 2014 40_custom
    -rwxr-xr-x 1 root root 216 avril 11 2014 41_custom
    -rw-r--r-- 1 root root 483 avril 11 2014 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"
    =================== UEFI/Legacy mode:
    This installed-session is not in EFI-mode.
    SecureBoot disabled.
    =================== PARTITIONS & DISKS:
    sda1 : sda, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, .
    sda5 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /home.
    sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
    =================== parted -l:
    Model: VMware, VMware Virtual S (scsi)
    Disk /dev/sda: 10.7GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Number Start End Size Type File system Flags
    1 1049kB 6000MB 5999MB primary ext4 boot
    2 6001MB 10.7GB 4735MB extended
    5 6001MB 10.7GB 4735MB logical ext4
    =================== parted -lm:
    BYT;
    /dev/sda:10.7GB:scsi:512:512:msdos:VMware, VMware Virtual S;
    1:1049kB:6000MB:5999MB:ext4::boot;
    2:6001MB:10.7GB:4735MB:::;
    5:6001MB:10.7GB:4735MB:ext4::;
    =================== mount:
    /dev/sda1 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)
    /dev/sda5 on /home type ext4 (rw)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
    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=essai)
    =================== ls:
    /sys/block/fd0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
    /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda5 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 power queue range removable ro size slaves stat subsystem trace uevent
    /dev (filtered): agpgart autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hidraw2 hpet iio:device0 iio:device1 iio:device2 input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom vga_arbiter vhost-net vmci zero
    ls /dev/mapper: control
    ls: impossible d'accéder à : Aucun fichier ou dossier de ce type
    =================== df -Th:
    Filesystem Type Size Used Avail Use% Mounted on
    /dev/sda1 ext4 5.4G 4.2G 917M 83% /
    none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
    udev devtmpfs 482M 12K 482M 1% /dev
    tmpfs tmpfs 100M 1.6M 98M 2% /run
    none tmpfs 5.0M 0 5.0M 0% /run/lock
    none tmpfs 497M 80K 497M 1% /run/shm
    none tmpfs 100M 12K 100M 1% /run/user
    /dev/sda5 ext4 4.3G 41M 4.0G 1% /home
    =================== fdisk -l:
    Disk /dev/sda: 10.7 GB, 10737418240 bytes
    255 heads, 63 sectors/track, 1305 cylinders, total 20971520 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: 0x00030cfb
    Device Boot Start End Blocks Id System
    /dev/sda1 * 2048 11718655 5858304 83 Linux
    /dev/sda2 11720702 20969471 4624385 5 Extended
    /dev/sda5 11720704 20969471 4624384 83 Linux
    =================== Suggested repair
    The default repair of the Boot-Repair utility would reinstall the grub2 of sda1 into the MBR of sda.
    Additional repair would be performed: unhide-bootmenu-10s
    =================== User settings
    The settings chosen by the user will not act on the boot.
    pastebinit packages needed
    dpkg-preconfigure: impossible de réouvrir stdin : Aucun fichier ou dossier de ce type

© 2006 - 2015 Paste2.org.
Follow paste2.org on Twitter

Confirmation du format avec :

[ -d /sys/firmware/efi ] && echo "Installé en mode EFI" || echo "Installé en mode classique"
Installé en mode classique

On voit bien que l'installation est faite sur disque ms-dos de manière tout-à-fait classique. Appliquons la technique de Maxire, en l'occurrence, créons une partition efi en tête de disque. Pour ça, utilisons d'abord gparted pour libérer un espace en début de disque :

mini_924154resizep.jpg

A ce stade, on crée la partition efi. J'ai décidé d'utiliser gdisk, et notamment la méthode proposée ici pour être sûr de son format: http://askubuntu.com/questions/84501/ho … -boot-from .

On formate ensuite la nouvelle partition efi en fat32, et on redémarre le pc. Le résumé de tout ça, est ici :

mint@mint ~ $ sudo apt-get install gdisk
mint@mint ~ $ sudo gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.8

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present
***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by
typing 'q' if you don't want to convert your MBR partitions
to GPT format!
***************************************************************

Command (? for help): n
Partition number (2-128, default 2): 
First sector (34-20971486, default = 2048) or {+-}size{KMGTP}: 
Last sector (2048-206847, default = 206847) or {+-}size{KMGTP}: 
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): ef00
Changed type of partition to 'EFI System'
Command (? for help): p
Disk /dev/sda: 20971520 sectors, 10.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 5BA93A47-EACB-4749-8C78-E200DFAF84FF
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 20971486
Partitions will be aligned on 2048-sector boundaries
Total free space is 6077 sectors (3.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1          206848        11718655   5.5 GiB     8300  Linux filesystem
   2            2048          206847   100.0 MiB   EF00  EFI System
   5        11720704        20969471   4.4 GiB     8300  Linux filesystem

Command (? for help): w
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/sda.
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
The operation has completed successfully.

Après redémarrage, on vérifie ce qu'il est passé, et là, surprise, la disque complet est passé spontanément en gpt (donc, pas d'efi sans gpt). Donc la création d'une partition efi convertit au moins partiellement, un disque en gpt.

mint@mint ~ $ sudo parted -l
Model: VMware, VMware Virtual S (scsi)
Disk /dev/sda: 10.7GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number  Start   End     Size    File system  Name              Flags
 2      1049kB  106MB   105MB   fat32        EFI System        boot
 1      106MB   6000MB  5894MB  ext4         Linux filesystem
 5      6001MB  10.7GB  4735MB  ext4         Linux filesystem

Etape suivante, on passe son pc en uefi... et on redémarre sur le live-cd dans ce mode uefi : Refaisons un boot-info pour voir la situation (boot-info après création de la partition efi, depuis live-cd en UEFI):

Paste2

    Create Paste
    Followup Paste
    QR

    Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014]
    ============================= 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.
    sda1: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Linux Mint 17 Qiana
    Boot files: /boot/grub/grub.cfg /etc/fstab
    /boot/grub/i386-pc/core.img
    sda2: __________________________________________________________________________
    File system: vfat
    Boot sector type: FAT32
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:
    sda5: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files:
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 10.7 GB, 10737418240 bytes
    255 heads, 63 sectors/track, 1305 cylinders, total 20971520 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 1 20,971,519 20,971,519 ee GPT
    GUID Partition Table detected.
    Partition Start Sector End Sector # of Sectors System
    /dev/sda1 206,848 11,718,655 11,511,808 Data partition (Linux)
    /dev/sda2 2,048 206,847 204,800 EFI System partition
    /dev/sda5 11,720,704 20,969,471 9,248,768 Data partition (Linux)
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/loop0 squashfs
    /dev/sda1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e ext4
    /dev/sda2 3B94-078C vfat
    /dev/sda5 7dbfd683-72a6-44bb-8b5f-bf3d16122635 ext4
    /dev/sr0 iso9660 Linux Mint 17 Xfce 64-bit
    ========================= "ls -l /dev/disk/by-id" output: ======================
    total 0
    lrwxrwxrwx 1 root root 9 Jan 10 2015 ata-VMware_Virtual_SATA_CDRW_Drive_01000000000000000001 -> ../../sr0
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/loop0 /rofs squashfs (ro,noatime)
    /dev/sr0 /cdrom iso9660 (ro,noatime)
    =========================== sda1/boot/grub/grub.cfg: ===========================
    --------------------------------------------------------------------------------
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
    set have_grubenv=true
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    }
    function recordfail {
    set recordfail=1
    if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    }
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    }
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=fr_FR
    insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ] ; then
    set timeout=-1
    else
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=hidden
    set timeout=0
    # Fallback hidden-timeout code in case the timeout_style feature is
    # unavailable.
    elif sleep --interruptible 0 ; then
    set timeout=0
    fi
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    ### END /etc/grub.d/05_debian_theme ###
    ### BEGIN /etc/grub.d/06_mint_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=white/light-gray
    ### END /etc/grub.d/06_mint_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
    if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
    menuentry 'Linux Mint 17 Xfce 64-bit, 3.13.0-24-generic (/dev/sda1)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    linux /boot/vmlinuz-3.13.0-24-generic root=UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e ro quiet splash $vt_handoff
    initrd /boot/initrd.img-3.13.0-24-generic
    }
    menuentry 'Linux Mint 17 Xfce 64-bit, 3.13.0-24-generic (/dev/sda1) -- recovery mode' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    echo	'Chargement de Linux 3.13.0-24-generic…'
    linux /boot/vmlinuz-3.13.0-24-generic root=UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e ro recovery nomodeset
    echo	'Chargement du disque mémoire initial…'
    initrd /boot/initrd.img-3.13.0-24-generic
    }
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/10_lupin ###
    ### END /etc/grub.d/10_lupin ###
    ### 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_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    knetbsd /boot/memtest86+.elf
    }
    menuentry 'Memory test (memtest86+, serial console 115200)' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    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 ###
    --------------------------------------------------------------------------------
    =============================== sda1/etc/fstab: ================================
    --------------------------------------------------------------------------------
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    # / was on /dev/sda1 during installation
    UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e / ext4 errors=remount-ro 0 1
    # /home was on /dev/sda5 during installation
    UUID=7dbfd683-72a6-44bb-8b5f-bf3d16122635 /home ext4 defaults 0 2
    /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
    --------------------------------------------------------------------------------
    =============================== StdErr Messages: ===============================
    File descriptor 9 (/proc/4264/mounts) leaked on lvs invocation. Parent PID 11974: bash
    File descriptor 14 (/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache) leaked on lvs invocation. Parent PID 11974: bash
    File descriptor 63 (pipe:[44395]) leaked on lvs invocation. Parent PID 11974: bash
    No volume groups found
    ADDITIONAL INFORMATION :
    =================== log of boot-info 2015-01-10__11h12 ===================
    boot-info version : 4ppa32
    boot-sav version : 4ppa32
    glade2script version : 3.2.2~ppa47~saucy
    boot-sav-extra version :
    boot-info is executed in live-session (Linux Mint 17 Qiana, qiana, LinuxMint, x86_64)
    CPU op-mode(s): 32-bit, 64-bit
    BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/linuxmint.seed boot=casper iso-scan/filename= quiet splash --
    ls: cannot access /home/usr/.config: No such file or directory
    WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
    =================== os-prober:
    /dev/sda1:Linux Mint 17 Qiana (17):LinuxMint:linux
    =================== blkid:
    /dev/loop0: TYPE="squashfs"
    /dev/sda1: UUID="f6229183-92ad-4e1e-98cd-8a2ff0ee789e" TYPE="ext4"
    /dev/sda2: UUID="3B94-078C" TYPE="vfat"
    /dev/sda5: UUID="7dbfd683-72a6-44bb-8b5f-bf3d16122635" TYPE="ext4"
    /dev/sr0: LABEL="Linux Mint 17 Xfce 64-bit" TYPE="iso9660"
    1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
    WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util sfdisk 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.
    =================== sda1/etc/grub.d/ :
    drwxr-xr-x 2 root root 4096 Jun 23 2014 grub.d
    total 88
    -rwxr-xr-x 1 root root 9424 Apr 11 2014 00_header
    -rwxr-xr-x 1 root root 6058 Apr 10 2014 05_debian_theme
    -rwxr-xr-x 1 root root 1183 Oct 23 2011 06_mint_theme
    -rwxr-xr-x 1 root root 7500 Jan 10 10:21 10_linux
    -rwxr-xr-x 1 root root 10634 Oct 1 2012 10_lupin
    -rwxr-xr-x 1 root root 10412 Apr 11 2014 20_linux_xen
    -rwxr-xr-x 1 root root 1992 Mar 12 2014 20_memtest86+
    -rwxr-xr-x 1 root root 11692 Apr 11 2014 30_os-prober
    -rwxr-xr-x 1 root root 1416 Apr 11 2014 30_uefi-firmware
    -rwxr-xr-x 1 root root 214 Apr 11 2014 40_custom
    -rwxr-xr-x 1 root root 216 Apr 11 2014 41_custom
    -rw-r--r-- 1 root root 483 Apr 11 2014 README
    =================== sda1/etc/default/grub :
    # If you change this file, run 'update-grub' afterwards to update
    # /boot/grub/grub.cfg.
    # For full documentation of the options in this file, see:
    # info -f grub -n 'Simple configuration'
    GRUB_DEFAULT=0
    GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""
    # Uncomment to enable BadRAM filtering, modify to suit your needs
    # This works with Linux (no patch required) and with any kernel that obtains
    # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
    #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
    # Uncomment to disable graphical terminal (grub-pc only)
    #GRUB_TERMINAL=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=640x480
    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    #GRUB_DISABLE_RECOVERY="true"
    # Uncomment to get a beep at grub start
    #GRUB_INIT_TUNE="480 440 1"
    =================== sda1recordfail=1/grub/grubenv :
    recordfail=1
    ls /sys/firmware/efi/vars : RTC-378d7b65-8da9-4773-b6e4-a47826a833e1,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,new_var,MTC-eb704011-1402-11d3-8e77-00a0c969723b,MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,del_var,ConsoleOutMode-793d9786-44dc-4709-b57f-85b8e8fdbfd2,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0003-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c,
    Please report this message to boot.repair@gmail.com
    =================== UEFI/Legacy mode:
    BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
    SecureBoot maybe enabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)
    =================== PARTITIONS & DISKS:
    sda1 : sda, not-sepboot, grubenv-ng grub2, grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
    sda2 : 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, /mnt/boot-sav/sda2.
    sda5 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda5.
    sda : GPT, no-BIOS_boot, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
    =================== parted -l:
    Model: VMware, VMware Virtual S (scsi)
    Disk /dev/sda: 10.7GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Number Start End Size File system Name Flags
    2 1049kB 106MB 105MB fat32 EFI System boot
    1 106MB 6000MB 5894MB ext4 Linux filesystem
    5 6001MB 10.7GB 4735MB ext4 Linux filesystem
    Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
    Model: NECVMWar VMware SATA CD01 (scsi)
    Disk /dev/sr0: 1387MB
    Sector size (logical/physical): 2048B/2048B
    Partition Table: mac
    Number Start End Size File system Name Flags
    1 8192B 24.6kB 16.4kB Apple
    2 139MB 149MB 9306kB EFI
    =================== parted -lm:
    BYT;
    /dev/sda:10.7GB:scsi:512:512:gpt:VMware, VMware Virtual S;
    2:1049kB:106MB:105MB:fat32:EFI System:boot;
    1:106MB:6000MB:5894MB:ext4:Linux filesystem:;
    5:6001MB:10.7GB:4735MB:ext4:Linux filesystem:;
    Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
    BYT;
    /dev/sr0:1387MB:scsi:2048:2048:mac:NECVMWar VMware SATA CD01;
    1:8192B:24.6kB:16.4kB::Apple:;
    2:139MB:149MB:9306kB::EFI:;
    =================== mount:
    /cow on / type overlayfs (rw)
    proc on /proc type proc (rw,noexec,nosuid,nodev)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    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)
    /dev/sr0 on /cdrom type iso9660 (ro,noatime)
    /dev/loop0 on /rofs type squashfs (ro,noatime)
    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)
    none on /sys/firmware/efi/efivars type efivarfs (rw)
    tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
    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)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
    systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
    gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=mint)
    /dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw)
    /dev/sda2 on /mnt/boot-sav/sda2 type vfat (rw)
    /dev/sda5 on /mnt/boot-sav/sda5 type ext4 (rw)
    =================== ls:
    /sys/block/fd0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
    /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda5 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 power queue range removable ro size slaves stat subsystem trace uevent
    /dev (filtered): agpgart autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hidraw2 hpet iio:device0 iio:device1 iio:device2 input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom vga_arbiter vhost-net vmci zero
    ls /dev/mapper: control
    =================== hexdump -n512 -C /dev/sda2
    00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 01 20 00 |.X.mkfs.fat... .|
    00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
    00000020 00 20 03 00 28 06 00 00 00 00 00 00 02 00 00 00 |. ..(...........|
    00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    00000040 80 01 29 8c 07 94 3b 20 20 20 20 20 20 20 20 20 |..)...; |
    00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
    00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
    00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
    00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
    00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
    000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
    000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
    000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
    000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
    000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
    00000200
    WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
    =================== df -Th:
    Filesystem Type Size Used Avail Use% Mounted on
    /cow overlayfs 497M 181M 317M 37% /
    udev devtmpfs 486M 12K 486M 1% /dev
    tmpfs tmpfs 100M 1.6M 98M 2% /run
    /dev/sr0 iso9660 1.3G 1.3G 0 100% /cdrom
    /dev/loop0 squashfs 1.3G 1.3G 0 100% /rofs
    none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
    tmpfs tmpfs 497M 12K 497M 1% /tmp
    none tmpfs 5.0M 0 5.0M 0% /run/lock
    none tmpfs 497M 80K 497M 1% /run/shm
    none tmpfs 100M 16K 100M 1% /run/user
    /dev/sda1 ext4 5.3G 4.2G 823M 84% /mnt/boot-sav/sda1
    /dev/sda2 vfat 99M 512 99M 1% /mnt/boot-sav/sda2
    /dev/sda5 ext4 4.3G 44M 4.0G 2% /mnt/boot-sav/sda5
    =================== fdisk -l:
    Disk /dev/sda: 10.7 GB, 10737418240 bytes
    255 heads, 63 sectors/track, 1305 cylinders, total 20971520 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/sda1 1 20971519 10485759+ ee GPT
    (debug) reinstall grub2 place-in-MBR no-BIOS_boot (sda1)
    =================== Suggested repair
    The default repair of the Boot-Repair utility would reinstall the grub2 of sda1 into the MBR of sda.
    Additional repair would be performed: unhide-bootmenu-10s
    =================== Blockers in case of suggested repair
    GPT detected. Please create a BIOS-Boot partition (>1MB, unformatted filesystem, bios_grub flag). This can be performed via tools such as Gparted. Then try again.
    =================== Advice in case of suggested repair
    The boot of your PC is in EFI mode, but no EFI partition was detected. You may want to retry after creating a EFI partition (FAT32, 100MB~250MB, start of the disk, boot flag).
    Do you want to continue?
    =================== User settings
    The settings chosen by the user will not act on the boot.
    pastebinit packages needed
    W: Failed to fetch cdrom://Linux Mint 17 _Qiana_ - Release amd64 20140623/dists/trusty/contrib/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    W: Failed to fetch cdrom://Linux Mint 17 _Qiana_ - Release amd64 20140623/dists/trusty/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    W: Failed to fetch cdrom://Linux Mint 17 _Qiana_ - Release amd64 20140623/dists/trusty/non-free/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    dpkg-preconfigure: unable to re-open stdin: No such file or directory

© 2006 - 2015 Paste2.org.
Follow paste2.org on Twitter

On voit bien que le live-cd est exécuté en uefi. La réparation proposée par boot-info n'étant pas satisfaisante (il est visiblement déstabilisé par la structure du disque), on va faire en sorte de rendre les choses plus acceptables en démarrant sur le disque dur grâce à Super-Grub2 disk.

J'en profite pour modifier le fichier /etc/fstab pour ajouter la partition efi après un sudo blkid

essai@essai-virtual-machine ~ $ sudo blkid
[sudo] password for essai: 
/dev/sda1: UUID="f6229183-92ad-4e1e-98cd-8a2ff0ee789e" TYPE="ext4" 
/dev/sda2: UUID="3B94-078C" TYPE="vfat" 
/dev/sda5: UUID="7dbfd683-72a6-44bb-8b5f-bf3d16122635" TYPE="ext4" 
/dev/sr0: LABEL="ISOIMAGE" TYPE="iso9660" 

J'ajoute donc la ligne suivante,

UUID=3B94-078C	/boot/efi	vfat	defaults	0	1

Redémarrage de l'ensemble avec SG2D, afin que tout soit monté correctement :

Un grub-install ne conduisant à rien, je choisis d'emprunter une commande proposée par kalunux, en la simplifiant :

sudo apt-get install --reinstall -y --force-yes grub-efi-amd64-signed shim-signed 

(initialement, j'ai entré sudo apt-get install --reinstall -y --force-yes grub-efi-amd64-signed shim-signed linux-signed-generic linux-headers-generic, ce qui a provoqué une erreur ultérieure au démarrage de Mint, et j'ai dû supprimer le noyau mal installé pour revenir à quelque chose de propre).

Dans le doute, un petit :

essai@essai-virtual-machine ~ $ sudo grub-install
Installing for x86_64-efi platform.
Installation terminée, sans erreur.
essai@essai-virtual-machine ~ $ 
essai@essai-virtual-machine ~ $ sudo update-grub

Les fichiers se sont correctement inscrits dans la partition. Au redémarrage, Mint se lance en UEFI, et le disque est bel et bien passé en gpt. Situation finale (boot-info de la situation aboutie):

Paste2

    Create Paste
    Followup Paste
    QR

    Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014]
    ============================= 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.
    sda1: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Linux Mint 17 Qiana
    Boot files: /boot/grub/grub.cfg /etc/fstab
    /boot/grub/i386-pc/core.img
    sda2: __________________________________________________________________________
    File system: vfat
    Boot sector type: FAT32
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /EFI/ubuntu/MokManager.efi /EFI/ubuntu/grubx64.efi
    /EFI/ubuntu/shimx64.efi
    sda5: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files:
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 10.7 GB, 10737418240 bytes
    255 heads, 63 sectors/track, 1305 cylinders, total 20971520 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 1 20,971,519 20,971,519 ee GPT
    GUID Partition Table detected.
    Partition Start Sector End Sector # of Sectors System
    /dev/sda1 206,848 11,718,655 11,511,808 Data partition (Linux)
    /dev/sda2 2,048 206,847 204,800 EFI System partition
    /dev/sda5 11,720,704 20,969,471 9,248,768 Data partition (Linux)
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/sda1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e ext4
    /dev/sda2 3B94-078C vfat
    /dev/sda5 7dbfd683-72a6-44bb-8b5f-bf3d16122635 ext4
    /dev/sr0 iso9660 ISOIMAGE
    ========================= "ls -l /dev/disk/by-id" output: ======================
    total 0
    lrwxrwxrwx 1 root root 9 Jan 10 15:06 ata-VMware_Virtual_SATA_CDRW_Drive_01000000000000000001 -> ../../sr0
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/sda1 / ext4 (rw,errors=remount-ro)
    /dev/sda2 /boot/efi vfat (rw)
    /dev/sda5 /home ext4 (rw)
    =========================== sda1/boot/grub/grub.cfg: ===========================
    --------------------------------------------------------------------------------
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
    set have_grubenv=true
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    }
    function recordfail {
    set recordfail=1
    if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    }
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    }
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=fr_FR
    insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ] ; then
    set timeout=-1
    else
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
    set timeout=10
    fi
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    ### END /etc/grub.d/05_debian_theme ###
    ### BEGIN /etc/grub.d/06_mint_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=white/light-gray
    ### END /etc/grub.d/06_mint_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
    if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
    menuentry 'Linux Mint 17 Xfce 64-bit, 3.13.0-24-generic (/dev/sda1)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    linux /boot/vmlinuz-3.13.0-24-generic root=UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e ro quiet splash $vt_handoff
    initrd /boot/initrd.img-3.13.0-24-generic
    }
    menuentry 'Linux Mint 17 Xfce 64-bit, 3.13.0-24-generic (/dev/sda1) -- recovery mode' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    echo	'Chargement de Linux 3.13.0-24-generic…'
    linux /boot/vmlinuz-3.13.0-24-generic root=UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e ro recovery nomodeset
    echo	'Chargement du disque mémoire initial…'
    initrd /boot/initrd.img-3.13.0-24-generic
    }
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/10_lupin ###
    ### END /etc/grub.d/10_lupin ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    ### END /etc/grub.d/30_uefi-firmware ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    --------------------------------------------------------------------------------
    =============================== sda1/etc/fstab: ================================
    --------------------------------------------------------------------------------
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    # / was on /dev/sda1 during installation
    UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e / ext4 errors=remount-ro 0 1
    # /home was on /dev/sda5 during installation
    UUID=7dbfd683-72a6-44bb-8b5f-bf3d16122635 /home ext4 defaults 0 2
    /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
    UUID=3B94-078C /boot/efi vfat defaults 0 1
    --------------------------------------------------------------------------------
    =============================== StdErr Messages: ===============================
    File descriptor 9 (/proc/2500/mounts) leaked on lvs invocation. Parent PID 8882: bash
    File descriptor 63 (pipe:[18575]) leaked on lvs invocation. Parent PID 8882: bash
    No volume groups found
    ADDITIONAL INFORMATION :
    =================== log of boot-info 2015-01-10__15h08 ===================
    boot-info version : 4ppa32
    boot-sav version : 4ppa32
    glade2script version : 3.2.2~ppa47~saucy
    boot-sav-extra version :
    File descriptor 9 (/proc/2500/mounts) leaked on lvs invocation. Parent PID 4097: /bin/sh
    No volume groups found
    boot-info is executed in installed-session (Linux Mint 17 Qiana, qiana, LinuxMint, x86_64)
    CPU op-mode(s): 32-bit, 64-bit
    BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e ro quiet splash vt.handoff=7
    WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
    =================== os-prober:
    /dev/sda1:L'OS actuellement utilisé - Linux Mint 17 Qiana CurrentSession:linux
    =================== blkid:
    /dev/sda1: UUID="f6229183-92ad-4e1e-98cd-8a2ff0ee789e" TYPE="ext4"
    /dev/sda2: UUID="3B94-078C" TYPE="vfat"
    /dev/sda5: UUID="7dbfd683-72a6-44bb-8b5f-bf3d16122635" TYPE="ext4"
    /dev/sr0: LABEL="ISOIMAGE" TYPE="iso9660"
    1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
    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/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
    =================== /etc/grub.d/ :
    drwxr-xr-x 2 root root 4096 janv. 10 13:10 grub.d
    total 88
    -rwxr-xr-x 1 root root 9424 avril 11 2014 00_header
    -rwxr-xr-x 1 root root 6058 avril 10 2014 05_debian_theme
    -rwxr-xr-x 1 root root 1183 oct. 23 2011 06_mint_theme
    -rwxr-xr-x 1 root root 7500 janv. 10 15:06 10_linux
    -rwxr-xr-x 1 root root 10634 oct. 1 2012 10_lupin
    -rwxr-xr-x 1 root root 10412 avril 11 2014 20_linux_xen
    -rwxr-xr-x 1 root root 1992 mars 12 2014 20_memtest86+
    -rwxr-xr-x 1 root root 11692 avril 11 2014 30_os-prober
    -rwxr-xr-x 1 root root 1416 avril 11 2014 30_uefi-firmware
    -rwxr-xr-x 1 root root 214 avril 11 2014 40_custom
    -rwxr-xr-x 1 root root 216 avril 11 2014 41_custom
    -rw-r--r-- 1 root root 483 avril 11 2014 README
    =================== /etc/default/grub :
    # If you change this file, run 'update-grub' afterwards to update
    # /boot/grub/grub.cfg.
    # For full documentation of the options in this file, see:
    # info -f grub -n 'Simple configuration'
    GRUB_DEFAULT=0
    #GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""
    # Uncomment to enable BadRAM filtering, modify to suit your needs
    # This works with Linux (no patch required) and with any kernel that obtains
    # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
    #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
    # Uncomment to disable graphical terminal (grub-pc only)
    #GRUB_TERMINAL=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=640x480
    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    #GRUB_DISABLE_RECOVERY="true"
    # Uncomment to get a beep at grub start
    #GRUB_INIT_TUNE="480 440 1"
    /boot/efi detected in the fstab of sda1: UUID=3B94-078C (sda2)
    ls /sys/firmware/efi/vars : RTC-378d7b65-8da9-4773-b6e4-a47826a833e1,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,new_var,MTC-eb704011-1402-11d3-8e77-00a0c969723b,MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,HDDP-fab7e9e1-39dd-4f2b-8408-e20e906cb6de,del_var,ConsoleOutMode-793d9786-44dc-4709-b57f-85b8e8fdbfd2,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0003-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c,
    Veuillez indiquer ce message à boot.repair@gmail.com
    =================== efibootmgr -v
    BootCurrent: 0004
    BootOrder: 0004,0000,0001,0002,0003
    Boot0000* EFI VMware Virtual SCSI Hard Drive (0.0)	ACPI(a0341d0,0)PCI(15,0)PCI(0,0)SCSI(0,0)
    Boot0001* EFI VMware Virtual SATA CDROM Drive (1.0)	ACPI(a0341d0,0)PCI(11,0)PCI(4,0)03120a00010000000000
    Boot0002* EFI Network ACPI(a0341d0,0)PCI(16,0)PCI(0,0)MAC(000c29b06483,0)
    Boot0003* EFI Internal Shell (Unsupported option)	MM(b,3efcb000,3f355fff)
    Boot0004* ubuntu HD(2,800,32000,bcba7235-0924-4df2-95b9-2d862f8be4a9)File(EFIubuntushimx64.efi)
    =================== UEFI/Legacy mode:
    BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
    SecureBoot maybe enabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)
    =================== PARTITIONS & DISKS:
    sda1 : sda, not-sepboot, grubenv-ok grub2, signed grub-pc grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, .
    sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is-correct-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /boot/efi.
    sda5 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /home.
    sda : GPT, no-BIOS_boot, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
    =================== parted -l:
    Model: VMware, VMware Virtual S (scsi)
    Disk /dev/sda: 10.7GB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Number Start End Size File system Name Flags
    2 1049kB 106MB 105MB fat32 EFI System boot
    1 106MB 6000MB 5894MB ext4 Linux filesystem
    5 6001MB 10.7GB 4735MB ext4 Linux filesystem
    Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
    Error: Can't have a partition outside the disk!
    =================== parted -lm:
    BYT;
    /dev/sda:10.7GB:scsi:512:512:gpt:VMware, VMware Virtual S;
    2:1049kB:106MB:105MB:fat32:EFI System:boot;
    1:106MB:6000MB:5894MB:ext4:Linux filesystem:;
    5:6001MB:10.7GB:4735MB:ext4:Linux filesystem:;
    Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
    Error: Can't have a partition outside the disk!
    =================== mount:
    /dev/sda1 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)
    none on /sys/firmware/efi/efivars type efivarfs (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)
    /dev/sda5 on /home type ext4 (rw)
    /dev/sda2 on /boot/efi type vfat (rw)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
    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=essai)
    =================== ls:
    /sys/block/fd0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
    /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda5 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 power queue range removable ro size slaves stat subsystem trace uevent
    /dev (filtered): agpgart autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hidraw2 hpet iio:device0 iio:device1 iio:device2 input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom vga_arbiter vhost-net vmci zero
    ls /dev/mapper: control
    ls: impossible d'accéder à : Aucun fichier ou dossier de ce type
    =================== hexdump -n512 -C /dev/sda2
    00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 01 20 00 |.X.mkfs.fat... .|
    00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
    00000020 00 20 03 00 28 06 00 00 00 00 00 00 02 00 00 00 |. ..(...........|
    00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    00000040 80 01 29 8c 07 94 3b 20 20 20 20 20 20 20 20 20 |..)...; |
    00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
    00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
    00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
    00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
    00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
    000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
    000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
    000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
    000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
    000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
    00000200
    WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
    =================== df -Th:
    Filesystem Type Size Used Avail Use% Mounted on
    /dev/sda1 ext4 5.3G 4.4G 604M 89% /
    none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
    udev devtmpfs 482M 12K 482M 1% /dev
    tmpfs tmpfs 100M 1.6M 98M 2% /run
    none tmpfs 5.0M 0 5.0M 0% /run/lock
    none tmpfs 497M 80K 497M 1% /run/shm
    none tmpfs 100M 12K 100M 1% /run/user
    /dev/sda5 ext4 4.3G 53M 4.0G 2% /home
    /dev/sda2 vfat 99M 3.4M 96M 4% /boot/efi
    =================== fdisk -l:
    Disk /dev/sda: 10.7 GB, 10737418240 bytes
    255 heads, 63 sectors/track, 1305 cylinders, total 20971520 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/sda1 1 20971519 10485759+ ee GPT
    Partition outside the disk détecté.
    =================== Suggested repair
    The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sda1, using the following options: sda2/boot/efi,
    Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
    =================== User settings
    The settings chosen by the user will not act on the boot.

© 2006 - 2015 Paste2.org.
Follow paste2.org on Twitter

Il ne me reste plus qu'à trouver comment virer les traces inutiles  de grub dans le mbr et de tenter la même manipulation avec un Windows.

Dernière modification par ikewdu (Le 10/01/2015, à 16:26)

Hors ligne

#16 Le 10/01/2015, à 17:12

Bougron

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Bonsoir
Dans la réparation recommandée, on voit

Boot-repair a écrit :

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

Il semble  que la réparation additionnelle fix-windows-boot n'est pas débrayable.
Si je ne me trompe pas c'est celle qui renomme  le fichier de boot windows et le remplace par le fichier de boot  de ubuntu.
Celle action  semble actuellement déconseillée par malbo lui-même !   Ainsi pour ne pas la subir, je viens de  proposer une  réinstallation complète  après suppression de la partition bios-boot qui avait bien été créée. ( http://forum.ubuntu-fr.org/viewtopic.ph … p18961501)  Moins de 2 heures après cela bootait correctement

Dernière modification par Bougron (Le 10/01/2015, à 18:06)

Hors ligne

#17 Le 10/01/2015, à 17:45

kalunux

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Bonsoir smile

Ok ikewdu Yes !!
Maintenant si tu veux bien, fait un essai en convertissant cette table au format "msdos" via "gdisk" pour avoir confirmation du fonctionnement "EFI" STP.

Pour nettoyer le MBR essaye cette commande :

grub-install --recheck

Dernière modification par kalunux (Le 10/01/2015, à 17:49)

Hors ligne

#18 Le 11/01/2015, à 07:49

ikewdu

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Re,
Là, je manque un peu de temps, mais je vais faire quelques essais durant la semaine pour voir comment ce disque hybride supporte les modifications.

Edit. En tout cas, un premier constat (et je n'aboutis pas au même résultat que Maxire) : le passage du bios en legacy ne permet plus de booter, même si un grub2 est inscrit dans le mbr. Le bios de vmware ne reconnaît pas le disque dur comme quelque chose de bootable (écran noir + tiret). Donc, ma conclusion est que le bios en legacy veut obligatoirement un "pur" disque mbr, et le simple ajout de la partition efi a visiblement rendu tout démarrage impossible.

Dernière modification par ikewdu (Le 11/01/2015, à 14:44)

Hors ligne

#19 Le 11/01/2015, à 14:17

ikewdu

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Suite... retour en arrière.

S'il est sans grand risque de passer un disque dur de mbr vers gpt en ajoutant une partition efi, la manipulation inverse est une autre paire de manches. Il ne sera pas prudent de la faire directement si le disque est originellement en gpt. D'où les avertissements du concepteur de gdisk :

http://www.rodsbooks.com/gdisk/mbr2gpt.html

Donc, j'ai commencé par des solutions de contournement:

- suppression de la partition efi ==> le disque conserve le format gpt.
- suppression efi + option "zap" de gdisk (wipe gpt et conserve protective mbr) ==> disque illisible. Heureusement, j'ai pris mes précautions en faisant une sauvegarde de la table de partitions.

On constate que le gpt "s'incruste" et empêche d'utiliser le pc en legacy, tant qu'on est dans ce format.

Donc, il faut utiliser les grands moyens, à savoir la conversion de disque proposée par gdisk : option r, puis g.

Attention, la manipulation n'est pas sans risque car chaque partition doit être précédée d'un secteur libre, et il ne faut pas que le nombre de 4 partitions soit dépassé. Dans mon cas, les deux conditions sont respectées, puisque je viens du mbr.

Donc, démarrage de Mint installé avec SG2D, en mode legacy :

essai@essai-virtual-machine ~ $ [ -d /sys/firmware/efi ] && echo "Installé en mode EFI" || echo "Installé en mode classique"
Installé en mode classique

Lancement de gdisk, option "r" puis "g". On valide par "w" malgré les avertissements du danger . On relance tout ça avec SG2D et on fait le point par un :

essai@essai-virtual-machine ~ $ sudo parted -l
[sudo] password for essai: 
Modèle: VMware, VMware Virtual S (scsi)
Disque /dev/sda : 10,7GB
Taille des secteurs (logiques/physiques): 512B/512B
Table de partitions : msdos

Numéro  Début   Fin     Taille  Type      Système de fichiers  Fanions
 3      1048kB  106MB   105MB   extended                       lba
 5      1049kB  106MB   105MB   logical   fat32
 1      106MB   6000MB  5894MB  primary   ext4
 2      6000MB  10,6GB  4633MB  primary   ext4

La conversion a bizarrement ajouté une partition étendue... pas grave, on vire tout cela : on la supprime et on supprime l'ex partition efi , on ajoute le drapeau boot sur la partition / pour être "propre":

essai@essai-virtual-machine ~ $ sudo parted -l
[sudo] password for essai: 
Modèle: VMware, VMware Virtual S (scsi)
Disque /dev/sda : 10,7GB
Taille des secteurs (logiques/physiques): 512B/512B
Table de partitions : msdos

Numéro  Début   Fin     Taille  Type     Système de fichiers  Fanions
 1      106MB   6000MB  5894MB  primary  ext4                 démarrage
 2      6000MB  10,6GB  4633MB  primary  ext4

Là, ça devient plutôt pas mal. On réinstalle grub par :

essai@essai-virtual-machine ~ $ sudo grub-install /dev/sda
Installing for i386-pc platform.
Installation terminée, sans erreur.
essai@essai-virtual-machine ~ $sudo grub-install
(...) 
essai@essai-virtual-machine ~ $ sudo update-grub
Création du fichier de configuration GRUB…
Found linux image: /boot/vmlinuz-3.13.0-24-generic
Found initrd image: /boot/initrd.img-3.13.0-24-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
  No volume groups found
fait

On est revenu à un Ubuntu installé en legacy. Le dernier rapport grub-info pour confirmer :

    Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014]
    ============================= Boot Info Summary: ===============================
    => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for (,msdos1)/boot/grub.
    sda1: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Linux Mint 17 Qiana
    Boot files: /boot/grub/grub.cfg /etc/fstab
    /boot/grub/i386-pc/core.img
    sda2: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files:
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 10.7 GB, 10737418240 bytes
    255 heads, 63 sectors/track, 1305 cylinders, total 20971520 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 * 206,848 11,718,655 11,511,808 83 Linux
    /dev/sda2 11,718,656 20,766,719 9,048,064 83 Linux
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/sda1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e ext4
    /dev/sda2 7dbfd683-72a6-44bb-8b5f-bf3d16122635 ext4
    /dev/sr0 iso9660 ISOIMAGE
    ========================= "ls -l /dev/disk/by-id" output: ======================
    total 0
    lrwxrwxrwx 1 root root 9 Jan 11 14:09 ata-VMware_Virtual_SATA_CDRW_Drive_01000000000000000001 -> ../../sr0
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/sda1 / ext4 (rw,errors=remount-ro)
    /dev/sda2 /home ext4 (rw)
    =========================== sda1/boot/grub/grub.cfg: ===========================
    --------------------------------------------------------------------------------
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
    set have_grubenv=true
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    }
    function recordfail {
    set recordfail=1
    if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    }
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    }
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=fr_FR
    insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ] ; then
    set timeout=-1
    else
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
    set timeout=10
    fi
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    ### END /etc/grub.d/05_debian_theme ###
    ### BEGIN /etc/grub.d/06_mint_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=white/light-gray
    ### END /etc/grub.d/06_mint_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
    if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
    menuentry 'Linux Mint 17 Xfce 64-bit, 3.13.0-24-generic (/dev/sda1)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    linux /boot/vmlinuz-3.13.0-24-generic root=UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e ro quiet splash $vt_handoff
    initrd /boot/initrd.img-3.13.0-24-generic
    }
    menuentry 'Linux Mint 17 Xfce 64-bit, 3.13.0-24-generic (/dev/sda1) -- recovery mode' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    echo	'Chargement de Linux 3.13.0-24-generic…'
    linux /boot/vmlinuz-3.13.0-24-generic root=UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e ro recovery nomodeset
    echo	'Chargement du disque mémoire initial…'
    initrd /boot/initrd.img-3.13.0-24-generic
    }
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/10_lupin ###
    ### END /etc/grub.d/10_lupin ###
    ### 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_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    knetbsd /boot/memtest86+.elf
    }
    menuentry 'Memory test (memtest86+, serial console 115200)' {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    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 ###
    --------------------------------------------------------------------------------
    =============================== sda1/etc/fstab: ================================
    --------------------------------------------------------------------------------
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    # / was on /dev/sda1 during installation
    UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e / ext4 errors=remount-ro 0 1
    # /home was on /dev/sda5 during installation
    UUID=7dbfd683-72a6-44bb-8b5f-bf3d16122635 /home ext4 defaults 0 2
    /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
    UUID=3B94-078C /boot/efi vfat defaults 0 1
    --------------------------------------------------------------------------------
    =============================== StdErr Messages: ===============================
    cat: write error: Broken pipe
    File descriptor 9 (/proc/2407/mounts) leaked on lvs invocation. Parent PID 8441: bash
    File descriptor 63 (pipe:[18381]) leaked on lvs invocation. Parent PID 8441: bash
    No volume groups found
    ADDITIONAL INFORMATION :
    =================== log of boot-info 2015-01-11__14h26 ===================
    boot-info version : 4ppa32
    boot-sav version : 4ppa32
    glade2script version : 3.2.2~ppa47~saucy
    boot-sav-extra version :
    File descriptor 9 (/proc/2407/mounts) leaked on lvs invocation. Parent PID 4000: /bin/sh
    No volume groups found
    boot-info is executed in installed-session (Linux Mint 17 Qiana, qiana, LinuxMint, x86_64)
    CPU op-mode(s): 32-bit, 64-bit
    BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e ro quiet splash vt.handoff=7
    =================== os-prober:
    /dev/sda1:L'OS actuellement utilisé - Linux Mint 17 Qiana CurrentSession:linux
    =================== blkid:
    /dev/sda1: UUID="f6229183-92ad-4e1e-98cd-8a2ff0ee789e" TYPE="ext4"
    /dev/sda2: UUID="7dbfd683-72a6-44bb-8b5f-bf3d16122635" TYPE="ext4"
    /dev/sr0: LABEL="ISOIMAGE" TYPE="iso9660"
    1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
    =================== /etc/grub.d/ :
    drwxr-xr-x 2 root root 4096 janv. 10 13:10 grub.d
    total 88
    -rwxr-xr-x 1 root root 9424 avril 11 2014 00_header
    -rwxr-xr-x 1 root root 6058 avril 10 2014 05_debian_theme
    -rwxr-xr-x 1 root root 1183 oct. 23 2011 06_mint_theme
    -rwxr-xr-x 1 root root 7500 janv. 11 14:11 10_linux
    -rwxr-xr-x 1 root root 10634 oct. 1 2012 10_lupin
    -rwxr-xr-x 1 root root 10412 avril 11 2014 20_linux_xen
    -rwxr-xr-x 1 root root 1992 mars 12 2014 20_memtest86+
    -rwxr-xr-x 1 root root 11692 avril 11 2014 30_os-prober
    -rwxr-xr-x 1 root root 1416 avril 11 2014 30_uefi-firmware
    -rwxr-xr-x 1 root root 214 avril 11 2014 40_custom
    -rwxr-xr-x 1 root root 216 avril 11 2014 41_custom
    -rw-r--r-- 1 root root 483 avril 11 2014 README
    =================== /etc/default/grub :
    # If you change this file, run 'update-grub' afterwards to update
    # /boot/grub/grub.cfg.
    # For full documentation of the options in this file, see:
    # info -f grub -n 'Simple configuration'
    GRUB_DEFAULT=0
    #GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""
    # Uncomment to enable BadRAM filtering, modify to suit your needs
    # This works with Linux (no patch required) and with any kernel that obtains
    # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
    #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
    # Uncomment to disable graphical terminal (grub-pc only)
    #GRUB_TERMINAL=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=640x480
    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    #GRUB_DISABLE_RECOVERY="true"
    # Uncomment to get a beep at grub start
    #GRUB_INIT_TUNE="480 440 1"
    /boot/efi detected in the fstab of sda1: UUID=3B94-078C ()
    =================== UEFI/Legacy mode:
    This installed-session is not in EFI-mode.
    SecureBoot disabled.
    =================== PARTITIONS & DISKS:
    sda1 : sda, not-sepboot, grubenv-ok grub2, signed grub-pc grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-bad-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, .
    sda2 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /home.
    sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
    =================== parted -l:
    Model: VMware, VMware Virtual S (scsi)
    Disk /dev/sda: 10.7GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Number Start End Size Type File system Flags
    1 106MB 6000MB 5894MB primary ext4 boot
    2 6000MB 10.6GB 4633MB primary ext4
    Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
    Error: Can't have a partition outside the disk!
    =================== parted -lm:
    BYT;
    /dev/sda:10.7GB:scsi:512:512:msdos:VMware, VMware Virtual S;
    1:106MB:6000MB:5894MB:ext4::boot;
    2:6000MB:10.6GB:4633MB:ext4::;
    Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
    Error: Can't have a partition outside the disk!
    =================== mount:
    /dev/sda1 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)
    /dev/sda2 on /home type ext4 (rw)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
    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=essai)
    =================== ls:
    /sys/block/fd0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
    /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 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 power queue range removable ro size slaves stat subsystem trace uevent
    /dev (filtered): agpgart autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hidraw2 hpet iio:device0 iio:device1 iio:device2 input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom vga_arbiter vhost-net vmci zero
    ls /dev/mapper: control
    ls: impossible d'accéder à : Aucun fichier ou dossier de ce type
    =================== df -Th:
    Filesystem Type Size Used Avail Use% Mounted on
    /dev/sda1 ext4 5.3G 4.5G 580M 89% /
    none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
    udev devtmpfs 482M 12K 482M 1% /dev
    tmpfs tmpfs 100M 1.6M 98M 2% /run
    none tmpfs 5.0M 0 5.0M 0% /run/lock
    none tmpfs 497M 80K 497M 1% /run/shm
    none tmpfs 100M 12K 100M 1% /run/user
    /dev/sda2 ext4 4.2G 58M 3.9G 2% /home
    =================== fdisk -l:
    Disk /dev/sda: 10.7 GB, 10737418240 bytes
    255 heads, 63 sectors/track, 1305 cylinders, total 20971520 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: 0x00074fc0
    Device Boot Start End Blocks Id System
    /dev/sda1 * 206848 11718655 5755904 83 Linux
    /dev/sda2 11718656 20766719 4524032 83 Linux
    Partition outside the disk détecté.
    =================== Suggested repair
    The default repair of the Boot-Repair utility would purge (in order to) and reinstall the grub2 of sda1 into the MBR of sda.
    Additional repair would be performed: unhide-bootmenu-10s
    =================== User settings
    The settings chosen by the user will not act on the boot.

Conclusion. On peut (dans une certaine mesure) faire passer un Ubuntu de Legacy ( + mbr)  vers UEFI (+ gpt) sans réinstaller, et on peut même revenir en arrière. Mais je n'ai absolument pas réussi à ajouter une partition efi sans faire basculer automatiquement le disque de mbr vers gpt.

Dernière modification par ikewdu (Le 11/01/2015, à 15:07)

Hors ligne

#20 Le 11/01/2015, à 15:16

kalunux

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Re

Je ne comprend pas pourquoi tu as supprimé cette partition "EFI", alors que le but de ce test été de faire un test pour avoir confirmation du fonctionnement "EFI" sur table de partition "msdos" ?
Pour les commandes Gdisk il suffisait de demandé et je t'aurais indiqué la manip à suivre.

Hors ligne

#21 Le 11/01/2015, à 15:42

kalunux

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Et pour réponde à ton édite que je nais pas vu :

Ikewdu a écrit :

Edit. En tout cas, un premier constat (et je n'aboutis pas au même résultat que Maxire) : le passage du bios en legacy ne permet plus de booter, même si un grub2 est inscrit dans le mbr. Le bios de vmware ne reconnaît pas le disque dur comme quelque chose de bootable (écran noir + tiret). Donc, ma conclusion est que le bios en legacy veut obligatoirement un "pur" disque mbr, et le simple ajout de la partition efi a visiblement rendu tout démarrage impossible.

Il faut crée une partition BIOS_Boot supplémentaire pour que ça fonctionne aussi en mode Legacy.

Hors ligne

#22 Le 11/01/2015, à 18:23

ikewdu

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Re,

En fait, on n'en a même pas besoin. J'ai la clé du mystère et c'est encore plus simple que ça. Nous faisons tous une confusion (en tout cas c'est mon cas) entre partition efi partitionnée en fat32, et simple partition partitionnée en fat32. Et c'est Windows qui en est responsable :

- W8 en uefi a absolument besoin d'une vraie partition efi formatée en fat32 pour booter. C'est pourquoi les disques durs sont forcément en gpt lorsque le bios est en uefi.
- Grub (et donc Linux) peut se lancer en uefi avec dès lors que les fichiers grub sont installés sur une banale partition fat32, et effectivement, là le pc démarre en UEFI sur un disque ms-dos. Voilà un nouveau boot-info qui prouve qu'avec une simple partition fat32 sur disque ms-dos, ça fonctionne.

Paste2

    Create Paste
    Followup Paste
    QR

    Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014]
    ============================= Boot Info Summary: ===============================
    => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    for (,msdos1)/boot/grub.
    sda1: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Linux Mint 17 Qiana
    Boot files: /boot/grub/grub.cfg /etc/fstab
    /boot/grub/i386-pc/core.img
    sda2: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files:
    sda3: __________________________________________________________________________
    File system: vfat
    Boot sector type: FAT32
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /EFI/ubuntu/MokManager.efi /EFI/ubuntu/grubx64.efi
    /EFI/ubuntu/shimx64.efi
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 10.7 GB, 10737418240 bytes
    255 heads, 63 sectors/track, 1305 cylinders, total 20971520 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 206,848 11,718,655 11,511,808 83 Linux
    /dev/sda2 11,718,656 20,766,719 9,048,064 83 Linux
    /dev/sda3 * 2,048 206,847 204,800 b W95 FAT32
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/sda1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e ext4
    /dev/sda2 7dbfd683-72a6-44bb-8b5f-bf3d16122635 ext4
    /dev/sda3 8F8E-CE3C vfat Boot
    /dev/sr0 iso9660 ISOIMAGE
    ========================= "ls -l /dev/disk/by-id" output: ======================
    total 0
    lrwxrwxrwx 1 root root 9 Jan 11 18:05 ata-VMware_Virtual_SATA_CDRW_Drive_01000000000000000001 -> ../../sr0
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/sda1 / ext4 (rw,errors=remount-ro)
    /dev/sda2 /home ext4 (rw)
    /dev/sda3 /boot/efi vfat (rw)
    =========================== sda1/boot/grub/grub.cfg: ===========================
    --------------------------------------------------------------------------------
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    #
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
    set have_grubenv=true
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    }
    function recordfail {
    set recordfail=1
    if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
    }
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    }
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=fr_FR
    insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ] ; then
    set timeout=-1
    else
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=10
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
    set timeout=10
    fi
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    ### END /etc/grub.d/05_debian_theme ###
    ### BEGIN /etc/grub.d/06_mint_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=white/light-gray
    ### END /etc/grub.d/06_mint_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
    if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
    menuentry 'Linux Mint 17 Xfce 64-bit, 3.13.0-24-generic (/dev/sda1)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    linux /boot/vmlinuz-3.13.0-24-generic root=UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e ro quiet splash $vt_handoff
    initrd /boot/initrd.img-3.13.0-24-generic
    }
    menuentry 'Linux Mint 17 Xfce 64-bit, 3.13.0-24-generic (/dev/sda1) -- recovery mode' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    else
    search --no-floppy --fs-uuid --set=root f6229183-92ad-4e1e-98cd-8a2ff0ee789e
    fi
    echo	'Chargement de Linux 3.13.0-24-generic…'
    linux /boot/vmlinuz-3.13.0-24-generic root=UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e ro recovery nomodeset
    echo	'Chargement du disque mémoire initial…'
    initrd /boot/initrd.img-3.13.0-24-generic
    }
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/10_lupin ###
    ### END /etc/grub.d/10_lupin ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    ### END /etc/grub.d/30_uefi-firmware ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    --------------------------------------------------------------------------------
    =============================== sda1/etc/fstab: ================================
    --------------------------------------------------------------------------------
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    # / was on /dev/sda1 during installation
    UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e / ext4 errors=remount-ro 0 1
    # /home was on /dev/sda5 during installation
    UUID=7dbfd683-72a6-44bb-8b5f-bf3d16122635 /home ext4 defaults 0 2
    /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
    UUID=8F8E-CE3C /boot/efi vfat defaults 0 1
    --------------------------------------------------------------------------------
    =============================== StdErr Messages: ===============================
    cat: write error: Broken pipe
    File descriptor 9 (/proc/2317/mounts) leaked on lvs invocation. Parent PID 8770: bash
    File descriptor 63 (pipe:[17880]) leaked on lvs invocation. Parent PID 8770: bash
    No volume groups found
    ADDITIONAL INFORMATION :
    =================== log of boot-info 2015-01-11__18h06 ===================
    boot-info version : 4ppa32
    boot-sav version : 4ppa32
    glade2script version : 3.2.2~ppa47~saucy
    boot-sav-extra version :
    File descriptor 9 (/proc/2317/mounts) leaked on lvs invocation. Parent PID 3919: /bin/sh
    No volume groups found
    boot-info is executed in installed-session (Linux Mint 17 Qiana, qiana, LinuxMint, x86_64)
    CPU op-mode(s): 32-bit, 64-bit
    BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=f6229183-92ad-4e1e-98cd-8a2ff0ee789e ro quiet splash vt.handoff=7
    =================== os-prober:
    /dev/sda1:L'OS actuellement utilisé - Linux Mint 17 Qiana CurrentSession:linux
    =================== blkid:
    /dev/sda1: UUID="f6229183-92ad-4e1e-98cd-8a2ff0ee789e" TYPE="ext4"
    /dev/sda2: UUID="7dbfd683-72a6-44bb-8b5f-bf3d16122635" TYPE="ext4"
    /dev/sda3: LABEL="Boot" UUID="8F8E-CE3C" TYPE="vfat"
    /dev/sr0: LABEL="ISOIMAGE" TYPE="iso9660"
    1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
    =================== /etc/grub.d/ :
    drwxr-xr-x 2 root root 4096 janv. 10 13:10 grub.d
    total 88
    -rwxr-xr-x 1 root root 9424 avril 11 2014 00_header
    -rwxr-xr-x 1 root root 6058 avril 10 2014 05_debian_theme
    -rwxr-xr-x 1 root root 1183 oct. 23 2011 06_mint_theme
    -rwxr-xr-x 1 root root 7500 janv. 11 18:05 10_linux
    -rwxr-xr-x 1 root root 10634 oct. 1 2012 10_lupin
    -rwxr-xr-x 1 root root 10412 avril 11 2014 20_linux_xen
    -rwxr-xr-x 1 root root 1992 mars 12 2014 20_memtest86+
    -rwxr-xr-x 1 root root 11692 avril 11 2014 30_os-prober
    -rwxr-xr-x 1 root root 1416 avril 11 2014 30_uefi-firmware
    -rwxr-xr-x 1 root root 214 avril 11 2014 40_custom
    -rwxr-xr-x 1 root root 216 avril 11 2014 41_custom
    -rw-r--r-- 1 root root 483 avril 11 2014 README
    =================== /etc/default/grub :
    # If you change this file, run 'update-grub' afterwards to update
    # /boot/grub/grub.cfg.
    # For full documentation of the options in this file, see:
    # info -f grub -n 'Simple configuration'
    GRUB_DEFAULT=0
    #GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""
    # Uncomment to enable BadRAM filtering, modify to suit your needs
    # This works with Linux (no patch required) and with any kernel that obtains
    # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
    #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
    # Uncomment to disable graphical terminal (grub-pc only)
    #GRUB_TERMINAL=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=640x480
    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    #GRUB_DISABLE_RECOVERY="true"
    # Uncomment to get a beep at grub start
    #GRUB_INIT_TUNE="480 440 1"
    /boot/efi detected in the fstab of sda1: UUID=8F8E-CE3C (sda3)
    ls /sys/firmware/efi/vars : RTC-378d7b65-8da9-4773-b6e4-a47826a833e1,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,new_var,MTC-eb704011-1402-11d3-8e77-00a0c969723b,MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,HDDP-fab7e9e1-39dd-4f2b-8408-e20e906cb6de,del_var,ConsoleOutMode-793d9786-44dc-4709-b57f-85b8e8fdbfd2,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0005-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0003-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c,
    Veuillez indiquer ce message à boot.repair@gmail.com
    =================== efibootmgr -v
    BootCurrent: 0005
    BootOrder: 0005,0004,0000,0001,0002,0003
    Boot0000* EFI VMware Virtual SCSI Hard Drive (0.0)	ACPI(a0341d0,0)PCI(15,0)PCI(0,0)SCSI(0,0)
    Boot0001* EFI VMware Virtual SATA CDROM Drive (1.0)	ACPI(a0341d0,0)PCI(11,0)PCI(4,0)03120a00010000000000
    Boot0002* EFI Network ACPI(a0341d0,0)PCI(16,0)PCI(0,0)MAC(000c29b06483,0)
    Boot0003* EFI Internal Shell (Unsupported option)	MM(b,3efcb000,3f355fff)
    Boot0004* ubuntu HD(3,800,32000,00074fc0)File(EFIubuntushimx64.efi)
    Boot0005* Boot0005 ACPI(a0341d0,0)PCI(15,0)PCI(0,0)SCSI(0,0)HD(3,800,32000,00074fc0)File(EFIubuntushimx64.efi)
    =================== UEFI/Legacy mode:
    BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
    SecureBoot maybe enabled. (maybe sec-boot, Veuillez indiquer ce message à boot.repair@gmail.com)
    =================== PARTITIONS & DISKS:
    sda1 : sda, not-sepboot, grubenv-ok grub2, signed grub-pc grub-efi , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, .
    sda2 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /home.
    sda3 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is-correct-EFI, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /boot/efi.
    sda : not-GPT, BIOSboot-not-needed, has-correctEFI, not-usb, has-os, 2048 sectors * 512 bytes
    =================== parted -l:
    Model: VMware, VMware Virtual S (scsi)
    Disk /dev/sda: 10.7GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Number Start End Size Type File system Flags
    3 1049kB 106MB 105MB primary fat32 boot
    1 106MB 6000MB 5894MB primary ext4
    2 6000MB 10.6GB 4633MB primary ext4
    Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
    Error: Can't have a partition outside the disk!
    =================== parted -lm:
    BYT;
    /dev/sda:10.7GB:scsi:512:512:msdos:VMware, VMware Virtual S;
    3:1049kB:106MB:105MB:fat32::boot;
    1:106MB:6000MB:5894MB:ext4::;
    2:6000MB:10.6GB:4633MB:ext4::;
    Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
    Error: Can't have a partition outside the disk!
    =================== mount:
    /dev/sda1 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)
    none on /sys/firmware/efi/efivars type efivarfs (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)
    /dev/sda3 on /boot/efi type vfat (rw)
    /dev/sda2 on /home type ext4 (rw)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
    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=essai)
    =================== ls:
    /sys/block/fd0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
    /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 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 power queue range removable ro size slaves stat subsystem trace uevent
    /dev (filtered): agpgart autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hidraw2 hpet iio:device0 iio:device1 iio:device2 input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom vga_arbiter vhost-net vmci zero
    ls /dev/mapper: control
    ls: impossible d'accéder à : Aucun fichier ou dossier de ce type
    =================== hexdump -n512 -C /dev/sda3
    00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 01 20 00 |.X.mkfs.fat... .|
    00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
    00000020 00 20 03 00 28 06 00 00 00 00 00 00 02 00 00 00 |. ..(...........|
    00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    00000040 80 01 29 3c ce 8e 8f 42 6f 6f 74 20 20 20 20 20 |..)<...Boot |
    00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.|
    00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2|
    00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n|
    00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di|
    00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse|
    000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl|
    000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press |
    000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a|
    000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......|
    000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
    00000200
    =================== df -Th:
    Filesystem Type Size Used Avail Use% Mounted on
    /dev/sda1 ext4 5.3G 4.5G 577M 89% /
    none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
    udev devtmpfs 482M 12K 482M 1% /dev
    tmpfs tmpfs 100M 1.6M 98M 2% /run
    none tmpfs 5.0M 0 5.0M 0% /run/lock
    none tmpfs 497M 80K 497M 1% /run/shm
    none tmpfs 100M 12K 100M 1% /run/user
    /dev/sda3 vfat 99M 3.4M 96M 4% /boot/efi
    /dev/sda2 ext4 4.2G 57M 3.9G 2% /home
    =================== fdisk -l:
    Disk /dev/sda: 10.7 GB, 10737418240 bytes
    255 heads, 63 sectors/track, 1305 cylinders, total 20971520 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: 0x00074fc0
    Device Boot Start End Blocks Id System
    /dev/sda1 206848 11718655 5755904 83 Linux
    /dev/sda2 11718656 20766719 4524032 83 Linux
    /dev/sda3 * 2048 206847 102400 b W95 FAT32
    Partition table entries are not in disk order
    Partition outside the disk détecté.
    =================== Suggested repair
    The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of sda1, using the following options: sda3/boot/efi,
    Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file rename-ms-efi
    =================== User settings
    The settings chosen by the user will not act on the boot.

© 2006 - 2015 Paste2.org.
Follow paste2.org on Twitter

Une vérification avec gdisk démontre bien que la partition fat32 n'est qu'une vulgaire partition de données :

Command (? for help): p
Disk /dev/sda: 20971520 sectors, 10.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 76AA6FCC-7726-422D-9A48-177ECA155C4D
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 20971486
Partitions will be aligned on 2048-sector boundaries
Total free space is 206781 sectors (101.0 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1          206848        11718655   5.5 GiB     8300  Linux filesystem
   2        11718656        20766719   4.3 GiB     8300  Linux filesystem
   3            2048          206847   100.0 MiB   0700  Microsoft basic data

Alors, pour répondre à ta question, j'ai forcément dû supprimer cette (véritable) partition efi (au code ef00), car elle interdisait tout démarrage en legacy, le bios ne "comprenant plus"  le format du disque dur. En la supprimant et en repassant le disque en mbr, j'ai pu d'abord réparer le démarrage en legacy /mbr, puis ajouter une partition fat32 simple, sur laquelle j'ai installé les fichiers efi. Dès lors, mon Mint démarre tant en UEFI qu'en Legacy.

Il est donc  même possible que grub parvienne à exécuter bootmgfw.efi. La question qui se pose maintenant est : W8 acceptera-t-il de booter dans ces conditions (fichier efi et disque ms-dos) ? Rien n'est moins sûr car sur disque mbr (ms-dos), il cherche des fichiers exe pour démarrer.

Maintenant, pour en revenir à l'exemple de Maxire, on peut très bien imaginer un PC en UEFI avec 2 disques durs: l'un, au format ms-dos, contenant un Ubuntu qui va lancer un W8, sur un second disque dur en gpt. C'est ce qu'il propose dans le 2nd exemple (même s'il utilise 2 disques gpt), mais le "double démarrage qu'il propose ici n'est même pas nécessaire :

1      17,4kB  1049kB  1031kB                       BIOS boot partition  bios_grub
2      1049kB  538MB   537MB   fat32                                     démarrage

La partition fat32 peut se charger de tout toute seule. Je m'amuserai à cela la semaine prochaine, pour voir jusqu'où on peut pousser l'expérience.

Dernière modification par ikewdu (Le 11/01/2015, à 18:55)

Hors ligne

#23 Le 11/01/2015, à 18:54

kalunux

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Ok !!
Très intéressant tout ça.

ikewdu a écrit :

Il est donc  même possible que grub parvienne à exécuter bootfgmw.efi. La question qui se pose maintenant est : W8 acceptera-t-il de booter dans ces conditions (fichier efi et disque ms-dos) ?

Moi je pense que oui cela doit-être possible il faudrait faire l'essai.

ikewdu a écrit :

Rien n'est moins sûr car sur disque mbr (ms-dos), il cherche des fichiers exe pour démarrer.

mème sur disque GPT en mode EFI sauf que là c'est le fichier EFI qui passe la main à l'exe.

Hors ligne

#24 Le 11/01/2015, à 18:58

ikewdu

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

Le premier problème se pose à l'installation. En legacy, l'installateur balance un message d'erreur si le disque est en gpt, et inversement, en uefi, si le disque est en mbr.  Pour tester, il faut installer "proprement" et bricoler la table après...

Par exemple : http://nsa31.casimages.com/img/2012/12/ … 966955.jpg ... et dans l'autre sens : http://image.noelshack.com/fichiers/201 … c-0112.jpg

Ca change un peu la donne. Et quand la table est bancale, Ws bascule directement tout en raw. Ws n'a pas tout à fait la même souplesse que grub.

Dernière modification par ikewdu (Le 11/01/2015, à 19:09)

Hors ligne

#25 Le 11/01/2015, à 19:15

kalunux

Re : [Test] Convertir Ubuntu 14.10 de Legacy en EFI avec Boot-Repair

ikewdu a écrit :

Le premier problème se pose à l'installation. En legacy, l'installateur balance un message d'erreur si le disque est en gpt, et inversement, en uefi, si le disque est en mbr.  Pour tester, il faut installer "proprement" et bricoler la table après...

Oui exactement c'est ce qu'il faudrait faire.
Dommage je nais pas le matériel adéquate pour le moment donc je ne peux pas testé.

Hors ligne