Contenu | Rechercher | Menus

Annonce

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

À propos de l'équipe du forum.

#1 Le 09/05/2018, à 08:56

malbo

[Résolu] 18.04 Chiffrer la nouvelle install de Ubuntu pour la sécurité

Il s'agit de la proposition qui est faite à l'étape "Type d'installation" comme on peut voir sur cette vue (case à cocher*)   
Enfin les développeurs ont décidé d'améliorer cette fonctionnalité pour Ubuntu 18.04 et je pense qu'il y a du mieux même si je déconseille aux novices d'adopter ce chiffrement parce que c'est une source d'emmerdes à long terme. Les développeurs ont œuvré pour tenter de résoudre le Bug #1047384 qui existe depuis la sortie de Ubuntu 12.10 en 2012. Plus de 5 ans pour analyser le problème et tenter une amélioration, c'est bien long. Ce qu'ils ont fait pour la 18.04 : ils ont modifié le séquencement de Ubiquity - l'installateur de Ubuntu - afin que le choix du clavier soit fait avant le choix de la passphrase (la clé de sécurité). On peut voir ça dans le commentaire #48 du rapport de bug : "Moved keyboard step as early as possible". Faire plus concis comme commentaire, c'est dur. On va voir ce que ça donne en image :   
1525848671.png1525848705.png1525848738.png1525848783.png1525848862.png1525848896.png1525848928.png1525848969.png
Sur la troisième vue (Disposition du clavier), c'était "Français-Français (variante obsolète)" qui était présélectionné par défaut. J'ai dû sélectionner "Français-Français (azerty)" pour que tout se passe bien. Avec le choix par défaut, j'étais en qwerty à l'étape ultérieure "Qui êtes vous ?" de l'installation et plus grave, ma passphrase avait été prise en qwerty...

Moyennant cette sélection de "Français-Français (azerty)", la procédure d'installation se passe bien et va à son terme sans pb. Et surtout, au redémarrage de l'ordi je peux rentrer ma passphrase (ma clé de sécurité) comme je l'ai rentrée (sans devoir la traduire en qwerty) et rentrer aussi mon mot de passe sans souci à la connexion de session.

(*) à noter : quand on coche la case "Chiffrer la nouvelle installation de Ubuntu pour la sécurité", la case "Utiliser LVM pour la nouvelle installation de Ubuntu" se retrouve cochée automatiquement. C'est normal parce que ce type de chiffrement implique l'utilisation de LVM.

Dernière modification par malbo (Le 22/04/2019, à 13:33)

Hors ligne

#2 Le 09/05/2018, à 10:50

malbo

Re : [Résolu] 18.04 Chiffrer la nouvelle install de Ubuntu pour la sécurité

En complément de mon post #1, je colle ci-dessous un rapport Boot-Info réalisé depuis une session live de Ubuntu 18.04 :

 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/fbx64.efi 
                       /EFI/emmabuntus/grubx64.efi /EFI/ubuntu/fwupx64.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:  
    Boot files:        /grub/grub.cfg

sda3: __________________________________________________________________________

    File system:       crypto_LUKS
    Boot sector type:  Unknown
    Boot sector info: 

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 32 GiB, 34359738368 bytes, 67108864 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    67,108,863    67,108,863  ee GPT


GUID Partition Table detected.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sda1                 2,048     1,050,623     1,048,576 EFI System partition
/dev/sda2             1,050,624     2,549,759     1,499,136 Data partition (Linux)
/dev/sda3             2,549,760    67,106,815    64,557,056 Data partition (Linux)

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

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/loop1                                              squashfs   
/dev/loop2                                              squashfs   
/dev/loop3                                              squashfs   
/dev/loop4                                              squashfs   
/dev/loop5                                              squashfs   
/dev/loop6                                              squashfs   
/dev/sda1        3FBA-1C01                              vfat       
/dev/sda2        448b1141-5bc3-4d28-8ead-3ed3e162a4ab   ext4       
/dev/sda3        1c080a65-4b68-4a1d-9d90-02df591f6571   crypto_LUKS 
/dev/sr0         2018-04-26-18-43-51-00                 iso9660    Ubuntu 18.04 LTS amd64

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

total 0
lrwxrwxrwx 1 root root  9 May  9 08:34 ata-VBOX_CD-ROM_VB1-1a2b3c4d -> ../../sr0
lrwxrwxrwx 1 root root  9 May  9 08:38 ata-VBOX_HARDDISK_VB0ca47e3c-9e016ce6 -> ../../sda
lrwxrwxrwx 1 root root 10 May  9 08:39 ata-VBOX_HARDDISK_VB0ca47e3c-9e016ce6-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May  9 08:39 ata-VBOX_HARDDISK_VB0ca47e3c-9e016ce6-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May  9 08:39 ata-VBOX_HARDDISK_VB0ca47e3c-9e016ce6-part3 -> ../../sda3

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sr0         /cdrom                   iso9660    (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)


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

--------------------------------------------------------------------------------
search.fs_uuid 448b1141-5bc3-4d28-8ead-3ed3e162a4ab root hd0,gpt2 
set prefix=($root)'/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------

============================= sda2/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  448b1141-5bc3-4d28-8ead-3ed3e162a4ab
else
  search --no-floppy --fs-uuid --set=root 448b1141-5bc3-4d28-8ead-3ed3e162a4ab
