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.

#26 Le 31/03/2018, à 15:37

??

Re : Systeme Ubuntu qui ne redémarre pas

rouflak8 a écrit :

.
A quoi correspond (ou sert) une partition swap ? C'est vrai que la partition que j'ai utilisé pour mettre le flag boot/EFI (et que j'ai formaté en FAT32) était non formaté (ou non alloué) et apparaissait sous le nom de swap (quelque chose) lorsque j'ouvrais Gnome-disque.

Bonjour
Je t'ai effectivement un peu induit  en erreur et te disant
"Fabriques une partition SDA1 en début du SSD en FAT32 puis mets-lui un drapeau de boot (ESP) "
Moi-même , j'ai été trompé par

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1           484,163,584   500,117,503    15,953,920 EFI System partition
/dev/sda2             1,050,624   484,163,583   483,112,960 Data partition (Linux

qui ne montrait rien du tout en début de disque et une partition de boot tout à la fin du disque

Pour moi, fabriquer une partition voulait dire, utiliser un espace libre que je croyais en début de disque et pas utiliser une partition présente en début de disque.

Pour fonctionner, le  logiciel mets les données dans la RAM.    Il peut arriver que celle-ci soit trop petite, dans ce cas, on en enlève temporairement un peu qu'on stocke dans la partition SWAP.    Il peut arriver que tu choisisses d'hiberner au lieu d'arrêter, dans ce cas, on met tout le contenu de la RAM dans cette partition swap qui doit donc avoir une taille équivalente à celle de la RAM.

Il se trouve que tu as décidé de chiffrer tes données... qui peuvent se trouver dans la RAM, donc celle-ci est aussi chiffrée.

Pour réparer, un point de situation s'impose
Donnes le retour de

sudo fdisk -l
df -h
cat /etc/fstab | grep -v "#"
cat /etc/initramfs-tools/conf.d/resume
free -m

Dernière modification par ?? (Le 31/03/2018, à 18:28)


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

Hors ligne

#27 Le 31/03/2018, à 15:53

malbo

Re : Systeme Ubuntu qui ne redémarre pas

Il faut déjà installer gksu en vue d'utiliser gksudo : https://forum.ubuntu-fr.org/viewtopic.p … #p19459481
Ensuite, il faut éditer le fichier /etc/crypttab avec pouvoir administrateur en passant la commande suivante :

gksudo gedit /etc/crypttab 

Dans le fichier en question qui s'est ouvert dans gedit, il faut commenter la ligne qui pose problème, c'est à dire ajouter le caractère # en tête de ligne afin que la ligne soit assimilée à un commentaire.
AVANT MODIF :

cryptswap1 UUID=6648bfa9-5875-4ff7-aea6-0f4618ae4ec1 /dev/urandom swap,offset=1024,cipher=aes-xts-plain64

APRÈS MODIF :

#cryptswap1 UUID=6648bfa9-5875-4ff7-aea6-0f4618ae4ec1 /dev/urandom swap,offset=1024,cipher=aes-xts-plain64

Il faut enregistrer dans l'éditeur de texte gedit et fermer gedit

Ensuite, il faut éditer le fichier fstab afin de commenter la ligne de montage de la swap en passant la commande suivante :

gksudo gedit /etc/fstab

AVANT MODIF :

/dev/mapper/cryptswap1 none swap sw 0 0

APRÈS MODIF :

#/dev/mapper/cryptswap1 none swap sw 0 0

enregistrer dans gedit et fermer

Dernière modification par malbo (Le 31/03/2018, à 15:56)

Hors ligne

#28 Le 04/04/2018, à 12:17

rouflak8

Re : Systeme Ubuntu qui ne redémarre pas

Bonjour à vous,

Je pense être le roi des abrutis... j'attendais vos réponses sans avoir vu quelles se trouvaient sur une deuxième page !

Bref.

?? a écrit :

Pour réparer, un point de situation s'impose
Donnes le retour de

moi@moi-HP-Spectre-x360-Convertible:~$ sudo fdisk -l
[sudo] Mot de passe de moi : 
Disque /dev/sda : 238,5 GiB, 256060514304 octets, 500118192 secteurs
Unités : sectors of 1 * 512 = 512 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2F63CB95-17AC-47AA-9408-A7172011B12F

Périphérique     Start       Fin  Secteurs   Size Type
/dev/sda1    484163584 500117503  15953920   7,6G EFI System
/dev/sda2      1050624 484163583 483112960 230,4G Linux filesystem

Partition table entries are not in disk order.
moi@moi-HP-Spectre-x360-Convertible:~$ df -h
Sys. de fichiers        Taille Utilisé Dispo Uti% Monté sur
udev                      3,9G       0  3,9G   0% /dev
tmpfs                     789M    9,5M  780M   2% /run
/dev/sda2                 227G    139G   77G  65% /
tmpfs                     3,9G     21M  3,9G   1% /dev/shm
tmpfs                     5,0M    4,0K  5,0M   1% /run/lock
tmpfs                     3,9G       0  3,9G   0% /sys/fs/cgroup
/dev/sda1                 7,6G    4,5M  7,6G   1% /boot/efi
tmpfs                     789M     52K  789M   1% /run/user/1000
/home/moi/.Private   227G    139G   77G  65% /home/moi
baptiste@baptiste-HP-Spectre-x360-Convertible:~$ cat /etc/fstab | grep -v "#"
UUID=17abc851-50f6-4593-a392-35d3cf52407c /               ext4    errors=remount-ro 0       1
/dev/mapper/cryptswap1 none swap sw 0 0
UUID=A76D-5456	/boot/efi	vfat	defaults	0	1
baptiste@baptiste-HP-Spectre-x360-Convertible:~$ cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=1cff6a32-1773-4ab2-ae65-3b4368c4adc0
baptiste@baptiste-HP-Spectre-x360-Convertible:~$ free -m
              total       utilisé      libre     partagé tamp/cache   disponible
Mem:           7885        1126        5299         378        1459        6074
Partition d'échange:           0           0           0

Hors ligne

#29 Le 04/04/2018, à 12:23

rouflak8

Re : Systeme Ubuntu qui ne redémarre pas

malbo a écrit :

Il faut déjà installer gksu en vue d'utiliser gksudo : https://forum.ubuntu-fr.org/viewtopic.p … #p19459481
Ensuite, il faut éditer le fichier /etc/crypttab avec pouvoir administrateur en passant la commande suivante :

gksudo gedit /etc/crypttab 

Dans le fichier en question qui s'est ouvert dans gedit, il faut commenter la ligne qui pose problème, c'est à dire ajouter le caractère # en tête de ligne afin que la ligne soit assimilée à un commentaire.
AVANT MODIF :

cryptswap1 UUID=6648bfa9-5875-4ff7-aea6-0f4618ae4ec1 /dev/urandom swap,offset=1024,cipher=aes-xts-plain64

APRÈS MODIF :

#cryptswap1 UUID=6648bfa9-5875-4ff7-aea6-0f4618ae4ec1 /dev/urandom swap,offset=1024,cipher=aes-xts-plain64

Il faut enregistrer dans l'éditeur de texte gedit et fermer gedit

Ensuite, il faut éditer le fichier fstab afin de commenter la ligne de montage de la swap en passant la commande suivante :

gksudo gedit /etc/fstab

AVANT MODIF :

/dev/mapper/cryptswap1 none swap sw 0 0

APRÈS MODIF :

#/dev/mapper/cryptswap1 none swap sw 0 0

enregistrer dans gedit et fermer

Malbo je te remercie...

Documentation Ubuntu a écrit :

Pré-requis: comprendre l'action que vous allez effectuer

Toute tâche d'administration est sensible, et il n'est pas forcément facile de revenir en arrière. Il est vivement conseillé de chercher à comprendre les lignes de commande que vous exécuterez, par exemple en utilisant man, car en cas d'erreur, la réinstallation complète du système est parfois l'unique option.

C'est pourquoi je cherche à comprendre ce que gksudo implique et je suivrai tes conseils ensuite... wink big_smile

Hors ligne

#30 Le 04/04/2018, à 13:32

malbo

Re : Systeme Ubuntu qui ne redémarre pas

On donne une info générale sur gksudo dans les doc Droits de super utilisateur et Sudo : effectuez des tâches administratives. Il y aussi des exemples pratiques d'utilisation dans la doc Comment modifier un fichier ?

EDIT : il me semble que l'explication la plus claire est donnée dans le paragraphe 2.5 Quand doit-on utiliser sudo/gksudo/kdesudo ?

Dernière modification par malbo (Le 04/04/2018, à 13:40)

Hors ligne

#31 Le 04/04/2018, à 16:54

rouflak8

Re : Systeme Ubuntu qui ne redémarre pas

malbo a écrit :

On donne une info générale sur gksudo dans les doc Droits de super utilisateur et Sudo : effectuez des tâches administratives. Il y aussi des exemples pratiques d'utilisation dans la doc Comment modifier un fichier ?

EDIT : il me semble que l'explication la plus claire est donnée dans le paragraphe 2.5 Quand doit-on utiliser sudo/gksudo/kdesudo ?

Bon je pense avoir compris l'intérêt de gksudo mais je ne comprends pas l'intérêt de passer par gedit pour commenter ces lignes. Pour quoi cela ne peut pas se faire par le terminal ?

Hors ligne

#32 Le 04/04/2018, à 17:13

Nasman

Re : Systeme Ubuntu qui ne redémarre pas

rouflak8 a écrit :

Bon je pense avoir compris l'intérêt de gksudo mais je ne comprends pas l'intérêt de passer par gedit pour commenter ces lignes. Pour quoi cela ne peut pas se faire par le terminal ?

Ce qu'on fait avec un

gksudo gedit le_fichier_à_modifier

peut tout aussi bien être fait avec nano (non graphique)

sudo nano le_fichier_à_modifier

mais c'est "moins joli à employer"

Nota: le jour où tu ne pourras pas ouvrir de session graphique, tu seras content de pouvoir utiliser nano.


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#33 Le 04/04/2018, à 19:39

rouflak8

Re : Systeme Ubuntu qui ne redémarre pas

malbo a écrit :

Il faut déjà installer gksu en vue d'utiliser gksudo : https://forum.ubuntu-fr.org/viewtopic.p … #p19459481
Ensuite, il faut éditer le fichier /etc/crypttab avec pouvoir administrateur en passant la commande suivante :

gksudo gedit /etc/crypttab 

Dans le fichier en question qui s'est ouvert dans gedit, il faut commenter la ligne qui pose problème, c'est à dire ajouter le caractère # en tête de ligne afin que la ligne soit assimilée à un commentaire.
AVANT MODIF :

cryptswap1 UUID=6648bfa9-5875-4ff7-aea6-0f4618ae4ec1 /dev/urandom swap,offset=1024,cipher=aes-xts-plain64

APRÈS MODIF :

#cryptswap1 UUID=6648bfa9-5875-4ff7-aea6-0f4618ae4ec1 /dev/urandom swap,offset=1024,cipher=aes-xts-plain64

Il faut enregistrer dans l'éditeur de texte gedit et fermer gedit

Ensuite, il faut éditer le fichier fstab afin de commenter la ligne de montage de la swap en passant la commande suivante :

gksudo gedit /etc/fstab

AVANT MODIF :

/dev/mapper/cryptswap1 none swap sw 0 0

APRÈS MODIF :

#/dev/mapper/cryptswap1 none swap sw 0 0

enregistrer dans gedit et fermer

Voilà c'est fait... et c'est nettement mieux !!
Merci à tous.

Faut-il que je publie les retours des commandes ou d'autres tests ?

Est-ce que je peux aussi réduire ma partition boot au minimum ? Et faut-il que je recrée une partition SWAP ?

?? a écrit :

Pour fonctionner, le  logiciel mets les données dans la RAM.    Il peut arriver que celle-ci soit trop petite, dans ce cas, on en enlève temporairement un peu qu'on stocke dans la partition SWAP.    Il peut arriver que tu choisisses d'hiberner au lieu d'arrêter, dans ce cas, on met tout le contenu de la RAM dans cette partition swap qui doit donc avoir une taille équivalente à celle de la RAM.

Il se trouve que tu as décidé de chiffrer tes données... qui peuvent se trouver dans la RAM, donc celle-ci est aussi chiffrée.

Au vu de ce que tu me dis, cela me semble important !

Dernière modification par rouflak8 (Le 04/04/2018, à 19:52)

Hors ligne

#34 Le 05/04/2018, à 09:21

malbo

Re : Systeme Ubuntu qui ne redémarre pas

Bonjour,
Pour avoir un nouvel état des lieux, ce serait utile que tu fasses un Boot-Info depuis une session de ton Ubuntu installé en suivant les indications de la partie "Cas où au moins un ubuntu installé sur disque est opérationnel" du paragraphe 1.1 Installation puis en lançant le Boot-Info suivant 1.2 Utilisation. Tu donneras l'URL de ce Boot-Info dans ta réponse.

Hors ligne

#35 Le 05/04/2018, à 17:41

rouflak8

Re : Systeme Ubuntu qui ne redémarre pas

malbo a écrit :

Bonjour,
Pour avoir un nouvel état des lieux, ce serait utile que tu fasses un Boot-Info depuis une session de ton Ubuntu installé en suivant les indications de la partie "Cas où au moins un ubuntu installé sur disque est opérationnel" du paragraphe 1.1 Installation puis en lançant le Boot-Info suivant 1.2 Utilisation. Tu donneras l'URL de ce Boot-Info dans ta réponse.

http://paste.ubuntu.com/p/CSTXzSsD3b/

Hors ligne

#36 Le 05/04/2018, à 18:01

malbo

Re : Systeme Ubuntu qui ne redémarre pas

Ton dernier Boot-Info est là :

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


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

 => No boot loader is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /EFI/ubuntu/grub.cfg /EFI/Boot/bootx64.efi 
                       /EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi 
                       /EFI/ubuntu/shimx64.efi

sda2: __________________________________________________________________________

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

sdb: ___________________________________________________________________________

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

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

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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

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


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1           484,163,584   500,117,503    15,953,920 EFI System partition
/dev/sda2             1,050,624   484,163,583   483,112,960 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        A76D-5456                              vfat       
/dev/sda2        17abc851-50f6-4593-a392-35d3cf52407c   ext4       
/dev/sdb         3609-33A1                              vfat       USB-classe

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

total 0
lrwxrwxrwx 1 root root  9 Apr  5 17:40 ata-LITEON_L8H-256V2G-HP_002608103C0M -> ../../sda
lrwxrwxrwx 1 root root 10 Apr  5 17:40 ata-LITEON_L8H-256V2G-HP_002608103C0M-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr  5 17:40 ata-LITEON_L8H-256V2G-HP_002608103C0M-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 Apr  5 17:40 usb-Generic_Flash_Disk_594F83F1-0:0 -> ../../sdb
lrwxrwxrwx 1 root root  9 Apr  5 17:40 wwn-0x50023031007f384a -> ../../sda
lrwxrwxrwx 1 root root 10 Apr  5 17:40 wwn-0x50023031007f384a-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr  5 17:40 wwn-0x50023031007f384a-part2 -> ../../sda2

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

Device           Mount_Point              Type       Options

/dev/sda1        /boot/efi                vfat       (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda2        /                        ext4       (rw,relatime,errors=remount-ro,data=ordered)
/dev/sdb         /media/baptiste/USB-classe vfat       (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)


========================== sda1/EFI/ubuntu/grub.cfg: ===========================

--------------------------------------------------------------------------------
search.fs_uuid 17abc851-50f6-4593-a392-35d3cf52407c root hd0,gpt2 
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------

=========================== sda2/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,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  17abc851-50f6-4593-a392-35d3cf52407c
else
  search --no-floppy --fs-uuid --set=root 17abc851-50f6-4593-a392-35d3cf52407c
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
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-17abc851-50f6-4593-a392-35d3cf52407c' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,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  17abc851-50f6-4593-a392-35d3cf52407c
	else
	  search --no-floppy --fs-uuid --set=root 17abc851-50f6-4593-a392-35d3cf52407c
	fi
	linux	/boot/vmlinuz-4.13.0-37-generic.efi.signed root=UUID=17abc851-50f6-4593-a392-35d3cf52407c ro  quiet splash $vt_handoff
	initrd	/boot/initrd.img-4.13.0-37-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-17abc851-50f6-4593-a392-35d3cf52407c' {
	menuentry 'Ubuntu, avec Linux 4.13.0-37-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-37-generic-advanced-17abc851-50f6-4593-a392-35d3cf52407c' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,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  17abc851-50f6-4593-a392-35d3cf52407c
		else
		  search --no-floppy --fs-uuid --set=root 17abc851-50f6-4593-a392-35d3cf52407c
		fi
		echo	'Chargement de Linux 4.13.0-37-generic…'
		linux	/boot/vmlinuz-4.13.0-37-generic.efi.signed root=UUID=17abc851-50f6-4593-a392-35d3cf52407c ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.13.0-37-generic
	}
	menuentry 'Ubuntu, with Linux 4.13.0-37-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-37-generic-init-upstart-17abc851-50f6-4593-a392-35d3cf52407c' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,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  17abc851-50f6-4593-a392-35d3cf52407c
		else
		  search --no-floppy --fs-uuid --set=root 17abc851-50f6-4593-a392-35d3cf52407c
		fi
		echo	'Chargement de Linux 4.13.0-37-generic…'
		linux	/boot/vmlinuz-4.13.0-37-generic.efi.signed root=UUID=17abc851-50f6-4593-a392-35d3cf52407c ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.13.0-37-generic
	}
	menuentry 'Ubuntu, with Linux 4.13.0-37-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-37-generic-recovery-17abc851-50f6-4593-a392-35d3cf52407c' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		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  17abc851-50f6-4593-a392-35d3cf52407c
		else
		  search --no-floppy --fs-uuid --set=root 17abc851-50f6-4593-a392-35d3cf52407c
		fi
		echo	'Chargement de Linux 4.13.0-37-generic…'
		linux	/boot/vmlinuz-4.13.0-37-generic.efi.signed root=UUID=17abc851-50f6-4593-a392-35d3cf52407c ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.13.0-37-generic
	}
	menuentry 'Ubuntu, avec Linux 4.13.0-36-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-36-generic-advanced-17abc851-50f6-4593-a392-35d3cf52407c' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,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  17abc851-50f6-4593-a392-35d3cf52407c
		else
		  search --no-floppy --fs-uuid --set=root 17abc851-50f6-4593-a392-35d3cf52407c
		fi
		echo	'Chargement de Linux 4.13.0-36-generic…'
		linux	/boot/vmlinuz-4.13.0-36-generic.efi.signed root=UUID=17abc851-50f6-4593-a392-35d3cf52407c ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.13.0-36-generic
	}
	menuentry 'Ubuntu, with Linux 4.13.0-36-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-36-generic-init-upstart-17abc851-50f6-4593-a392-35d3cf52407c' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,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  17abc851-50f6-4593-a392-35d3cf52407c
		else
		  search --no-floppy --fs-uuid --set=root 17abc851-50f6-4593-a392-35d3cf52407c
		fi
		echo	'Chargement de Linux 4.13.0-36-generic…'
		linux	/boot/vmlinuz-4.13.0-36-generic.efi.signed root=UUID=17abc851-50f6-4593-a392-35d3cf52407c ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.13.0-36-generic
	}
	menuentry 'Ubuntu, with Linux 4.13.0-36-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.13.0-36-generic-recovery-17abc851-50f6-4593-a392-35d3cf52407c' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		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  17abc851-50f6-4593-a392-35d3cf52407c
		else
		  search --no-floppy --fs-uuid --set=root 17abc851-50f6-4593-a392-35d3cf52407c
		fi
		echo	'Chargement de Linux 4.13.0-36-generic…'
		linux	/boot/vmlinuz-4.13.0-36-generic.efi.signed root=UUID=17abc851-50f6-4593-a392-35d3cf52407c ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/boot/initrd.img-4.13.0-36-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/25_custom ###

