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.

#126 Le 12/05/2016, à 01:45

Bougron

Re : /dev/sda pour disc ext.

regardes ce que j'ai écris pour le cp

Hors ligne

#127 Le 12/05/2016, à 02:30

Dimoi

Re : /dev/sda pour disc ext.

Je ne sais pas ce qu'est le cp, je n'ai fait que faire copier coller les commande.
Le dernier événement est :

─ $ ▶       sudo    cp   -Rv     /mnt/SDA2/EFI/ubuntu/*
cp: la cible '/mnt/SDA2/EFI/ubuntu/shimx64.efi' n'est pas un répertoire

Hors ligne

#128 Le 12/05/2016, à 11:32

Bougron

Re : /dev/sda pour disc ext.

Bonjour

A lire d'urgence https://doc.ubuntu-fr.org/tutoriel/cons … es_de_base

C'était pourtant  bien écrit:

       sudo    cp   -Rv     /mnt/SDA2/EFI/ubuntu/*     /mnt/SDB1/EFI/ubuntu      ### Faire la copie

Il fallait au moins que tu écrives

       sudo    cp   -Rv     /mnt/SDA2/EFI/ubuntu/*     /mnt/SDB1/EFI/ubuntu     

pour la commande de copie, il faut un émetteur     qui est   /mnt/SDA2/EFI/ubuntu/*
et un répertoire récepteur qui est absent dans ton cas car tu l'as oublié   et c'est  /mnt/SDB1/EFI/ubuntu

Dernière modification par Bougron (Le 12/05/2016, à 11:37)

Hors ligne

#129 Le 12/05/2016, à 14:00

Dimoi

Re : /dev/sda pour disc ext.

Je me suis bien planté pourtant, c'était simple à faire.
En redémarrant plusieurs fois, j'ai pu avoir Ubuntu,mais tout ce qui concerne les messages mis en balise-code sur le forum sont devenus illisibles.
Je vais corriger avec ce que tu m'as donné. Merci

Hors ligne

#130 Le 12/05/2016, à 14:07

Dimoi

Re : /dev/sda pour disc ext.

J'ai :

─ $ ▶     sudo    cp   -Rv     /mnt/SDA2/EFI/ubuntu/*     /mnt/SDB1/EFI/ubuntu cp: impossible d'évaluer '/mnt/SDA2/EFI/ubuntu/*': Aucun fichier ou dossier de ce type

Hors ligne

#131 Le 12/05/2016, à 14:40

Bougron

Re : /dev/sda pour disc ext.

Bonjour

Finalement, je ne suis pas très doué en codif,

sudo    cp   -Rv     /mnt/SDA2/EFI/ubuntu     /mnt/SDB1/EFI/ubuntu 

Devrait mieux marcher

Hors ligne

#132 Le 12/05/2016, à 14:54

Dimoi

Re : /dev/sda pour disc ext.

J'obtiens :

└─ $ ▶ sudo    cp   -Rv     /mnt/SDA2/EFI/ubuntu     /mnt/SDB1/EFI/ubuntu 
cp: impossible d'évaluer '/mnt/SDA2/EFI/ubuntu': Aucun fichier ou dossier de ce type

Hors ligne

#133 Le 12/05/2016, à 15:04

Bougron

Re : /dev/sda pour disc ext.

Bizarre   Dans la partition SDA2  , Il y a bien un répertoire qui s'appelle EFI/ubuntu
Peut-être que sda2 s'est trouvé démonté.
Il faut le remonter

sudo  mount  -v    /dev/sda2  /mnt/SDA2

tu refais la commande de copie. Si c'est pareil

sudo ls -l /mnt/SDA2     #### afin de voir ce qu'il y a dedans        ####   après correction 
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/fwupx64.efi /EFI/ubuntu/grubx64.efi 
                       /EFI/ubuntu/shimx64.efi 
                       /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgr.efi 
                       /EFI/Microsoft/Boot/memtest.efi 
                       /EFI/OEM/Boot/bootmgfw.efi /EFI/OEM/Boot/bootmgr.efi 
                       /EFI/OEM/Boot/memtest.efi

Dernière modification par Bougron (Le 12/05/2016, à 17:01)

Hors ligne

#134 Le 12/05/2016, à 15:07

Dimoi

Re : /dev/sda pour disc ext.

J'ai :

$ ▶ sudo  mount  -v    /dev/sda2  /mnt/SDA2
[sudo] Mot de passe de comdor : 
mount: /dev/sda2 mounted on /mnt/SDA2.
comdor @ comdor-iMedia-S2883  ~
└─ $ ▶ sudo ls -l /dev/SDA2    
ls: impossible d'accéder à '/dev/SDA2': Aucun fichier ou dossier de ce type

Hors ligne

#135 Le 12/05/2016, à 15:15

Bougron

Re : /dev/sda pour disc ext.

je suis perdu,
Je crains d'avoir fait une grosse bêtise en ne pensant pas à faire vérifier qui était SDA et qui était SDB.

Peux-tu faire la commande

sudo blkid   ### qui permet de voir

Dernière modification par Bougron (Le 12/05/2016, à 15:16)

Hors ligne

#136 Le 12/05/2016, à 15:27

moko138

Re : /dev/sda pour disc ext.

sudo ls -l /mnt/SDA2

%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#137 Le 12/05/2016, à 15:32

Dimoi

Re : /dev/sda pour disc ext.

Voici :

└─ $ ▶ sudo blkid 
[sudo] Mot de passe de comdor : 
/dev/sda1: LABEL="Recovery" UUID="10FA6F03FA6EE506" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="8b1d501e-6ac0-493e-b9ea-069ce9e6042c"
/dev/sda2: LABEL="ESP" UUID="486F-3917" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="ce362016-f585-484f-ae6f-b19a1cbbeb05"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="11e368b7-dfd0-45d0-b61c-0d6d1bed702d"
/dev/sda4: LABEL="Packard Bell" UUID="866028C76028BFB3" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="7aeefe6e-5cb9-49f6-93a7-a180edeb0dc3"
/dev/sda5: LABEL="DATA" UUID="EC1A0DF81A0DC116" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="663058c1-4ba0-4980-a167-754c21a0610a"
/dev/sda6: LABEL="Push Button Reset" UUID="96D6752ED675102B" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="b47167fd-7a6a-41be-97cc-69a65632d4e4"
/dev/sdb1: UUID="E701-5735" TYPE="vfat" PARTUUID="bba519ed-5116-43a0-bd59-72ba161d94b8"
/dev/sdb2: UUID="a672ae88-bf7c-42b4-ac04-43db30349747" TYPE="swap" PARTUUID="ce8e2b61-fe10-46a0-b2f0-6becb4e44e40"
/dev/sdb3: UUID="b7a1d915-5977-42bf-8233-09516aa991df" TYPE="ext4" PARTUUID="62bd0854-f371-4b8d-9ac4-0ae34f039b5a"
comdor @ comdor-iMedia-S2883  ~

Hors ligne

#138 Le 12/05/2016, à 15:42

Bougron

Re : /dev/sda pour disc ext.

On voit très bien que SDA2 est resté la partition ESP du disque initial  avec ses 6 partitions
que SDB1 est bien celle qui doit recevoir.
Je ne comprends pas trop le  problème

sudo   umount  -v    /dev/sda2  
sudo  mount     -v    /dev/sda2     /mnt/SDA2
sudo    ls          -Rl  /mnt/SDA2  

   ##### Après corection

Dernière modification par Bougron (Le 12/05/2016, à 16:58)

Hors ligne

#139 Le 12/05/2016, à 16:15

moko138

Re : /dev/sda pour disc ext.

NON !
Tu répètes ton lapsus. Comparez avec #136.


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#140 Le 12/05/2016, à 16:21

Dimoi

Re : /dev/sda pour disc ext.

J'ai redèmarrer 4 fois, la fois où Ubuntu a pu se charger, aucun logiciel ne fonctionnaient.

Hors ligne

#141 Le 12/05/2016, à 16:57

Bougron

Re : /dev/sda pour disc ext.

moko138 a écrit :

NON !
Tu répètes ton lapsus. Comparez avec #136.

Bonjour Moko138

Bien sur, Je ne suis fais embarqué dans un mauvais copié coller.

sudo ls /mnt/SDA2  et pas sudo ls /dev/sda2

Mais il me semble que cette codif est bonne

sudo    cp   -Rv     /mnt/SDA2/EFI/ubuntu     /mnt/SDB1/EFI/ubuntu 

Mais on peut la remplacer par

 sudo    cp   -Rv     /mnt/SDA2/EFI/ubuntu/*     /mnt/SDB1/EFI/ubuntu 

Dernière modification par Bougron (Le 12/05/2016, à 17:08)

Hors ligne

#142 Le 12/05/2016, à 17:03

Bougron

Re : /dev/sda pour disc ext.

Dimoi a écrit :

J'ai redèmarré 4 fois, la fois où Ubuntu a pu se charger, aucun logiciel ne fonctionnaient.

?????

Hors ligne

#143 Le 12/05/2016, à 17:36

Dimoi

Re : /dev/sda pour disc ext.

Je pense que je suis bon pour une réinstallation. Plus rien ne fonctionne normalement.

Hors ligne

#144 Le 12/05/2016, à 17:49

moko138

Re : /dev/sda pour disc ext.

Bougron a écrit :
sudo    cp   -Rv     /mnt/SDA2/EFI/ubuntu     /mnt/SDB1/EFI/ubuntu 

Mais on peut la remplacer par

 sudo    cp   -Rv     /mnt/SDA2/EFI/ubuntu/*     /mnt/SDB1/EFI/ubuntu 

Justement, ce n'est pas tout à fait ma même chose.
  - -
En plus avions-nous fait auparavant

(sudo) mkdir -p /mnt/SDB1/EFI/ubuntu

Je crains que non.


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#145 Le 12/05/2016, à 17:53

Dimoi

Re : /dev/sda pour disc ext.

Est-il mieux que je fasse une réinstallation ?

Hors ligne

#146 Le 12/05/2016, à 18:57

Bougron

Re : /dev/sda pour disc ext.

C'est bien ennuyeux ce qui arrive.
Avant de décider quoi que ce soit, tu devrais retrouver la procédure qui a permit de faire le boot-info consultable!
On verra ce qu'il y a dans ces fichiers et on utilisera la session live pour terminer  les quelques commandes  ratées.

Dernière modification par Bougron (Le 12/05/2016, à 19:00)

Hors ligne

#147 Le 12/05/2016, à 22:09

Dimoi

Re : /dev/sda pour disc ext.

Voici le boot info :

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


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

 => No boot loader is installed in the MBR of /dev/sda.
 => Windows 7/8/2012 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/fwupx64.efi /EFI/ubuntu/grubx64.efi 
                       /EFI/ubuntu/shimx64.efi 
                       /EFI/Microsoft/Boot/bootmgfw.efi 
                       /EFI/Microsoft/Boot/bootmgr.efi 
                       /EFI/Microsoft/Boot/memtest.efi 
                       /EFI/OEM/Boot/bootmgfw.efi /EFI/OEM/Boot/bootmgr.efi 
                       /EFI/OEM/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:  
    Boot files:        /Windows/System32/winload.exe /wubildr 
                       /ubuntu/winboot/wubildr /wubildr.mbr 
                       /ubuntu/winboot/wubildr.mbr

sda5: __________________________________________________________________________

    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:        

sda6: __________________________________________________________________________

    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:        

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

sdb3: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 4,294,967,295 4,294,967,295  ee GPT

/dev/sda1 ends after the last sector of /dev/sda

GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1   +  R          2,048     1,230,847     1,228,800 Windows Recovery Environment (Windows)
/dev/sda2   +         1,230,848     1,845,247       614,400 EFI System partition
/dev/sda3   +         1,845,248     2,107,391       262,144 Microsoft Reserved Partition (Windows)
/dev/sda4             2,107,392   471,865,343   469,757,952 Data partition (Windows/Linux)
/dev/sda5           471,865,344   943,218,687   471,353,344 Data partition (Windows/Linux)
/dev/sda6   +  R    943,218,688   976,773,119    33,554,432 Windows Recovery Environment (Windows)

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

Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1                   1 1,953,525,167 1,953,525,167  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdb1                 2,048       264,191       262,144 EFI System partition
/dev/sdb2               264,192     8,261,631     7,997,440 Swap partition (Linux)
/dev/sdb3             8,261,632 1,953,523,711 1,945,262,080 Data partition (Linux)

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

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        10FA6F03FA6EE506                       ntfs       Recovery
/dev/sda2        486F-3917                              vfat       ESP
/dev/sda3                                                          
/dev/sda4        866028C76028BFB3                       ntfs       Packard Bell
/dev/sda5        EC1A0DF81A0DC116                       ntfs       DATA
/dev/sda6        96D6752ED675102B                       ntfs       Push Button Reset
/dev/sdb1        E701-5735                              vfat       
/dev/sdb2        a672ae88-bf7c-42b4-ac04-43db30349747   swap       
/dev/sdb3        b7a1d915-5977-42bf-8233-09516aa991df   ext4       

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

total 0
lrwxrwxrwx 1 root root  9 May 12 16:00 ata-MATSHITA_DVD-RAM_SW840_KO0160700844 -> ../../sr0
lrwxrwxrwx 1 root root  9 May 12 16:03 ata-ST1000DM003-1ER162_W4Y2T1RJ -> ../../sdb
lrwxrwxrwx 1 root root 10 May 12 16:03 ata-ST1000DM003-1ER162_W4Y2T1RJ-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 May 12 16:03 ata-ST1000DM003-1ER162_W4Y2T1RJ-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 May 12 16:03 ata-ST1000DM003-1ER162_W4Y2T1RJ-part3 -> ../../sdb3
lrwxrwxrwx 1 root root  9 May 12 16:03 ata-WDC_WD5000AAKX-22ERMA0_WD-WCC2E7UYRZT6 -> ../../sda
lrwxrwxrwx 1 root root 10 May 12 16:04 ata-WDC_WD5000AAKX-22ERMA0_WD-WCC2E7UYRZT6-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 12 16:03 ata-WDC_WD5000AAKX-22ERMA0_WD-WCC2E7UYRZT6-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 12 16:03 ata-WDC_WD5000AAKX-22ERMA0_WD-WCC2E7UYRZT6-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 May 12 16:04 ata-WDC_WD5000AAKX-22ERMA0_WD-WCC2E7UYRZT6-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 May 12 16:04 ata-WDC_WD5000AAKX-22ERMA0_WD-WCC2E7UYRZT6-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 May 12 16:04 ata-WDC_WD5000AAKX-22ERMA0_WD-WCC2E7UYRZT6-part6 -> ../../sda6
lrwxrwxrwx 1 root root  9 May 12 16:03 wwn-0x5000c50082811de8 -> ../../sdb
lrwxrwxrwx 1 root root 10 May 12 16:03 wwn-0x5000c50082811de8-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 May 12 16:03 wwn-0x5000c50082811de8-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 May 12 16:03 wwn-0x5000c50082811de8-part3 -> ../../sdb3
lrwxrwxrwx 1 root root  9 May 12 16:03 wwn-0x50014ee261450db6 -> ../../sda
lrwxrwxrwx 1 root root 10 May 12 16:04 wwn-0x50014ee261450db6-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 12 16:03 wwn-0x50014ee261450db6-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 12 16:03 wwn-0x50014ee261450db6-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 May 12 16:04 wwn-0x50014ee261450db6-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 May 12 16:04 wwn-0x50014ee261450db6-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 May 12 16:04 wwn-0x50014ee261450db6-part6 -> ../../sda6

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

Device           Mount_Point              Type       Options

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


=========================== sdb3/boot/grub/grub.cfg: ===========================

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

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

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

export menuentry_id_option

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

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

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd1,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  b7a1d915-5977-42bf-8233-09516aa991df
else
  search --no-floppy --fs-uuid --set=root b7a1d915-5977-42bf-8233-09516aa991df
fi
    font="/usr/share/grub/unicode.pf2"
fi

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

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b7a1d915-5977-42bf-8233-09516aa991df' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd1,gpt3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  b7a1d915-5977-42bf-8233-09516aa991df
	else
	  search --no-floppy --fs-uuid --set=root b7a1d915-5977-42bf-8233-09516aa991df
	fi
	linux	/boot/vmlinuz-4.4.0-22-generic.efi.signed root=UUID=b7a1d915-5977-42bf-8233-09516aa991df ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.4.0-22-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-b7a1d915-5977-42bf-8233-09516aa991df' {
	menuentry 'Ubuntu, avec Linux 4.4.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-advanced-b7a1d915-5977-42bf-8233-09516aa991df' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  b7a1d915-5977-42bf-8233-09516aa991df
		else
		  search --no-floppy --fs-uuid --set=root b7a1d915-5977-42bf-8233-09516aa991df
		fi
		echo	'Chargement de Linux 4.4.0-22-generic…'
		linux	/boot/vmlinuz-4.4.0-22-generic.efi.signed root=UUID=b7a1d915-5977-42bf-8233-09516aa991df ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-22-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-22-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-init-upstart-b7a1d915-5977-42bf-8233-09516aa991df' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  b7a1d915-5977-42bf-8233-09516aa991df
		else
		  search --no-floppy --fs-uuid --set=root b7a1d915-5977-42bf-8233-09516aa991df
		fi
		echo	'Chargement de Linux 4.4.0-22-generic…'
		linux	/boot/vmlinuz-4.4.0-22-generic.efi.signed root=UUID=b7a1d915-5977-42bf-8233-09516aa991df ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-22-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-22-generic-recovery-b7a1d915-5977-42bf-8233-09516aa991df' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  b7a1d915-5977-42bf-8233-09516aa991df
		else
		  search --no-floppy --fs-uuid --set=root b7a1d915-5977-42bf-8233-09516aa991df
		fi
		echo	'Chargement de Linux 4.4.0-22-generic…'
		linux	/boot/vmlinuz-4.4.0-22-generic.efi.signed root=UUID=b7a1d915-5977-42bf-8233-09516aa991df ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-22-generic
	}
	menuentry 'Ubuntu, avec Linux 4.4.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-advanced-b7a1d915-5977-42bf-8233-09516aa991df' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  b7a1d915-5977-42bf-8233-09516aa991df
		else
		  search --no-floppy --fs-uuid --set=root b7a1d915-5977-42bf-8233-09516aa991df
		fi
		echo	'Chargement de Linux 4.4.0-21-generic…'
		linux	/boot/vmlinuz-4.4.0-21-generic root=UUID=b7a1d915-5977-42bf-8233-09516aa991df ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-21-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-21-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-init-upstart-b7a1d915-5977-42bf-8233-09516aa991df' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  b7a1d915-5977-42bf-8233-09516aa991df
		else
		  search --no-floppy --fs-uuid --set=root b7a1d915-5977-42bf-8233-09516aa991df
		fi
		echo	'Chargement de Linux 4.4.0-21-generic…'
		linux	/boot/vmlinuz-4.4.0-21-generic root=UUID=b7a1d915-5977-42bf-8233-09516aa991df ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-21-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-21-generic-recovery-b7a1d915-5977-42bf-8233-09516aa991df' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd1,gpt3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt3 --hint-efi=hd1,gpt3 --hint-baremetal=ahci1,gpt3  b7a1d915-5977-42bf-8233-09516aa991df
		else
		  search --no-floppy --fs-uuid --set=root b7a1d915-5977-42bf-8233-09516aa991df
		fi
		echo	'Chargement de Linux 4.4.0-21-generic…'
		linux	/boot/vmlinuz-4.4.0-21-generic root=UUID=b7a1d915-5977-42bf-8233-09516aa991df ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.4.0-21-generic
	}
}

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

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (sur /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-486F-3917' {
	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  486F-3917
	else
	  search --no-floppy --fs-uuid --set=root 486F-3917
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
set timeout_style=menu
if [ "${timeout}" = 0 ]; then
  set timeout=10
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

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

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

=============================== sdb3/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb3 during installation
UUID=b7a1d915-5977-42bf-8233-09516aa991df /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=486F-3917  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sdb2 during installation
UUID=a672ae88-bf7c-42b4-ac04-43db30349747 none            swap    sw              0       0
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

 424.089603424 = 455.362744320  boot/grub/grub.cfg                             1
   5.024108887 = 5.394595840    boot/vmlinuz-4.4.0-21-generic                  1
 750.800369263 = 806.165757952  boot/vmlinuz-4.4.0-22-generic                  1
 750.961612701 = 806.338891776  boot/vmlinuz-4.4.0-22-generic.efi.signed       1
   5.024108887 = 5.394595840    vmlinuz                                        1
 751.111324310 = 806.499643392  boot/initrd.img-4.4.0-21-generic               2
   8.311237335 = 8.924123136    boot/initrd.img-4.4.0-22-generic               3
 751.111324310 = 806.499643392  initrd.img                                     2
 751.111324310 = 806.499643392  initrd.img.old                                 2

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


/dev/sda1: unknown GPT attributes
8000000000000001

/dev/sda2: unknown GPT attributes
8000000000000000

/dev/sda3: unknown GPT attributes
8000000000000000

/dev/sda6: unknown GPT attributes
8000000000000001


ADDITIONAL INFORMATION :
=================== log of boot-info 2016-05-12__16h02 ===================
boot-info version : 4ppa37
boot-sav version : 4ppa37
glade2script version : 3.2.3~ppa1
boot-sav-extra version : 4ppa37
Warning: failed to translate partition name
Warning: failed to translate partition name
Warning: failed to translate partition name
Warning: failed to translate partition name
Warning: failed to translate partition name
Warning: failed to translate partition name
boot-info is executed in installed-session (Ubuntu 16.04 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.4.0-22-generic.efi.signed root=UUID=b7a1d915-5977-42bf-8233-09516aa991df ro quiet splash vt.handoff=7

=================== os-prober:
/dev/sdb3:L'OS actuellement utilisé - Ubuntu 16.04 LTS CurrentSession:linux
/dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi

=================== blkid:
/dev/sda1: LABEL="Recovery" UUID="10FA6F03FA6EE506" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="8b1d501e-6ac0-493e-b9ea-069ce9e6042c"
/dev/sda2: LABEL="ESP" UUID="486F-3917" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="ce362016-f585-484f-ae6f-b19a1cbbeb05"
/dev/sda4: LABEL="Packard Bell" UUID="866028C76028BFB3" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="7aeefe6e-5cb9-49f6-93a7-a180edeb0dc3"
/dev/sda5: LABEL="DATA" UUID="EC1A0DF81A0DC116" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="663058c1-4ba0-4980-a167-754c21a0610a"
/dev/sda6: LABEL="Push Button Reset" UUID="96D6752ED675102B" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="b47167fd-7a6a-41be-97cc-69a65632d4e4"
/dev/sdb1: UUID="E701-5735" TYPE="vfat" PARTUUID="bba519ed-5116-43a0-bd59-72ba161d94b8"
/dev/sdb2: UUID="a672ae88-bf7c-42b4-ac04-43db30349747" TYPE="swap" PARTUUID="ce8e2b61-fe10-46a0-b2f0-6becb4e44e40"
/dev/sdb3: UUID="b7a1d915-5977-42bf-8233-09516aa991df" TYPE="ext4" PARTUUID="62bd0854-f371-4b8d-9ac4-0ae34f039b5a"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="11e368b7-dfd0-45d0-b61c-0d6d1bed702d"


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

Windows not detected by os-prober on sda4.

=================== /etc/grub.d/ :
drwxr-xr-x  2 root root     4096 avr 20 18:15 grub.d
total 76
-rwxr-xr-x 1 root root  9791 avr 15 18:00 00_header
-rwxr-xr-x 1 root root  6258 mas 15 14:08 05_debian_theme
-rwxr-xr-x 1 root root 12261 avr 15 18:00 10_linux
-rwxr-xr-x 1 root root 11082 avr 15 18:00 20_linux_xen
-rwxr-xr-x 1 root root  1992 jan 28 08:44 20_memtest86+
-rwxr-xr-x 1 root root 11692 avr 15 18:00 30_os-prober
-rwxr-xr-x 1 root root  1418 avr 15 18:00 30_uefi-firmware
-rwxr-xr-x 1 root root   214 avr 15 18:00 40_custom
-rwxr-xr-x 1 root root   216 avr 15 18:00 41_custom
-rw-r--r-- 1 root root   483 avr 15 18:00 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 sdb3: UUID=486F-3917   (sda2)
Presence of EFI/Microsoft file detected: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi
=================== No kernel in /mnt/boot-sav/sda4/boot:
macrium



=================== efibootmgr -v
BootCurrent: 0002
Timeout: 2 seconds
BootOrder: 0000,0002
Boot0000* Windows Boot Manager	HD(2,GPT,ce362016-f585-484f-ae6f-b19a1cbbeb05,0x12c800,0x96000)/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.}...6................
Boot0002* ubuntu	HD(2,GPT,ce362016-f585-484f-ae6f-b19a1cbbeb05,0x12c800,0x96000)/File(EFIubuntushimx64.efi)

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


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

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


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

Model: ATA WDC WD5000AAKX-2 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name                          Flags
1      1049kB  630MB   629MB   ntfs                                       hidden, diag
2      630MB   945MB   315MB   fat32                                      boot, esp
3      945MB   1079MB  134MB                Microsoft reserved partition  msftres
4      1079MB  242GB   241GB   ntfs         Basic data partition          msftdata
5      242GB   483GB   241GB   ntfs         Basic data partition          msftdata
6      483GB   500GB   17.2GB  ntfs                                       hidden, diag


Model: ST1000DM 003-1ER162 (scsi)
Disk /dev/sdb: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system     Name  Flags
1      1049kB  135MB   134MB   fat32                 boot, esp
2      135MB   4230MB  4095MB  linux-swap(v1)
3      4230MB  1000GB  996GB   ext4

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

BYT;
/dev/sda:500GB:scsi:512:512:gpt:ATA WDC WD5000AAKX-2:;
1:1049kB:630MB:629MB:ntfs::hidden, diag;
2:630MB:945MB:315MB:fat32::boot, esp;
3:945MB:1079MB:134MB::Microsoft reserved partition:msftres;
4:1079MB:242GB:241GB:ntfs:Basic data partition:msftdata;
5:242GB:483GB:241GB:ntfs:Basic data partition:msftdata;
6:483GB:500GB:17.2GB:ntfs::hidden, diag;

BYT;
/dev/sdb:1000GB:scsi:512:512:gpt:ST1000DM 003-1ER162:;
1:1049kB:135MB:134MB:fat32::boot, esp;
2:135MB:4230MB:4095MB:linux-swap(v1)::;
3:4230MB:1000GB:996GB:ext4::;

=================== lsblk:
KNAME TYPE FSTYPE   SIZE LABEL
sda   disk        465,8G
sda1  part ntfs     600M Recovery
sda2  part vfat     300M ESP
sda3  part          128M
sda4  part ntfs     224G Packard Bell
sda5  part ntfs   224,8G DATA
sda6  part ntfs      16G Push Button Reset
sdb   disk        931,5G
sdb1  part vfat     128M
sdb2  part swap     3,8G
sdb3  part ext4   927,6G
sr0   rom          1024M

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


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=1943824k,nr_inodes=485956,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=392656k,mode=755)
/dev/sdb3 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd,nsroot=/)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory,nsroot=/)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct,nsroot=/)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,nsroot=/)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio,nsroot=/)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids,nsroot=/)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices,nsroot=/)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer,nsroot=/)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb,nsroot=/)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event,nsroot=/)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,nsroot=/)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda2 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=392656k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sda6 on /mnt/boot-sav/sda6 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
/dev/sdb1 on /mnt/boot-sav/sdb1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 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 integrity power queue range removable ro sdb1 sdb2 sdb3 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse hidraw0 hidraw1 hidraw2 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 initctl input kmsg kvm lightnvm log mapper mcelog mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sda6 sdb sdb1 sdb2 sdb3 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio vfio vga_arbiter vhci vhost-net zero
ls /dev/mapper:  control
ls: impossible d'accéder à '': Aucun fichier ou dossier de ce type

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

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

=================== hexdump -n512 -C /dev/sdb1
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 00 04 00 e1 07 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 35 57 01 e7 20  20 20 20 20 20 20 20 20  |..)5W..         |
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
udev           devtmpfs  1.9G     0  1.9G   0% /dev
tmpfs          tmpfs     384M  6.1M  378M   2% /run
/dev/sdb3      ext4      913G  9.5G  858G   2% /
tmpfs          tmpfs     1.9G  144K  1.9G   1% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/sda2      vfat      296M   59M  238M  20% /boot/efi
tmpfs          tmpfs     384M   44K  384M   1% /run/user/1000
/dev/sda1      fuseblk   600M  268M  333M  45% /mnt/boot-sav/sda1
/dev/sda4      fuseblk   224G   72G  153G  32% /mnt/boot-sav/sda4
/dev/sda5      fuseblk   225G   16G  210G   7% /mnt/boot-sav/sda5
/dev/sda6      fuseblk    16G   14G  2.2G  87% /mnt/boot-sav/sda6
/dev/sdb1      vfat      127M  2.0K  127M   1% /mnt/boot-sav/sdb1

=================== fdisk -l:
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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: CADBF45D-6FEC-4B88-87ED-C00F7D2DFB76

Device         Start       End   Sectors   Size Type
/dev/sda1       2048   1230847   1228800   600M Windows recovery environment
/dev/sda2    1230848   1845247    614400   300M EFI System
/dev/sda3    1845248   2107391    262144   128M Microsoft reserved
/dev/sda4    2107392 471865343 469757952   224G Microsoft basic data
/dev/sda5  471865344 943218687 471353344 224.8G Microsoft basic data
/dev/sda6  943218688 976773119  33554432    16G Windows recovery environment




Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 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: 433FE37B-D9ED-446A-A59C-B1DB848D8B55

Device       Start        End    Sectors   Size Type
/dev/sdb1     2048     264191     262144   128M EFI System
/dev/sdb2   264192    8261631    7997440   3.8G Linux swap
/dev/sdb3  8261632 1953523711 1945262080 927.6G Linux filesystem


gui-tab-other.sh: ligne 93: _checkbutton_repairfilesystems : commande introuvable


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


=================== Advice in case of suggested repair
Veuillez désactiver SecureBoot dans le BIOS. Puis réessayez.Voulez-vous continuer ?


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

Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 16.04 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Boot-Repair]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)

Si votre ordinateur redémarre directement sur Windows, essayez de changer l'ordre de démarrage dans votre BIOS.
Si votre BIOS ne permet pas de changer l'ordre de démarrage, changez l'entrée de démarrage par défaut de l'amorceur Windows.
Par exemple, vous pouvez démarrer Windows, puis saisir la commande suivante dans une invite de commande en mode administrateur :
bcdedit /set {bootmgr} path \EFI\...\grub*.efi

Un Wubi endommagé a été détecté. Veuillez le réparer de cette façon :
http://doc.ubuntu-fr.org/wubi#impossible_de_demarrer_wubi


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

Hors ligne

#148 Le 12/05/2016, à 23:55

Bougron

Re : /dev/sda pour disc ext.

Bonsoir.
Je ne vois pas ce qui coince dans le boot-info pouvant expliquer tes ennuis.
On est certain que les fichiers sont encore présents. En Live USB l'ordre des disque va rester celui  trouvé donc tu rejoues le scénario.
Je rectifie quelques trucs, Comme tu as un peu appris, ça va marcher.

A) Transférer ce qui sert de boot du SDA   dans le SDB
     1)  Création de l'enveloppe de réception.

      sudo mkdir        /mnt/SDB1                           #### faire un point de montage
      sudo   mount -v   /dev/sdb1 /mnt/SDB1         #### monter la partition
      sudo mkdir        /mnt/SDB1/EFI                     #### créer le répertoire de boot pour EFI
      sudo mkdir       /mnt/SDB1/EFI/ubuntu          ###   créer le répertoire de boot pour  le ubuntu installé 
      sudo mkdir      /mnt/SDB1/EFI/boot              ###    créer le répertoire de boot pour le boot générique 

    2) Récupérer le contenu du disque SDA     la partition n'est pas montée car en live USB

      sudo mkdir        /mnt/SDA2                           #### faire un point de montage
      sudo   mount  -v   /dev/sda2/mnt/SDA2         #### monter la partition
       sudo    cp      /mnt/SDA2/EFI/ubuntu/*        /mnt/SDB1/EFI/ubuntu 

   3) Créer le fichier de démarrage standard usb  avec le fichier de démarrage de ubuntu  sécurisé

     sudo  cp   /mnt/SDB1/EFI/ubuntu/shimx64.efi     /mnt/SDB1/EFI/boot/bootx64.efi  

On va dire que c'est à peu près ce qu'il y a à faire actuellement.   Cependant au cas où  cela ne démarrerait  pas, peux-tu fournir les 4 lignes du fichier grub.cfg.

 sudo pg    /mnt/SDB1/EFI/ubuntu/grub.cfg

C) Désolidatiser le fichier EFI du disque SDA  en mettant le nouveau qu'on vient de faire   en modifier le fichier /etc/fstab par la commande

sudo  gedit   /etc/fstab

Son contenu actuel est celui-ci

# / was on /dev/sdb3 during installation
UUID=b7a1d915-5977-42bf-8233-09516aa991df /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
UUID=486F-3917  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sdb2 during installation
UUID=a672ae88-bf7c-42b4-ac04-43db30349747 none swap sw 0 0
Tu feras en sorte qu'il devienne.
# / was on /dev/sdb3 during installation
UUID=b7a1d915-5977-42bf-8233-09516aa991df /               ext4    errors=remount-ro 0       1
# #########  boot/efi was on /dev/sda2 during installation
# #########  UUID=486F-3917  /boot/efi       vfat    umask=0077      0       1
# /boot/efi est maintenant sur le disque externe /dev/sdb1 
UUID=E701-5735  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sdb2 during installation
UUID=a672ae88-bf7c-42b4-ac04-43db30349747 none swap sw 0 0

D) C'est maintenant le nomment de booter en branchant le disque dur et d'aller modifier le bios pour faire en sorte que le support USB soit prioritaire comme lorsque tu faisais avec la clé USB.

Si cela ne boote pas, sois très précis dans la description et refais une  ou des photos en cas de besoin.

Le point que je ne maîtrise pas, c'est le boot sécurisé sur support USB. Au besoin si cela râle pour un problème de sécurité.
  tu relances comme avant et tu fais   

     sudo   mount -v   /dev/sdb1 /mnt/SDB1         #### monter la partition
          sudo  cp   /mnt/SDB1/EFI/ubuntu/grubx64.efi     /mnt/SDB1/EFI/boot/bootx64.efi     #### On prend le fichier non sécurisé 

Puis tu bootes
Si cela ne marche toujours pas pour un problème de mode sécurisé, tu déactives le secure boot...

Il peut y avoir d'autres problèmes auxquels je ne pense pas.

Dernière modification par Bougron (Le 13/05/2016, à 00:00)

Hors ligne

#149 Le 13/05/2016, à 11:00

Dimoi

Re : /dev/sda pour disc ext.

J'ai ça pour démarrer :

comdor @ comdor-iMedia-S2883  ~
└─ $ ▶     sudo   mount -v   /dev/sdb1 /mnt/SDB
[sudo] Mot de passe de comdor : 
mount: mount point /mnt/SDB does not exist
comdor @ comdor-iMedia-S2883  ~
└─ $ ▶  sudo mkdir        /mnt/SDB1     
mkdir: impossible de créer le répertoire «/mnt/SDB1»: Le fichier existe
comdor @ comdor-iMedia-S2883  ~
└─ $ ▶  sudo   mount -v   /dev/sdb1 /mnt/SDB
mount: mount point /mnt/SDB does not exist
comdor @ comdor-iMedia-S2883  ~
└─ $ ▶ 

Hors ligne

#150 Le 13/05/2016, à 12:30

Bougron

Re : /dev/sda pour disc ext.

Bonjour
Lorsque tu travailles en ligne de commande, essaies d'être très attentif.
Si par hasard la réponse de l'OS  n'est pas celle prévue, vérifies d'abord que c'est bien frappé. qu'il n'y  a pas eu une ligne d'oubliée.
Si  oui, essaies de comprendre le pourquoi de l'OS, je sais ce n'est pas facile.
Mais tu gagneras du temps dans la résolution du problème, et surtout tu apprendras  et peut-être à rectifier quelques anomalies par toi-même.
Tu te doutes que si le début des lignes de commandes n'est pas bon, la suite  ne peut pas être correcte.
C'est déjà suffisamment compliquer de prévoir les enchaînements théoriques sans faute de frappe.
   Par exemple, il m'arrive souvent d'écrire dans une ligne         smartctl      ..........
                                 et dans la ligne suivante                            smartclt      ......
             Tu peux espérer   qu'une commande est bonne  et rectifier l'erreur de frappe qui a été faite
  C'est un peu ce qui m'est arrivé en me mélangeant les doigts   avec 
                       ls /nmt/SDA2
                       ls /dev/sda2
                               
     

Par exemple, tu indiques
J'ai ça pour démarrer :

comdor @ comdor-iMedia-S2883  ~
└─ $ ▶     sudo   mount -v   /dev/sdb1 /mnt/SDB

Je suis gêné..  Si c'est vraiment ton début, peux-expliquer pourquoi tu n'as pas commencé par la ligne que je proposais.
  sudo mkdir        /mnt/SDB1                           #### faire un point de montage

et pourquoi, as-tu supprimé le 1  final de la commande.
sudo   mount -v   /dev/sdb1 /mnt/SDB1         #### monter la partition
après, tu essaies de te rattraper en créant le point de montage, c'est bien! Mais tu refais la commande sans mettre le 1 final
Donc tu progresses..
Je vais te dire pourquoi je ne veux pas proposer un point de montage
mkdire /mnt/SDB
mont /dev/sdb1  /mnt/SDB
C'est que, dans le disque, tu as plusieurs  partitions, et je ne voudrais pas que plus tard tu écrives
mkdire /mnt/SDB
mont   /dev/sdb1  /mnt/SDB
mont   /dev/sdb2  /mnt/SDB
mont  /dev/sdb3   /mnt/SDB
car en faisant cela tu mélangeras tout. Avec l'exemple que je te donne, plus tard tu feras naturellement

mkdir    /mnt/SDB1
mount   /dev/sdb1  /mnt/SDB1
mkdir  /mnt/SDB2
mount   /dev/sdb2 /mnt/SDB2
mkdir  /mnt/SDB3
mount  /dev/sdb3 /mnt/SDB3

J'espère  que tu vas pouvoir corriger et appliquer aussi correctement pour l'autre disque.
et que la copie sera possible

Dernière modification par Bougron (Le 13/05/2016, à 12:43)

Hors ligne