fi
    font="/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=hidden
    set timeout=0
  # Fallback hidden-timeout code in case the timeout_style feature is
  # unavailable.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

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

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=1
	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-080f0794-0ac3-4fe1-92ef-0a28f8521b50' {
	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  448b1141-5bc3-4d28-8ead-3ed3e162a4ab
	else
	  search --no-floppy --fs-uuid --set=root 448b1141-5bc3-4d28-8ead-3ed3e162a4ab
	fi
        linux	/vmlinuz-4.15.0-20-generic root=/dev/mapper/ubuntu--vg-root ro  quiet splash $vt_handoff
	initrd	/initrd.img-4.15.0-20-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-080f0794-0ac3-4fe1-92ef-0a28f8521b50' {
	menuentry 'Ubuntu, avec Linux 4.15.0-20-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-20-generic-advanced-080f0794-0ac3-4fe1-92ef-0a28f8521b50' {
		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  448b1141-5bc3-4d28-8ead-3ed3e162a4ab
		else
		  search --no-floppy --fs-uuid --set=root 448b1141-5bc3-4d28-8ead-3ed3e162a4ab
		fi
		echo	'Chargement de Linux 4.15.0-20-generic…'
	        linux	/vmlinuz-4.15.0-20-generic root=/dev/mapper/ubuntu--vg-root ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-4.15.0-20-generic
	}
	menuentry 'Ubuntu, with Linux 4.15.0-20-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.15.0-20-generic-recovery-080f0794-0ac3-4fe1-92ef-0a28f8521b50' {
		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  448b1141-5bc3-4d28-8ead-3ed3e162a4ab
		else
		  search --no-floppy --fs-uuid --set=root 448b1141-5bc3-4d28-8ead-3ed3e162a4ab
		fi
		echo	'Chargement de Linux 4.15.0-20-generic…'
	        linux	/vmlinuz-4.15.0-20-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-4.15.0-20-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 ###
### 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: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

   0.703796387 = 0.755695616    grub/grub.cfg                                  2
   0.642169952 = 0.689524736    vmlinuz-4.15.0-20-generic                      1
   0.842903137 = 0.905060352    initrd.img-4.15.0-20-generic                   1

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

Unknown BootLoader on sda3

00000000  4c 55 4b 53 ba be 00 01  61 65 73 00 00 00 00 00  |LUKS....aes.....|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  00 00 00 00 00 00 00 00  78 74 73 2d 70 6c 61 69  |........xts-plai|
00000030  6e 36 34 00 00 00 00 00  00 00 00 00 00 00 00 00  |n64.............|
00000040  00 00 00 00 00 00 00 00  73 68 61 32 35 36 00 00  |........sha256..|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000060  00 00 00 00 00 00 00 00  00 00 10 00 00 00 00 40  |...............@|
00000070  f3 db fd 08 c8 ba da 0a  81 09 72 b6 7e e6 fc cb  |..........r.~...|
00000080  73 0a f8 2d ce f1 21 11  e0 87 35 33 99 a2 7d e1  |s..-..!...53..}.|
00000090  88 2f de 9c 62 d5 ef 3f  67 5a bc 7c 03 81 17 f0  |./..b..?gZ.|....|
000000a0  9e b4 76 ad 00 00 7d 1f  31 63 30 38 30 61 36 35  |..v...}.1c080a65|
000000b0  2d 34 62 36 38 2d 34 61  31 64 2d 39 64 39 30 2d  |-4b68-4a1d-9d90-|
000000c0  30 32 64 66 35 39 31 66  36 35 37 31 00 00 00 00  |02df591f6571....|
000000d0  00 ac 71 f3 00 07 d1 f4  17 1e 89 db f4 26 f3 ee  |..q..........&..|
000000e0  bc 97 e1 49 e3 78 ff c3  40 c5 2f 23 98 cf e2 b9  |...I.x..@./#....|
000000f0  42 9e 0d 06 17 3d b9 81  00 00 00 08 00 00 0f a0  |B....=..........|
00000100  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000120  00 00 00 00 00 00 00 00  00 00 02 00 00 00 0f a0  |................|
00000130  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000150  00 00 00 00 00 00 00 00  00 00 03 f8 00 00 0f a0  |................|
00000160  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000180  00 00 00 00 00 00 00 00  00 00 05 f0 00 00 0f a0  |................|
00000190  00 00 de ad 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 00 00 00 00  |................|
000001b0  00 00 00 00 00 00 00 00  00 00 07 e8 00 00 0f a0  |................|
000001c0  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001e0  00 00 00 00 00 00 00 00  00 00 09 e0 00 00 0f a0  |................|
000001f0  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000200


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

File descriptor 9 (/proc/4889/mountinfo) leaked on lvs invocation. Parent PID 10771: bash
File descriptor 63 (pipe:[60079]) leaked on lvs invocation. Parent PID 10771: bash

ADDITIONAL INFORMATION :
=================== log of boot-info 20180509_0838 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
boot-info is executed in live-session (Ubuntu 18.04 LTS, bionic, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
ls: cannot access '/home/usr/.config': No such file or directory
mount: /mnt/boot-sav/sda3: unknown filesystem type 'crypto_LUKS'.
mount /dev/sda3 : Error code 32
mount -r /dev/sda3 /mnt/boot-sav/sda3
mount: /mnt/boot-sav/sda3: unknown filesystem type 'crypto_LUKS'.
mount -r /dev/sda3 : Error code 32

=================== os-prober:


=================== blkid:
/dev/sda1: UUID="3FBA-1C01" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="b3f1d3e6-5857-47ce-bd60-104575e347a4"
/dev/sda2: UUID="448b1141-5bc3-4d28-8ead-3ed3e162a4ab" TYPE="ext4" PARTUUID="158f9efe-ccf5-475d-b0f4-e14559a42b6f"
/dev/sr0: UUID="2018-04-26-18-43-51-00" LABEL="Ubuntu 18.04 LTS amd64" TYPE="iso9660" PTUUID="2b192737" PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/sda3: UUID="1c080a65-4b68-4a1d-9d90-02df591f6571" TYPE="crypto_LUKS" PARTUUID="99a75bb0-a18c-46f0-b5cd-b12b1d456d23"

mount: /mnt/boot-sav/sda3: unknown filesystem type 'crypto_LUKS'.
mount /dev/sda3 : Error code 32
mount -r /dev/sda3 /mnt/boot-sav/sda3
mount: /mnt/boot-sav/sda3: unknown filesystem type 'crypto_LUKS'.
mount -r /dev/sda3 : Error code 32
Presence of EFI/Boot file detected: /mnt/boot-sav/sda1/EFI/Boot/fbx64.efi
ls /sys/firmware/efi/vars : new_var,del_var,boot-args-7c436110-ab2a-4bbb-a880-fe41995c9f82,Test1-e660597e-b94d-4209-9c80-1805b5d19b69,Test0-e660597e-b94d-4209-9c80-1805b5d19b69,RTC-378d7b65-8da9-4773-b6e4-a47826a833e1,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c,MokListRT-605dab50-e046-4300-abb6-3dd810dd8b23,MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa,MTC-eb704011-1402-11d3-8e77-00a0c969723b,LastEnumLang-0e8c545b-a2ee-470d-8e26-bda1a13c0aa3,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,FirmwareFeaturesMask-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14,FirmwareFeatures-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c,BackgroundClear-4d1ede05-38c7-4a6a-9cc6-4bcca8b38c14,
Please report this message to boot.repair@gmail.com

=================== efibootmgr -v
BootCurrent: 0000
BootOrder: 0000,0001,0002
Boot0000* EFI DVD/CDROM	PciRoot(0x0)/Pci(0xd,0x0)/Sata(1,0,0)
Boot0001* EFI Hard Drive	PciRoot(0x0)/Pci(0xd,0x0)/Sata(0,0,0)
Boot0002* EFI Internal Shell	MemoryMapped(11,0x2100000,0x28fffff)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)

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


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

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


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

BYT;
/dev/sda:34.4GB:scsi:512:512:gpt:ATA VBOX HARDDISK:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:1305MB:768MB:ext4::;
3:1305MB:34.4GB:33.1GB:::;

BYT;
/dev/sr0:1922MB:scsi:2048:2048:mac:VBOX CD-ROM:;
1:2048B:6143B:4096B::Apple:;
2:1880MB:1883MB:2392kB::EFI:;

=================== lsblk:
KNAME TYPE FSTYPE       SIZE LABEL
loop0 loop squashfs     1.7G
loop1 loop squashfs    86.6M
loop2 loop squashfs     140M
loop3 loop squashfs     1.6M
loop4 loop squashfs    12.2M
loop5 loop squashfs      21M
loop6 loop squashfs     3.3M
sda   disk               32G
sda1  part vfat         512M
sda2  part ext4         732M
sda3  part crypto_LUKS 30.8G
sr0   rom  iso9660      1.8G Ubuntu 18.04 LTS amd64