menuentry "EFI/ubuntu/mmx64.efi" {
search --fs-uuid --no-floppy --set=root A76D-5456
chainloader (${root})/EFI/ubuntu/mmx64.efi
}
### END /etc/grub.d/25_custom ###

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

=============================== sda2/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/sda2 during installation
UUID=17abc851-50f6-4593-a392-35d3cf52407c /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
#UUID=E74B-7981  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/sda3 during installation
#UUID=6648bfa9-5875-4ff7-aea6-0f4618ae4ec1 none            swap    sw              0       0
#/dev/mapper/cryptswap1 none swap sw 0 0
UUID=A76D-5456	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

  84.689590454 = 90.934755328   boot/grub/grub.cfg                             1
  95.945655823 = 103.020863488  boot/vmlinuz-4.13.0-36-generic                 1
  97.824565887 = 105.038327808  boot/vmlinuz-4.13.0-36-generic.efi.signed      1
 102.445655823 = 110.000185344  boot/vmlinuz-4.13.0-37-generic                 1
  38.687847137 = 41.540759552   boot/vmlinuz-4.13.0-37-generic.efi.signed      2
 102.445655823 = 110.000185344  vmlinuz                                        1
  95.945655823 = 103.020863488  vmlinuz.old                                    1
  97.743064880 = 104.950816768  boot/initrd.img-4.13.0-36-generic              4
  45.836307526 = 49.216360448   boot/initrd.img-4.13.0-37-generic              3
  45.836307526 = 49.216360448   initrd.img                                     3
  97.743064880 = 104.950816768  initrd.img.old                                 4