KNAME ROTA RO RM STATE   MOUNTPOINT
loop0    1  1  0         /rofs
loop1    1  1  0         /snap/core/4486
loop2    1  1  0         /snap/gnome-3-26-1604/59
loop3    1  1  0         /snap/gnome-calculator/154
loop4    1  1  0         /snap/gnome-characters/69
loop5    1  1  0         /snap/gnome-logs/25
loop6    1  1  0         /snap/gnome-system-monitor/36
sda      1  0  0 running
sda1     1  0  0         /mnt/boot-sav/sda1
sda2     1  0  0         /mnt/boot-sav/sda2
sda3     1  0  0
sr0      1  0  1 running /cdrom


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=999140k,nr_inodes=249785,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=204068k,mode=755)
/dev/sr0 on /cdrom type iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
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/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,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/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
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/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
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/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
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=26,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14507)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=204064k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/var/lib/snapd/snaps/core_4486.snap on /snap/core/4486 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-26-1604_59.snap on /snap/gnome-3-26-1604/59 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_154.snap on /snap/gnome-calculator/154 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_69.snap on /snap/gnome-characters/69 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_25.snap on /snap/gnome-logs/25 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_36.snap on /snap/gnome-system-monitor/36 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda2 on /mnt/boot-sav/sda2 type ext4 (rw,relatime,data=ordered)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro sda1 sda2 sda3 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom char console core cpu_dma_latency cuse disk dri dvd ecryptfs fb0 fd full fuse hidraw0 hpet hugepages hwrng i2c-0 initctl input kmsg lightnvm log mapper mcelog mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio vboxguest vboxuser vfio vga_arbiter vhci vhost-net vhost-vsock 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 08 00 00  |........?.......|
00000020  00 00 10 00 fe 03 00 00  00 00 00 00 02 00 00 00  |................|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 01 1c ba 3f 4e  4f 20 4e 41 4d 45 20 20  |..)...?NO NAME  |
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  976M     0  976M   0% /dev
tmpfs          tmpfs     200M  1.4M  198M   1% /run
/dev/sr0       iso9660   1.8G  1.8G     0 100% /cdrom
/dev/loop0     squashfs  1.8G  1.8G     0 100% /rofs
/cow           overlay   997M  356M  641M  36% /
tmpfs          tmpfs     997M     0  997M   0% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     997M     0  997M   0% /sys/fs/cgroup
tmpfs          tmpfs     997M  4.0K  997M   1% /tmp
tmpfs          tmpfs     200M   52K  200M   1% /run/user/999
/dev/loop1     squashfs   87M   87M     0 100% /snap/core/4486
/dev/loop2     squashfs  141M  141M     0 100% /snap/gnome-3-26-1604/59
/dev/loop3     squashfs  1.7M  1.7M     0 100% /snap/gnome-calculator/154
/dev/loop4     squashfs   13M   13M     0 100% /snap/gnome-characters/69
/dev/loop5     squashfs   21M   21M     0 100% /snap/gnome-logs/25
/dev/loop6     squashfs  3.4M  3.4M     0 100% /snap/gnome-system-monitor/36
/dev/sda1      vfat      511M  4.8M  507M   1% /mnt/boot-sav/sda1
/dev/sda2      ext4      705M   78M  576M  12% /mnt/boot-sav/sda2

=================== fdisk -l:
Disk /dev/loop0: 1.7 GiB, 1831378944 bytes, 3576912 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 86.6 MiB, 90759168 bytes, 177264 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 140 MiB, 146841600 bytes, 286800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 1.6 MiB, 1691648 bytes, 3304 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop4: 12.2 MiB, 12804096 bytes, 25008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop5: 21 MiB, 22003712 bytes, 42976 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop6: 3.3 MiB, 3411968 bytes, 6664 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 32 GiB, 34359738368 bytes, 67108864 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: 9A6AA03C-735D-4BCC-918C-8DCB632B1E78

Device       Start      End  Sectors  Size Type
/dev/sda1     2048  1050623  1048576  512M EFI System
/dev/sda2  1050624  2549759  1499136  732M Linux filesystem
/dev/sda3  2549760 67106815 64557056 30.8G Linux filesystem


No OS or WinEFI system
/usr/share/boot-sav/gui-tab-other.sh: line 93: _checkbutton_repairfilesystems: command not found


=================== Suggested repair
The default repair of the Boot-Repair utility would not act on the MBR.
Additional repair would be performed:  repair-filesystems


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

Cela peut servir à identifier une install de 18.04 réalisée avec ce type de chiffrement. La présence de la mention crypto_LUKS en constitue le signe le plus évident.

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

Hors ligne

#3 Le 22/04/2019, à 13:24

malbo

Re : [Résolu] 18.04 Chiffrer la nouvelle install de Ubuntu pour la sécurité

Après la sortie de Ubuntu 19.04, je fais l'essai pour voir comment ça marche. ATTENTION : dans les posts précédents, il s'agissait d'une installation réalisée en mode UEFI alors qu'il s'agit ici d'une installation en mode Bios (non-UEFI). C'est pour ça qu'il n'y a pas de partition EFI...
Voici ce que j'obtiens après installation (boot-info réalisé depuis une session live pour voir "l'allure") :

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


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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos1)/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       crypto_LUKS
    Boot sector type:  Unknown
    Boot sector info: 

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 20.1 GiB, 21613379584 bytes, 42213632 sectors
Disk model: VBOX HARDDISK   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048     1,499,135     1,497,088  83 Linux
/dev/sda2           1,501,182    42,213,375    40,712,194   5 Extended
/dev/sda5           1,501,184    42,213,375    40,712,192  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/loop1                                              squashfs   
/dev/loop2                                              squashfs   
/dev/loop3                                              squashfs   
/dev/loop4                                              squashfs   
/dev/loop5                                              squashfs   
/dev/loop6                                              squashfs   
/dev/loop7                                              squashfs   
/dev/loop8                                              squashfs   
/dev/sda1        36d433dc-57c2-4095-9d3b-26cb5c3d148b   ext4       
/dev/sda5        550624d1-d1dd-4aa2-ab90-e17b6b63dfc3   crypto_LUKS 
/dev/sr0         2019-04-16-19-19-59-00                 iso9660    Ubuntu 19.04 amd64

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

total 0
lrwxrwxrwx 1 root root  9 Apr 22 08:45 ata-VBOX_CD-ROM_VB2-01700376 -> ../../sr0
lrwxrwxrwx 1 root root  9 Apr 22 08:50 ata-VBOX_HARDDISK_VB17f2a309-091b4822 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 22 08:50 ata-VBOX_HARDDISK_VB17f2a309-091b4822-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 22 08:50 ata-VBOX_HARDDISK_VB17f2a309-091b4822-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 22 08:50 ata-VBOX_HARDDISK_VB17f2a309-091b4822-part5 -> ../../sda5

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

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sr0         /cdrom                   iso9660    (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)