ADDITIONAL INFORMATION :
=================== log of boot-info 20180405_1740 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
boot-info is executed in installed-session (Ubuntu 16.04.4 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-4.13.0-37-generic.efi.signed root=UUID=17abc851-50f6-4593-a392-35d3cf52407c ro quiet splash vt.handoff=7
sdb may have broken partition table.
sdb may have broken partition table.

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

=================== blkid:
/dev/sda1: UUID="A76D-5456" TYPE="vfat" PARTUUID="91dfc96d-b0b0-4fc9-bfd4-924d6e4ce0ae"
/dev/sda2: UUID="17abc851-50f6-4593-a392-35d3cf52407c" TYPE="ext4" PARTUUID="afec37d1-1618-4075-bb27-15d2aa1efe23"
/dev/sdb: LABEL="USB-classe" UUID="3609-33A1" TYPE="vfat"


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 mars  25 09:08 grub.d
total 84
-rwxr-xr-x 1 root root  9791 janv. 13  2017 00_header
-rwxr-xr-x 1 root root  6258 mars  15  2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 mars  24  2017 10_linux
-rwxr-xr-x 1 root root 11082 janv. 13  2017 20_linux_xen
-rwxr-xr-x 1 root root  1992 janv. 28  2016 20_memtest86+
-rwxr-xr-x 1 root root   160 mars  25 09:08 25_custom
-rwxr-xr-x 1 root root 11692 janv. 13  2017 30_os-prober
-rwxr-xr-x 1 root root  1418 janv. 13  2017 30_uefi-firmware
-rwxr-xr-x 1 root root   214 janv. 13  2017 40_custom
-rwxr-xr-x 1 root root   216 janv. 13  2017 41_custom
-rw-r--r-- 1 root root   483 janv. 13  2017 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 sda2: UUID=A76D-5456	 (sda1)
Presence of EFI/Boot file detected: /boot/efi/EFI/Boot/bootx64.efi

=================== efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0004,0005,9999
Boot0000* ubuntu	HD(1,GPT,91dfc96d-b0b0-4fc9-bfd4-924d6e4ce0ae,0x1cdbc000,0xf37000)/File(EFIubuntushimx64.efi)
Boot0004* Windows Boot Manager	HD(1,GPT,b8e2034a-3d1a-4c6b-b8a0-20ef6241b5f7,0x800,0x82000)/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.}...9................
Boot0005* Solid State Disk	PciRoot(0x0)/Pci(0x17,0x0)/Sata(1,65535,0)/HD(1,GPT,91dfc96d-b0b0-4fc9-bfd4-924d6e4ce0ae,0x1cdbc000,0xf37000)..BO
Boot9999* USB Drive (UEFI)	PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)..BO

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