============================= sda1/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 [ "${initrdfail}" = 2 ]; then
   set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
   set next_entry="${prev_entry}"
   set prev_entry=
   save_env prev_entry
   if [ "${next_entry}" ]; then
      set initrdfail=2
   fi
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 initrdfail {
    if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
      if [ -z "${initrdfail}" ]; then
        set initrdfail=1
        if [ -n "${boot_once}" ]; then
          set prev_entry="${default}"
          save_env prev_entry
        fi
      fi
      save_env initrdfail
    fi; 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 lvm
insmod ext2
set root='lvmid/Gi2iph-1P5d-W7zO-d3Tp-V8b3-YifN-gq1rw9/VrWknL-IRpI-51NL-Opjv-Jodz-cY79-CrCrPU'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvmid/Gi2iph-1P5d-W7zO-d3Tp-V8b3-YifN-gq1rw9/VrWknL-IRpI-51NL-Opjv-Jodz-cY79-CrCrPU'  af0426bc-67ac-46c0-90af-245690185ae5
else
  search --no-floppy --fs-uuid --set=root af0426bc-67ac-46c0-90af-245690185ae5
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=0
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

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

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=1
	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-af0426bc-67ac-46c0-90af-245690185ae5' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  36d433dc-57c2-4095-9d3b-26cb5c3d148b
	else
	  search --no-floppy --fs-uuid --set=root 36d433dc-57c2-4095-9d3b-26cb5c3d148b
	fi
	linux	/vmlinuz-5.0.0-13-generic root=/dev/mapper/ubuntu--vg-root ro  quiet splash $vt_handoff
	initrd	/initrd.img-5.0.0-13-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-af0426bc-67ac-46c0-90af-245690185ae5' {
	menuentry 'Ubuntu, avec Linux 5.0.0-13-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-13-generic-advanced-af0426bc-67ac-46c0-90af-245690185ae5' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  36d433dc-57c2-4095-9d3b-26cb5c3d148b
		else
		  search --no-floppy --fs-uuid --set=root 36d433dc-57c2-4095-9d3b-26cb5c3d148b
		fi
		echo	'Chargement de Linux 5.0.0-13-generic…'
		linux	/vmlinuz-5.0.0-13-generic root=/dev/mapper/ubuntu--vg-root ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-5.0.0-13-generic
	}
	menuentry 'Ubuntu, with Linux 5.0.0-13-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-13-generic-recovery-af0426bc-67ac-46c0-90af-245690185ae5' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  36d433dc-57c2-4095-9d3b-26cb5c3d148b
		else
		  search --no-floppy --fs-uuid --set=root 36d433dc-57c2-4095-9d3b-26cb5c3d148b
		fi
		echo	'Chargement de Linux 5.0.0-13-generic…'
		linux	/vmlinuz-5.0.0-13-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-5.0.0-13-generic
	}
}

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

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  36d433dc-57c2-4095-9d3b-26cb5c3d148b
	else
	  search --no-floppy --fs-uuid --set=root 36d433dc-57c2-4095-9d3b-26cb5c3d148b
	fi
	knetbsd	/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  36d433dc-57c2-4095-9d3b-26cb5c3d148b
	else
	  search --no-floppy --fs-uuid --set=root 36d433dc-57c2-4095-9d3b-26cb5c3d148b
	fi
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

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

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

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

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

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

           GiB - GB             File                                 Fragment(s)

   0.211456299 = 0.227049472    grub/grub.cfg                                  2
   0.204429626 = 0.219504640    grub/i386-pc/core.img                          1
   0.141597748 = 0.152039424    vmlinuz-5.0.0-13-generic                       2
   0.359565735 = 0.386080768    initrd.img-5.0.0-13-generic                    1

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

Unknown BootLoader on sda5

00000000  4c 55 4b 53 ba be 00 02  00 00 00 00 00 00 40 00  |LUKS..........@.|
00000010  00 00 00 00 00 00 00 03  00 00 00 00 00 00 00 00  |................|
00000020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000040  00 00 00 00 00 00 00 00  73 68 61 32 35 36 00 00  |........sha256..|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000060  00 00 00 00 00 00 00 00  da 09 08 be 76 93 df df  |............v...|
00000070  40 f6 f2 0b 7e 53 43 8a  26 cd 0e f8 ff 39 74 fa  |@...~SC.&....9t.|
00000080  44 20 c7 4d be bb 01 40  50 7c 48 97 a9 fa 2f 2d  |D .M...@P|H.../-|
00000090  ee 6b 55 ee 45 4f cc f1  27 b7 42 06 05 2e 14 73  |.kU.EO..'.B....s|
000000a0  30 64 3a a1 98 b7 a2 2b  35 35 30 36 32 34 64 31  |0d:....+550624d1|
000000b0  2d 64 31 64 64 2d 34 61  61 32 2d 61 62 39 30 2d  |-d1dd-4aa2-ab90-|
000000c0  65 31 37 62 36 62 36 33  64 66 63 33 00 00 00 00  |e17b6b63dfc3....|
000000d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001c0  e2 42 e7 11 65 24 20 a7  ea 9c 4c 14 5f fd 57 8f  |.B..e$ ...L._.W.|
000001d0  6f 18 fa 98 91 55 3b e4  be ca 01 d6 0a d2 73 0b  |o....U;.......s.|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200


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

File descriptor 9 (/proc/5468/mountinfo) leaked on lvs invocation. Parent PID 11141: bash

ADDITIONAL INFORMATION :
=================== log of boot-info 20190422_0850 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
boot-info is executed in live-session (Ubuntu 19.04, disco, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
Address sizes:       48 bits physical, 48 bits virtual
file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd quiet splash --- debian-installer/language=fr keyboard-configuration/layoutcode?=fr keyboard-configuration/variantcode?=oss
ls: impossible d'accéder à '/home/usr/.config': Aucun fichier ou dossier de ce type
mount: /mnt/boot-sav/sda5: type de système de fichiers « crypto_LUKS » inconnu.
mount /dev/sda5 : Error code 32
mount -r /dev/sda5 /mnt/boot-sav/sda5
mount: /mnt/boot-sav/sda5: type de système de fichiers « crypto_LUKS » inconnu.
mount -r /dev/sda5 : Error code 32

=================== os-prober:


=================== blkid:
/dev/sda1: UUID="36d433dc-57c2-4095-9d3b-26cb5c3d148b" TYPE="ext4" PARTUUID="18c8f371-01"
/dev/sr0: UUID="2019-04-16-19-19-59-00" LABEL="Ubuntu 19.04 amd64" TYPE="iso9660" PTUUID="46f8e7bf" PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/sda5: UUID="550624d1-d1dd-4aa2-ab90-e17b6b63dfc3" TYPE="crypto_LUKS" PARTUUID="18c8f371-05"

mount: /mnt/boot-sav/sda5: type de système de fichiers « crypto_LUKS » inconnu.
mount /dev/sda5 : Error code 32
mount -r /dev/sda5 /mnt/boot-sav/sda5
mount: /mnt/boot-sav/sda5: type de système de fichiers « crypto_LUKS » inconnu.
mount -r /dev/sda5 : Error code 32

=================== UEFI/Legacy mode:
This live-session is not in EFI-mode.
SecureBoot maybe enabled.


=================== PARTITIONS & DISKS:
sda1	: sda,	is-sepboot,	grubenv-ok	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda1.
sda5	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda5.

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


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

BYT;
/dev/sda:21.6GB:scsi:512:512:msdos:ATA VBOX HARDDISK:;
1:1049kB:768MB:767MB:ext4::boot;
2:769MB:21.6GB:20.8GB:::;
5:769MB:21.6GB:20.8GB:::;

BYT;
/dev/sr0:2097MB:scsi:2048:2048:mac:VBOX CD-ROM:;
1:2048B:6143B:4096B::Apple:;
2:2082MB:2086MB:3834kB::EFI:;

=================== lsblk:
KNAME TYPE FSTYPE       SIZE LABEL
loop0 loop squashfs     1,9G
loop1 loop squashfs    89,3M
loop2 loop squashfs    53,7M
loop3 loop squashfs     151M
loop4 loop squashfs       4M
loop5 loop squashfs    14,8M
loop6 loop squashfs    1008K
loop7 loop squashfs     3,7M
sda   disk             20,1G
sda1  part ext4         731M
sda2  part                1K
sda5  part crypto_LUKS 19,4G
sr0   rom  iso9660        2G Ubuntu 19.04 amd64

KNAME ROTA RO RM STATE   MOUNTPOINT
loop0    1  1  0         /rofs
loop1    1  1  0         /snap/core/6673
loop2    1  1  0         /snap/core18/941
loop3    1  1  0         /snap/gnome-3-28-1804/31
loop4    1  1  0         /snap/gnome-calculator/406
loop5    1  1  0         /snap/gnome-characters/254
loop6    1  1  0         /snap/gnome-logs/61
loop7    1  1  0         /snap/gnome-system-monitor/77
sda      1  0  0 running
sda1     1  0  0         /mnt/boot-sav/sda1
sda2     1  0  0
sda5     1  0  0
sr0      1  0  1 running /cdrom


=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=994084k,nr_inodes=248521,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=203800k,mode=755)
/dev/sr0 on /cdrom type iso9660 (ro,noatime,nojoliet,check=s,map=n,blocksize=2048)
/dev/loop0 on /rofs type squashfs (ro,noatime)
/cow on / type overlay (rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow/upper,workdir=/cow/work)
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)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
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/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
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/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
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=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=2023)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=203796k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/var/lib/snapd/snaps/core_6673.snap on /snap/core/6673 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_941.snap on /snap/core18/941 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-28-1804_31.snap on /snap/gnome-3-28-1804/31 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_406.snap on /snap/gnome-calculator/406 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_254.snap on /snap/gnome-characters/254 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_61.snap on /snap/gnome-logs/61 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_77.snap on /snap/gnome-system-monitor/77 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/sda1 on /mnt/boot-sav/sda1 type ext4 (rw,relatime)


=================== ls:
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro sda1 sda2 sda5 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom char console core cpu_dma_latency cuse disk dri dvd ecryptfs fb0 fd full fuse hidraw0 hpet hugepages hwrng i2c-0 initctl input kmsg lightnvm log mapper mcelog mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout udmabuf uhid uinput urandom userio vboxguest vboxuser vfio vga_arbiter vhci vhost-net vhost-vsock zero
ls /dev/mapper:  control

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

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  971M     0  971M   0% /dev
tmpfs          tmpfs     200M  1.3M  198M   1% /run
/dev/sr0       iso9660   2.0G  2.0G     0 100% /cdrom
/dev/loop0     squashfs  1.9G  1.9G     0 100% /rofs
/cow           overlay   996M  464M  532M  47% /
tmpfs          tmpfs     996M   15M  981M   2% /dev/shm
tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs          tmpfs     996M     0  996M   0% /sys/fs/cgroup
tmpfs          tmpfs     996M  520K  995M   1% /tmp
tmpfs          tmpfs     200M   52K  199M   1% /run/user/999
/dev/loop1     squashfs   90M   90M     0 100% /snap/core/6673
/dev/loop2     squashfs   54M   54M     0 100% /snap/core18/941
/dev/loop3     squashfs  152M  152M     0 100% /snap/gnome-3-28-1804/31
/dev/loop4     squashfs  4.2M  4.2M     0 100% /snap/gnome-calculator/406
/dev/loop5     squashfs   15M   15M     0 100% /snap/gnome-characters/254
/dev/loop6     squashfs  1.0M  1.0M     0 100% /snap/gnome-logs/61
/dev/loop7     squashfs  3.8M  3.8M     0 100% /snap/gnome-system-monitor/77
/dev/sda1      ext4      704M   86M  568M  14% /mnt/boot-sav/sda1

=================== fdisk -l:
Disk /dev/loop0: 1.9 GiB, 2027323392 bytes, 3959616 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 89.3 MiB, 93581312 bytes, 182776 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 53.7 MiB, 56315904 bytes, 109992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 151 MiB, 158343168 bytes, 309264 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop4: 4 MiB, 4218880 bytes, 8240 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop5: 14.8 MiB, 15462400 bytes, 30200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop6: 1008 KiB, 1032192 bytes, 2016 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop7: 3.7 MiB, 3821568 bytes, 7464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 20.1 GiB, 21613379584 bytes, 42213632 sectors
Disk model: VBOX HARDDISK
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: 0x18c8f371

Device     Boot   Start      End  Sectors  Size Id Type
/dev/sda1  *       2048  1499135  1497088  731M 83 Linux
/dev/sda2       1501182 42213375 40712194 19.4G  5 Extended
/dev/sda5       1501184 42213375 40712192 19.4G 83 Linux


No OS or WinEFI system


=================== Suggested repair
The default repair of the Boot-Repair utility would not act on the boot.


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

Je fais aussi le Boot-Info depuis une session du Ubuntu installé (pour voir l'intérieur de la bête) :

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


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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos1)/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

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

sda2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       crypto_LUKS
    Boot sector type:  Unknown
    Boot sector info: 

ubuntu-vg-root: ________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 19.04
    Boot files:        /etc/fstab

ubuntu-vg-swap_1: ______________________________________________________________

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

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

Drive: sda _____________________________________________________________________
Disk /dev/sda: 20.1 GiB, 21613379584 bytes, 42213632 sectors
Disk model: VBOX HARDDISK   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048     1,499,135     1,497,088  83 Linux
/dev/sda2           1,501,182    42,213,375    40,712,194   5 Extended
/dev/sda5           1,501,184    42,213,375    40,712,192  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/loop1                                              squashfs   
/dev/loop2                                              squashfs   
/dev/loop3                                              squashfs   
/dev/loop4                                              squashfs   
/dev/loop5                                              squashfs   
/dev/loop6                                              squashfs   
/dev/loop7                                              squashfs   
/dev/mapper/sda5_crypt wiCKEd-Go9b-F1Ds-inI3-ojFO-vMfW-n1sdcx LVM2_member 
/dev/mapper/ubuntu--vg-root af0426bc-67ac-46c0-90af-245690185ae5   ext4       
/dev/mapper/ubuntu--vg-swap_1 6bc7d742-8b6b-49bd-a6c8-cdc1242a0706   swap       
/dev/sda1        36d433dc-57c2-4095-9d3b-26cb5c3d148b   ext4       
/dev/sda5        550624d1-d1dd-4aa2-ab90-e17b6b63dfc3   crypto_LUKS 

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