=================== PARTITIONS & DISKS:
sda2	: sda,	not-sepboot,	grubenv-ok	grub2,	signed grub-efi ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-without-boot,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	farbios,	notbiosboot, .
sda1	: 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,	farbios,	notbiosboot, /boot/efi.

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


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

BYT;
/dev/sda:256GB:scsi:512:512:gpt:ATA LITEON L8H-256V2:;
2:538MB:248GB:247GB:ext4::;
1:248GB:256GB:8168MB:fat32::boot, esp;

BYT;
/dev/sdb:4028MB:scsi:512:512:loop:Generic Flash Disk:;
1:0.00B:4028MB:4028MB:fat32::;

=================== lsblk:
KNAME TYPE FSTYPE   SIZE LABEL
sdb   disk vfat     3,8G USB-classe
sda   disk        238,5G
sda2  part ext4   230,4G
sda1  part vfat     7,6G

KNAME ROTA RO RM STATE   MOUNTPOINT
sdb      1  0  1 running /media/baptiste/USB-classe
sda      0  0  0 running
sda2     0  0  0         /
sda1     0  0  0         /boot/efi


=================== 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=4011052k,nr_inodes=1002763,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=807512k,mode=755)
/dev/sda2 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)
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/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=33,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=1509)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda1 on /boot/efi type vfat (rw,relatime,fmask=0022,dmask=0022,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=807512k,mode=700,uid=1000,gid=1000)
/home/.ecryptfs/baptiste/.Private on /home/baptiste type ecryptfs (rw,nosuid,nodev,relatime,ecryptfs_fnek_sig=4736daaf9d920097,ecryptfs_sig=6c7eceb458ab49cb,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
/dev/sdb on /media/baptiste/USB-classe type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri drm_dp_aux0 drm_dp_aux1 ecryptfs fb0 fd full fuse hidraw0 HID-SENSOR-2000e1.11.auto HID-SENSOR-2000e1.12.auto HID-SENSOR-2000e1.13.auto HID-SENSOR-2000e1.14.auto HID-SENSOR-2000e1.15.auto HID-SENSOR-2000e1.17.auto HID-SENSOR-2000e1.19.auto HID-SENSOR-2000e1.1.auto HID-SENSOR-2000e1.21.auto HID-SENSOR-2000e1.22.auto HID-SENSOR-2000e1.23.auto HID-SENSOR-2000e1.26.auto HID-SENSOR-2000e1.28.auto HID-SENSOR-2000e1.29.auto HID-SENSOR-2000e1.2.auto HID-SENSOR-2000e1.31.auto HID-SENSOR-2000e1.32.auto HID-SENSOR-2000e1.33.auto HID-SENSOR-2000e1.36.auto HID-SENSOR-2000e1.38.auto HID-SENSOR-2000e1.39.auto HID-SENSOR-2000e1.3.auto HID-SENSOR-2000e1.41.auto HID-SENSOR-2000e1.42.auto HID-SENSOR-2000e1.43.auto HID-SENSOR-2000e1.44.auto HID-SENSOR-2000e1.45.auto HID-SENSOR-2000e1.46.auto HID-SENSOR-2000e1.47.auto HID-SENSOR-2000e1.48.auto HID-SENSOR-2000e1.4.auto HID-SENSOR-2000e1.50.auto HID-SENSOR-2000e1.51.auto HID-SENSOR-2000e1.52.auto HID-SENSOR-2000e1.53.auto HID-SENSOR-2000e1.54.auto HID-SENSOR-2000e1.55.auto HID-SENSOR-2000e1.56.auto HID-SENSOR-2000e1.57.auto HID-SENSOR-2000e1.5.auto HID-SENSOR-2000e1.7.auto HID-SENSOR-2000e1.9.auto hpet hugepages hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 iio:device0 iio:device1 iio:device2 iio:device3 iio:device4 iio:device5 iio:device6 iio:device7 iio:device8 iio:device9 initctl input kmsg lightnvm log mapper mcelog media0 mei0 mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sdb sg0 sg1 shm snapshot snd stderr stdin stdout tpm0 tpmrm0 uhid uinput urandom usb userio v4l vfio vga_arbiter vhci vhost-net vhost-vsock video0 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda1
00000000  eb 58 90 6d 6b 66 73 2e  66 61 74 00 02 08 20 00  |.X.mkfs.fat... .|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 c0 db 1c  |........?.......|
00000020  00 70 f3 00 be 3c 00 00  00 00 00 00 02 00 00 00  |.p...<..........|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 56 54 6d a7 20  20 20 20 20 20 20 20 20  |..)VTm.         |
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  3.9G     0  3.9G   0% /dev
tmpfs                   tmpfs     789M  9.6M  780M   2% /run
/dev/sda2               ext4      227G  141G   75G  66% /
tmpfs                   tmpfs     3.9G   44M  3.9G   2% /dev/shm
tmpfs                   tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs                   tmpfs     3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/sda1               vfat      7.6G  4.5M  7.6G   1% /boot/efi
tmpfs                   tmpfs     789M   64K  789M   1% /run/user/1000
/home/baptiste/.Private ecryptfs  227G  141G   75G  66% /home/baptiste
/dev/sdb                vfat      3.8G  1.9G  1.9G  51% /media/baptiste/USB-classe