total 0
lrwxrwxrwx 1 root root  9 Apr 22 10:19 ata-VBOX_CD-ROM_VB2-01700376 -> ../../sr0
lrwxrwxrwx 1 root root  9 Apr 22 10:39 ata-VBOX_HARDDISK_VB17f2a309-091b4822 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 22 10:39 ata-VBOX_HARDDISK_VB17f2a309-091b4822-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 22 10:39 ata-VBOX_HARDDISK_VB17f2a309-091b4822-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 22 10:39 ata-VBOX_HARDDISK_VB17f2a309-091b4822-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Apr 22 10:39 dm-name-sda5_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Apr 22 10:39 dm-name-ubuntu--vg-root -> ../../dm-1
lrwxrwxrwx 1 root root 10 Apr 22 10:39 dm-name-ubuntu--vg-swap_1 -> ../../dm-2
lrwxrwxrwx 1 root root 10 Apr 22 10:39 dm-uuid-CRYPT-LUKS2-550624d1d1dd4aa2ab90e17b6b63dfc3-sda5_crypt -> ../../dm-0
lrwxrwxrwx 1 root root 10 Apr 22 10:39 dm-uuid-LVM-Gi2iph1P5dW7zOd3TpV8b3YifNgq1rw9GOb2QycnjsYBtwGoAMELrDu0Ou8sBrfG -> ../../dm-2
lrwxrwxrwx 1 root root 10 Apr 22 10:39 dm-uuid-LVM-Gi2iph1P5dW7zOd3TpV8b3YifNgq1rw9VrWknLIRpI51NLOpjvJodzcY79CrCrPU -> ../../dm-1
lrwxrwxrwx 1 root root 10 Apr 22 10:39 lvm-pv-uuid-wiCKEd-Go9b-F1Ds-inI3-ojFO-vMfW-n1sdcx -> ../../dm-0

========================= "ls -R /dev/mapper/" output: =========================

/dev/mapper:
control
sda5_crypt
ubuntu--vg-root
ubuntu--vg-swap_1

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

Device           Mount_Point              Type       Options

/dev/mapper/ubuntu--vg-root /                        ext4       (rw,relatime,errors=remount-ro)
/dev/sda1        /boot                    ext4       (rw,relatime)


============================= sda1/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 [ "${initrdfail}" = 2 ]; then
   set initrdfail=
elif [ "${initrdfail}" = 1 ]; then
   set next_entry="${prev_entry}"
   set prev_entry=
   save_env prev_entry
   if [ "${next_entry}" ]; then
      set initrdfail=2
   fi
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 initrdfail {
    if [ -n "${have_grubenv}" ]; then if [ -n "${partuuid}" ]; then
      if [ -z "${initrdfail}" ]; then
        set initrdfail=1
        if [ -n "${boot_once}" ]; then
          set prev_entry="${default}"
          save_env prev_entry
        fi
      fi
      save_env initrdfail
    fi; 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 lvm
insmod ext2
set root='lvmid/Gi2iph-1P5d-W7zO-d3Tp-V8b3-YifN-gq1rw9/VrWknL-IRpI-51NL-Opjv-Jodz-cY79-CrCrPU'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='lvmid/Gi2iph-1P5d-W7zO-d3Tp-V8b3-YifN-gq1rw9/VrWknL-IRpI-51NL-Opjv-Jodz-cY79-CrCrPU'  af0426bc-67ac-46c0-90af-245690185ae5
else
  search --no-floppy --fs-uuid --set=root af0426bc-67ac-46c0-90af-245690185ae5
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=0
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

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

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=1
	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-af0426bc-67ac-46c0-90af-245690185ae5' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  36d433dc-57c2-4095-9d3b-26cb5c3d148b
	else
	  search --no-floppy --fs-uuid --set=root 36d433dc-57c2-4095-9d3b-26cb5c3d148b
	fi
	linux	/vmlinuz-5.0.0-13-generic root=/dev/mapper/ubuntu--vg-root ro  quiet splash $vt_handoff
	initrd	/initrd.img-5.0.0-13-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-af0426bc-67ac-46c0-90af-245690185ae5' {
	menuentry 'Ubuntu, avec Linux 5.0.0-13-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-13-generic-advanced-af0426bc-67ac-46c0-90af-245690185ae5' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  36d433dc-57c2-4095-9d3b-26cb5c3d148b
		else
		  search --no-floppy --fs-uuid --set=root 36d433dc-57c2-4095-9d3b-26cb5c3d148b
		fi
		echo	'Chargement de Linux 5.0.0-13-generic…'
		linux	/vmlinuz-5.0.0-13-generic root=/dev/mapper/ubuntu--vg-root ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-5.0.0-13-generic
	}
	menuentry 'Ubuntu, with Linux 5.0.0-13-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.0.0-13-generic-recovery-af0426bc-67ac-46c0-90af-245690185ae5' {
		recordfail
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  36d433dc-57c2-4095-9d3b-26cb5c3d148b
		else
		  search --no-floppy --fs-uuid --set=root 36d433dc-57c2-4095-9d3b-26cb5c3d148b
		fi
		echo	'Chargement de Linux 5.0.0-13-generic…'
		linux	/vmlinuz-5.0.0-13-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-5.0.0-13-generic
	}
}

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

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  36d433dc-57c2-4095-9d3b-26cb5c3d148b
	else
	  search --no-floppy --fs-uuid --set=root 36d433dc-57c2-4095-9d3b-26cb5c3d148b
	fi
	knetbsd	/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  36d433dc-57c2-4095-9d3b-26cb5c3d148b
	else
	  search --no-floppy --fs-uuid --set=root 36d433dc-57c2-4095-9d3b-26cb5c3d148b
	fi
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

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

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

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

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

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

           GiB - GB             File                                 Fragment(s)

   0.211456299 = 0.227049472    grub/grub.cfg                                  2
   0.204429626 = 0.219504640    grub/i386-pc/core.img                          1
   0.141597748 = 0.152039424    vmlinuz-5.0.0-13-generic                       2
   0.359565735 = 0.386080768    initrd.img-5.0.0-13-generic                    1

========================== ubuntu-vg-root/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>
/dev/mapper/ubuntu--vg-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=36d433dc-57c2-4095-9d3b-26cb5c3d148b /boot           ext4    defaults        0       2
/dev/mapper/ubuntu--vg-swap_1 none            swap    sw              0       0
--------------------------------------------------------------------------------

============== ubuntu-vg-root: Location of files loaded by Grub: ===============

           GiB - GB             File                                 Fragment(s)

   0.140621185 = 0.150990848    vmlinuz                                        2
   0.358589172 = 0.385032192    initrd.img                                     1
   0.358589172 = 0.385032192    initrd.img.old                                 1

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

Unknown BootLoader on sda5