=================== fdisk -l:
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2F63CB95-17AC-47AA-9408-A7172011B12F

Device         Start       End   Sectors   Size Type
/dev/sda1  484163584 500117503  15953920   7.6G EFI System
/dev/sda2    1050624 484163583 483112960 230.4G Linux filesystem

Partition table entries are not in disk order.


Disk /dev/sdb: 3.8 GiB, 4027580416 bytes, 7866368 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: 0x00000000




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


=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le fichier sda1/efi/.../grub*.efi !

Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 16.04.4 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/efi (FAT32, 100MB~250MB, en début de disque, drapeau boot). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot/efi séparée :] de [Boot-Repair].


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

Je pense que les modifs que je t'avais demandé de faire dans le post #27 sont bien passées. Normalement, le temps de démarrage de l'ordi doit être redevenu normal. Pour ce qui est de rajouter une partition swap, moi je me dégonfle (pas trop envie de me prendre le chou avec ça ce soir) mais peut-être qu'un plus courageux pourra t'assister.

Hors ligne

#37 Le 06/04/2018, à 08:41

rouflak8

Re : Systeme Ubuntu qui ne redémarre pas

Malbo a écrit :

Pour ce qui est de rajouter une partition swap, moi je me dégonfle (pas trop envie de me prendre le chou avec ça ce soir) mais peut-être qu'un plus courageux pourra t'assister.