00000000  4c 55 4b 53 ba be 00 02  00 00 00 00 00 00 40 00  |LUKS..........@.|
00000010  00 00 00 00 00 00 00 03  00 00 00 00 00 00 00 00  |................|
00000020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000040  00 00 00 00 00 00 00 00  73 68 61 32 35 36 00 00  |........sha256..|
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000060  00 00 00 00 00 00 00 00  da 09 08 be 76 93 df df  |............v...|
00000070  40 f6 f2 0b 7e 53 43 8a  26 cd 0e f8 ff 39 74 fa  |@...~SC.&....9t.|
00000080  44 20 c7 4d be bb 01 40  50 7c 48 97 a9 fa 2f 2d  |D .M...@P|H.../-|
00000090  ee 6b 55 ee 45 4f cc f1  27 b7 42 06 05 2e 14 73  |.kU.EO..'.B....s|
000000a0  30 64 3a a1 98 b7 a2 2b  35 35 30 36 32 34 64 31  |0d:....+550624d1|
000000b0  2d 64 31 64 64 2d 34 61  61 32 2d 61 62 39 30 2d  |-d1dd-4aa2-ab90-|
000000c0  65 31 37 62 36 62 36 33  64 66 63 33 00 00 00 00  |e17b6b63dfc3....|
000000d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001c0  e2 42 e7 11 65 24 20 a7  ea 9c 4c 14 5f fd 57 8f  |.B..e$ ...L._.W.|
000001d0  6f 18 fa 98 91 55 3b e4  be ca 01 d6 0a d2 73 0b  |o....U;.......s.|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000200


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

File descriptor 9 (/proc/8212/mountinfo) leaked on lvs invocation. Parent PID 16326: bash
File descriptor 9 (/proc/8212/mountinfo) leaked on lvchange invocation. Parent PID 16876: bash
File descriptor 9 (/proc/8212/mountinfo) leaked on lvchange invocation. Parent PID 16876: bash

ADDITIONAL INFORMATION :
=================== log of boot-info 20190422_1038 ===================
boot-info version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
BLKID BEFORE LVM ACTIVATION:
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/sda1: UUID="36d433dc-57c2-4095-9d3b-26cb5c3d148b" TYPE="ext4" PARTUUID="18c8f371-01"
/dev/sda5: UUID="550624d1-d1dd-4aa2-ab90-e17b6b63dfc3" TYPE="crypto_LUKS" PARTUUID="18c8f371-05"
/dev/mapper/sda5_crypt: UUID="wiCKEd-Go9b-F1Ds-inI3-ojFO-vMfW-n1sdcx" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="af0426bc-67ac-46c0-90af-245690185ae5" TYPE="ext4"
/dev/mapper/ubuntu--vg-swap_1: UUID="6bc7d742-8b6b-49bd-a6c8-cdc1242a0706" TYPE="swap"
MODPROBE
VGSCAN
File descriptor 9 (/proc/8212/mountinfo) leaked on vgscan invocation. Parent PID 8224: /bin/bash
Reading volume groups from cache.
Found volume group "ubuntu-vg" using metadata type lvm2
VGCHANGE
File descriptor 9 (/proc/8212/mountinfo) leaked on vgchange invocation. Parent PID 8224: /bin/bash
2 logical volume(s) in volume group "ubuntu-vg" now active
File descriptor 9 (/proc/8212/mountinfo) leaked on lvscan invocation. Parent PID 8224: /bin/bash
LVSCAN:
ACTIVE            '/dev/ubuntu-vg/root' [18.41 GiB] inherit
ACTIVE            '/dev/ubuntu-vg/swap_1' [976.00 MiB] inherit
Y a-t-il un RAID sur cet ordinateur ? no
File descriptor 9 (/proc/8212/mountinfo) leaked on lvs invocation. Parent PID 9727: /bin/sh
Error: /dev/mapper/sda5_crypt: unrecognised disk label
boot-info is executed in installed-session (Ubuntu 19.04, disco, Ubuntu, x86_64)
CPU op-mode(s):      32-bit, 64-bit
Address sizes:       48 bits physical, 48 bits virtual
BOOT_IMAGE=/vmlinuz-5.0.0-13-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash
Set sda as corresponding disk of mapper/ubuntu--vg-root
Set sda as corresponding disk of mapper/ubuntu--vg-root
mount: /mnt/boot-sav/sda5: type de système de fichiers « crypto_LUKS » inconnu.
mount /dev/sda5 : Error code 32
mount -r /dev/sda5 /mnt/boot-sav/sda5
mount: /mnt/boot-sav/sda5: type de système de fichiers « crypto_LUKS » inconnu.
mount -r /dev/sda5 : Error code 32

=================== os-prober:
/dev/mapper/ubuntu--vg-root:L'OS actuellement utilisé - Ubuntu 19.04 CurrentSession:linux

=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/sda1: UUID="36d433dc-57c2-4095-9d3b-26cb5c3d148b" TYPE="ext4" PARTUUID="18c8f371-01"
/dev/sda5: UUID="550624d1-d1dd-4aa2-ab90-e17b6b63dfc3" TYPE="crypto_LUKS" PARTUUID="18c8f371-05"
/dev/mapper/sda5_crypt: UUID="wiCKEd-Go9b-F1Ds-inI3-ojFO-vMfW-n1sdcx" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="af0426bc-67ac-46c0-90af-245690185ae5" TYPE="ext4"
/dev/mapper/ubuntu--vg-swap_1: UUID="6bc7d742-8b6b-49bd-a6c8-cdc1242a0706" TYPE="swap"

Set sda as corresponding disk of mapper/ubuntu--vg-root

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

mount: /mnt/boot-sav/sda5: type de système de fichiers « crypto_LUKS » inconnu.
mount /dev/sda5 : Error code 32
mount -r /dev/sda5 /mnt/boot-sav/sda5
mount: /mnt/boot-sav/sda5: type de système de fichiers « crypto_LUKS » inconnu.
mount -r /dev/sda5 : Error code 32

=================== /etc/grub.d/ :
drwxr-xr-x  2 root root    4096 avril 16 21:10 grub.d
total 80
-rwxr-xr-x 1 root root 10627 mars  11 22:48 00_header
-rwxr-xr-x 1 root root  6258 mars  11 19:29 05_debian_theme
-rwxr-xr-x 1 root root 13718 mars  11 22:48 10_linux
-rwxr-xr-x 1 root root 11497 mars  11 22:48 20_linux_xen
-rwxr-xr-x 1 root root  1992 janv. 28  2016 20_memtest86+
-rwxr-xr-x 1 root root 12059 mars  11 22:48 30_os-prober
-rwxr-xr-x 1 root root  1418 mars  11 22:48 30_uefi-firmware
-rwxr-xr-x 1 root root   214 mars  11 22:48 40_custom
-rwxr-xr-x 1 root root   216 mars  11 22:48 41_custom
-rw-r--r-- 1 root root   483 mars  11 22:48 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_TIMEOUT=0
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 detected in the fstab of mapper/ubuntu--vg-root: UUID=36d433dc-57c2-4095-9d3b-26cb5c3d148b  (sda1)

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


=================== PARTITIONS & DISKS:
mapper/ubuntu--vg-root	: sda,	not-sepboot,	grubenv-ok	grub2,	grub-pc ,	update-grub,	64,	with-boot,	is-os,	not--efi--part,	fstab-has-goodBOOT,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	notbiosboot, .
sda1	: sda,	is-sepboot,	grubenv-ok	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /boot.
sda5	: sda,	maybesepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	no-os,	not--efi--part,	part-has-no-fstab,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	nopakmgr,	nogrubinstall,	no---usr,	part-has-no-fstab,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/sda5.

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


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

BYT;
/dev/sda:21.6GB:scsi:512:512:msdos:ATA VBOX HARDDISK:;
1:1049kB:768MB:767MB:ext4::boot;
2:769MB:21.6GB:20.8GB:::;
5:769MB:21.6GB:20.8GB:::;