Ah ah ah ! Merci quand même car, effectivement, mon temps de démarrage est redevenu normal.

Dernière modification par rouflak8 (Le 06/04/2018, à 08:41)

Hors ligne

#38 Le 06/04/2018, à 08:56

malbo

Re : Systeme Ubuntu qui ne redémarre pas

Bonjour,
Le retour de la commande "free -m" que tu as collé dans ton post #28 montre que tu as 8 Go de RAM. Selon moi, ce n'est pas nécessaire de créer une partition swap.

Dernière modification par malbo (Le 06/04/2018, à 09:00)

Hors ligne

#39 Le 09/04/2018, à 10:06

rouflak8

Re : Systeme Ubuntu qui ne redémarre pas

Bonjour,
Merci Malbo, je commence à me faire à cette idée puisque mon ordi fonctionne correctement sans cette partition depuis ma réparation maladroite. Ce qui me pose problème c'est :

?? a écrit :

Il peut arriver que tu choisisses d'hiberner au lieu d'arrêter, dans ce cas, on met tout le contenu de la RAM dans cette partition swap

Il m'arrive souvent de mettre mon ordi en veille plutôt que de l'éteindre. Je n'ai encor rien perdu mais je veux être certain que cela ne m'arrivera pas !

Hors ligne

#40 Le 09/04/2018, à 10:24

malbo

Re : Systeme Ubuntu qui ne redémarre pas

Bonjour,
La mise en veille et l'hibernation sont différentes. Tu trouveras une explication sur ce sujet dans l'introduction de la doc Mise en veille / Hibernation. Cela dit, mettre en veille son ordi pour aller pisser, c'est normal mais le laisser en veille pendant des heures, voire toute la nuit, moi je ne trouve pas ça normal et prudent. Il faut l'éteindre et basta.

Dernière modification par malbo (Le 09/04/2018, à 10:25)

Hors ligne

#41 Le 09/04/2018, à 17:37

??

Re : Systeme Ubuntu qui ne redémarre pas

Bonjour,
En théorie, une batterie bien chargée, avec un logiciel pas idiot, doit te permettre  de t'absenter  1 mois. Mais il y a des bugs que j'ai vu passer: il peut arriver qu'en 4 heures, elle se trouve déchargée! Le logiciel bien fait, fait alors le nécessaire pour écrire le contenu de la RAM sur le disque dur avant la décharge complète.
Il faut donc une partition de swap  avec une hibernation  opérationnelle pour ne prendre aucun risque.

Mais voila: La version 18.04  empêche la création d'une partition de swap et  oblige même à supprimer les partitions de swap existantes.!!!! (Dans le contexte sécurisé).


Autrement, sous toute réserve.
  1) Refabriquer une partition  non formatée de 8 go avec gparted  ( sdaX )
  2) La formater en swap crypté   .   Il me semble que c'est bien décrit au paragraphe 3.10 de https://doc.ubuntu-fr.org/swap#une_part … p_chiffree

   sudo mkswap /dev/sdaX
   sudo swapon /dev/sdaX
   sudo ecryptfs-setup-swap 
   

  3) Revérifier que l'hybernation refonctionne   décrit au paragraphe 2  de https://doc.ubuntu-fr.org/tutoriel/acti … fonctionne

  sudo update-initramfs -u -k $(uname -r)
   sudo pm-hibernate

4)  Pour utilisation volontaire de l'hibernation,
      Faire apparaitre le choix d'hibernation à l'arrêt s'il n'est pas encore proposé  paragraphe 3 de sudo https://doc.ubuntu-fr.org/tutoriel/acti … ibernation

Dernière modification par ?? (Le 09/04/2018, à 17:39)


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

Hors ligne