BYT;
/dev/mapper/ubuntu--vg-root:19.8GB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:19.8GB:19.8GB:ext4::;

BYT;
/dev/mapper/ubuntu--vg-swap_1:1023MB:dm:512:512:loop:Linux device-mapper (linear):;
1:0.00B:1023MB:1023MB:linux-swap(v1)::;

BYT;
/dev/mapper/sda5_crypt:20.8GB:dm:512:512:unknown:Linux device-mapper (crypt):;

=================== lsblk:
KNAME TYPE  FSTYPE       SIZE LABEL
loop0 loop  squashfs    89,3M
loop1 loop  squashfs    53,7M
loop2 loop  squashfs     151M
loop3 loop  squashfs       4M
loop4 loop  squashfs    14,8M
loop5 loop  squashfs    1008K
loop6 loop  squashfs     3,7M
loop7 loop  squashfs    35,3M
sda   disk              20,1G
sda1  part  ext4         731M
sda2  part                 1K
sda5  part  crypto_LUKS 19,4G
sr0   rom               1024M
dm-0  crypt LVM2_member 19,4G
dm-1  lvm   ext4        18,4G
dm-2  lvm   swap         976M

KNAME ROTA RO RM STATE   MOUNTPOINT
loop0    1  1  0         /snap/core/6673
loop1    1  1  0         /snap/core18/941
loop2    1  1  0         /snap/gnome-3-28-1804/31
loop3    1  1  0         /snap/gnome-calculator/406
loop4    1  1  0         /snap/gnome-characters/254
loop5    1  1  0         /snap/gnome-logs/61
loop6    1  1  0         /snap/gnome-system-monitor/77
loop7    1  1  0         /snap/gtk-common-themes/1198
sda      1  0  0 running
sda1     1  0  0         /boot
sda2     1  0  0
sda5     1  0  0
sr0      1  0  1 running
dm-0     1  0  0 running
dm-1     1  0  0 running /
dm-2     1  0  0 running [SWAP]


=================== 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=982560k,nr_inodes=245640,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=203832k,mode=755)
/dev/mapper/ubuntu--vg-root on / type ext4 (rw,relatime,errors=remount-ro)
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)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
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/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/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/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=2242)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
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 type ext4 (rw,relatime)
/var/lib/snapd/snaps/core_6673.snap on /snap/core/6673 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_941.snap on /snap/core18/941 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-28-1804_31.snap on /snap/gnome-3-28-1804/31 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-calculator_406.snap on /snap/gnome-calculator/406 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-characters_254.snap on /snap/gnome-characters/254 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-logs_61.snap on /snap/gnome-logs/61 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-system-monitor_77.snap on /snap/gnome-system-monitor/77 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1198.snap on /snap/gtk-common-themes/1198 type squashfs (ro,nodev,relatime,x-gdu.hide)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=203832k,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)


=================== ls:
/sys/block/dm-0 (filtered):  alignment_offset bdi capability dev discard_alignment dm ext_range hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/dm-1 (filtered):  alignment_offset bdi capability dev discard_alignment dm ext_range hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/dm-2 (filtered):  alignment_offset bdi capability dev discard_alignment dm ext_range hidden holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro sda1 sda2 sda5 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range hidden holders inflight integrity mq power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom char console core cpu_dma_latency cuse disk dm-0 dm-1 dm-2 dri dvd ecryptfs fb0 fd full fuse hidraw0 hpet hugepages hwrng i2c-0 initctl input kmsg lightnvm log mapper mcelog mem memory_bandwidth mqueue net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout ubuntu-vg udmabuf uhid uinput urandom userio vboxguest vboxuser vfio vga_arbiter vhci vhost-net vhost-vsock zero
ls /dev/mapper:  control sda5_crypt ubuntu--vg-root ubuntu--vg-swap_1

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

Filesystem                  Type      Size  Used Avail Use% Mounted on
udev                        devtmpfs  960M     0  960M   0% /dev
tmpfs                       tmpfs     200M  1.4M  198M   1% /run
/dev/mapper/ubuntu--vg-root ext4       18G  4.6G   13G  27% /
tmpfs                       tmpfs     996M   15M  981M   2% /dev/shm
tmpfs                       tmpfs     5.0M  4.0K  5.0M   1% /run/lock
tmpfs                       tmpfs     996M     0  996M   0% /sys/fs/cgroup
/dev/sda1                   ext4      704M   86M  568M  14% /boot
/dev/loop0                  squashfs   90M   90M     0 100% /snap/core/6673
/dev/loop1                  squashfs   54M   54M     0 100% /snap/core18/941
/dev/loop2                  squashfs  152M  152M     0 100% /snap/gnome-3-28-1804/31
/dev/loop3                  squashfs  4.2M  4.2M     0 100% /snap/gnome-calculator/406
/dev/loop4                  squashfs   15M   15M     0 100% /snap/gnome-characters/254
/dev/loop5                  squashfs  1.0M  1.0M     0 100% /snap/gnome-logs/61
/dev/loop6                  squashfs  3.8M  3.8M     0 100% /snap/gnome-system-monitor/77
/dev/loop7                  squashfs   36M   36M     0 100% /snap/gtk-common-themes/1198
tmpfs                       tmpfs     200M   64K  199M   1% /run/user/1000

=================== fdisk -l:
Disk /dev/loop0: 89.3 MiB, 93581312 bytes, 182776 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop1: 53.7 MiB, 56315904 bytes, 109992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop2: 151 MiB, 158343168 bytes, 309264 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop3: 4 MiB, 4218880 bytes, 8240 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop4: 14.8 MiB, 15462400 bytes, 30200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop5: 1008 KiB, 1032192 bytes, 2016 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop6: 3.7 MiB, 3821568 bytes, 7464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop7: 35.3 MiB, 37027840 bytes, 72320 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes




Disk /dev/sda: 20.1 GiB, 21613379584 bytes, 42213632 sectors
Disk model: VBOX HARDDISK
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: 0x18c8f371

Device     Boot   Start      End  Sectors  Size Id Type
/dev/sda1  *       2048  1499135  1497088  731M 83 Linux
/dev/sda2       1501182 42213375 40712194 19.4G  5 Extended
/dev/sda5       1501184 42213375 40712192 19.4G 83 Linux


Disk /dev/mapper/sda5_crypt: 19.4 GiB, 20827865088 bytes, 40679424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/ubuntu--vg-root: 18.4 GiB, 19771949056 bytes, 38617088 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/ubuntu--vg-swap_1: 976 MiB, 1023410176 bytes, 1998848 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




=================== Suggested repair
The default repair of the Boot-Repair utility would purge (in order to enable-lvm) and reinstall the grub2 of mapper/ubuntu--vg-root into the MBR of sda, using the following options:        sda1/boot,
Additional repair would be performed: unhide-bootmenu-10s


=================== Advice in case of suggested repair
Vous souhaiterez peut-être ré-essayer après avoir déchiffré vos partitions. (http://doc.ubuntu-fr.org/ecryptfs)
Voulez-vous continuer ?


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

Pas de commentaire particulier à faire : ça marche comme prévu.

Dernière modification par malbo (Le 22/04/2019, à 13:30)

Hors ligne