Jump to content
Jarodd

Mettre à jour grub sur une partition chiffrée

Publications recommandées

Bonjour monde,

C'est un peu en désespoit de cause que je poste ici. Il y a 2 jours, j'ai eu une mise à jour classique sur mon Ubuntu 16.04. En plein milieu tout s'est coupé, je suis tombé sur un écran noir me proposant simplement une commande grub :

Citer

GNU GRUB version 2.02~beta2-36ubuntu3.16

Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions.

grub >

J'ai fait la touche TAB, ça me liste plein de commandes mais je ne sais pas quoi taper.
Si je redémarre je retombe de suite sur cet écran, au lieu de l'écran me permettant de déverouiller le disque (il est chiffré).

J'ai posté dans différents fora Ubuntu, ceux qui ont eu le même problème l'ont résolu en passant par boot-repair, qui recrée un grub fonctionnel. Mais dans mon cas, avec la partition chiffrée, je n'arrive pas à le faire.

Je suis complètement bloqué depuis 2 jours  sad

Merci pour votre aide.

Mon rapport Boot Repair :

 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.
 => No known boot loader is installed in the MBR of /dev/sdb.

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/ubuntu/fwupx64.efi 
                       /EFI/ubuntu/grubx64.efi /EFI/ubuntu/mmx64.efi 
                       /EFI/ubuntu/shimx64.efi

sda2: __________________________________________________________________________

    File system:       ext2
    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: 

sdb1: __________________________________________________________________________

    File system:       iso9660
    Boot sector type:  Unknown
    Boot sector info: 
    Mounting failed:   mount: /dev/sdb1 already mounted or /mnt/BootInfo/sdb1 busy

sdb2: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT16
    Boot sector info:  According to the info in the boot sector, sdb2 starts 
                       at sector 0. But according to the info from fdisk, 
                       sdb2 starts at sector 26268. According to the info in 
                       the boot sector, sdb2 has 0 sectors.
    Mounting failed:   mount: /dev/sdb1 already mounted or /mnt/BootInfo/sdb1 busy
mount: /dev/sdb2 already mounted or /mnt/BootInfo/sdb2 busy

ubuntu-vg-root: ________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 16.04.3 LTS
    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: 512.1 GB, 512110190592 bytes
255 heads, 63 sectors/track, 62260 cylinders, total 1000215216 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1 1,000,215,215 1,000,215,215  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     1,550,335       499,712 Data partition (Linux)
/dev/sda3             1,550,336 1,000,214,527   998,664,192 Data partition (Linux)

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

Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 15.7 GB, 15724707840 bytes
255 heads, 63 sectors/track, 1911 cylinders, total 30712320 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *              0     2,088,959     2,088,960   0 Empty
/dev/sdb2              26,268        30,811         4,544  ef EFI (FAT-12/16/32)

/dev/sdb1 overlaps with /dev/sdb2

GUID Partition Table detected, but does not seem to be used.

Partition  Attrs   Start Sector    End Sector  # of Sectors System
/dev/sdb1   +  R              0     2,088,903     2,088,904 Data partition (Windows/Linux)
/dev/sdb2   +  R         26,268        30,811         4,544 Data partition (Windows/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/mapper/luks-b30c1b13-ce52-4b5a-88ea-d52e771141a5 faF8s7-XEJ8-CdVW-Ftz3-PoFn-RHHd-qcUbME LVM2_member 
/dev/mapper/ubuntu--vg-root 0b355ad0-b588-470c-8213-5000cbbe906e   ext4       
/dev/mapper/ubuntu--vg-swap_1 ac67c493-fd74-4b91-8804-40a1c96bbeae   swap       
/dev/sda1        F3CA-A6C7                              vfat       
/dev/sda2        dbb4c25a-4814-4760-9354-49bb9c6a6e21   ext2       
/dev/sda3        b30c1b13-ce52-4b5a-88ea-d52e771141a5   crypto_LUKS 
/dev/sdb1                                               iso9660    Ubuntu 14.04.4 LTS amd64
/dev/sdb2        07CE-F2EA                              vfat       

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

total 0
lrwxrwxrwx 1 root root  9 Feb  6 17:17 ata-MATSHITADVD-RAM_UJ8C2_HR28_389883 -> ../../sr0
lrwxrwxrwx 1 root root  9 Feb  8 18:00 ata-TS512GSSD370_B913162263 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb  7 18:36 ata-TS512GSSD370_B913162263-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb  6 17:17 ata-TS512GSSD370_B913162263-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb  8 17:55 ata-TS512GSSD370_B913162263-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb  8 18:00 dm-name-luks-b30c1b13-ce52-4b5a-88ea-d52e771141a5 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Feb  8 18:00 dm-name-ubuntu--vg-root -> ../../dm-1
lrwxrwxrwx 1 root root 10 Feb  8 18:00 dm-name-ubuntu--vg-swap_1 -> ../../dm-2
lrwxrwxrwx 1 root root 10 Feb  8 18:00 dm-uuid-CRYPT-LUKS1-b30c1b13ce524b5a88ead52e771141a5-luks-b30c1b13-ce52-4b5a-88ea-d52e771141a5 -> ../../dm-0
lrwxrwxrwx 1 root root 10 Feb  8 18:00 dm-uuid-LVM-VP6IpUKswbS1FlP8DSLmDxcmxbaQ2V0U3E4xhlBXGzuKcfu4YOCO4nB73JosX7m9 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Feb  8 18:00 dm-uuid-LVM-VP6IpUKswbS1FlP8DSLmDxcmxbaQ2V0UryrggsDMgzp8qFxAwpoxamjAAUpnk8eS -> ../../dm-2
lrwxrwxrwx 1 root root  9 Feb  8 18:00 usb-Kingston_DataTraveler_SE9_6C626D7C25F9BC91593C0044-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Feb  6 17:17 usb-Kingston_DataTraveler_SE9_6C626D7C25F9BC91593C0044-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Feb  6 17:17 usb-Kingston_DataTraveler_SE9_6C626D7C25F9BC91593C0044-0:0-part2 -> ../../sdb2

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

/dev/mapper:
control
luks-b30c1b13-ce52-4b5a-88ea-d52e771141a5
ubuntu--vg-root
ubuntu--vg-swap_1

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

Device           Mount_Point              Type       Options

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


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

--------------------------------------------------------------------------------
search.fs_uuid dbb4c25a-4814-4760-9354-49bb9c6a6e21 root hd0,gpt2 
set prefix=($root)'/grub'
configfile $prefix/grub.cfg
--------------------------------------------------------------------------------

============================= sda2/grub/grub.cfg: ==============================

--------------------------------------------------------------------------------
ELF\00\00\00\00\00\00\00\00\00\00>\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00p	\00\00\00\00\00\00\00\00\00\00@\00\00\00\00\00@\00\00	\00H\83\E2\C0SI\89\D0Hi\C6{\C5'\00L\89\C1Hi\D7\FF\FF\00H\C1\E9\89\C9H\D01\D2Hȹ\FD\00\00H\F7\F1H\B9\00\00\00\00\00\00\00\00Hk\C2(H\8D\8BH9\C7u7H;su1L;Cu+H\8B{H\85\FFt"\C7C \00\00\00H\B8\00\00\00\00\00\00\00\00\FF\D0H\C7C\00\00\00\00\C7C \00\00\00\00[\C3AWAVI\89\FEAUATI\89\CCUSH\89\D3I\89݁\E3\FF\00\00H\89\F5H\83\EC(H\BA\00\00\00\00\00\00\00\001\C0L\89D$H\B9\00\00\00\00\00\00\00\00L\8B\BE=\00\00\00H\BF\00\00\00\00\00\00\00\00I\BA\00\00\00\00\00\00\00\00A\FF\D2J\8D\94#\FF\00\00I\8BF(I\C1\ED	I\EDI\89\DFH\C1\EA	H\85\C0t=H\8BHH\8BpI9\CDrH\BE\00\00\00\00\00\00\00\00\BF\00\00\001\C0H\BA\00\00\00\00\00\00\00\00\FF\D2\EBtL)\E9H9\D1r\D9I\F5H\8B@(\EB\BEI\8BFH\83\F8\FFu"A\8BFH\83\CD\FF\8DH\F7H\D3\E5L!\EDA)\EDA\C1\E5	C\8D\=\00\E9\E5\00\00\00A\8B^\8DK\F7H\D3\E0I9\C5sL)\E8H9\C2v\C7I\8BH\BE\00\00\00\00\00\00\00\00\BF\00\00\001\C0H\B9\00\00\00\00\00\00\00\00\FFу\CA\FF\85\C0\85\D6\00\00\EB\9AA\8BND\89\F8\89\DFL\89D$M\89V(H\8Bt$\D3\E0)\D8I9\C4IF\C4L\EFH\89\C2H\89D$H\B8\00\00\00\00\00\00\00\00\FF\D0I\8BFI\8Bv H\89\EA\8BxH\B8\00\00\00\00\00\00\00\00\FF\D0A\8BFH\89\EEL\89\F7\BA\00\00\00\8DH\F7I\8BFH\D3\EEL\89\E9\FFP0\85\C0L\89\EFL\8BD$\85\B5\00\00\00A\FF\D0A\8BFH\8B\$H\$\8DH\F7I)\DCA\D3\E7L\FD1\DBM\85\E4\84\00\00\85\DBA\8BFu\BA\00\00\00\88\C1\D3\E2I9\D4sA\BF\00\00\00\88\C1H\B8\00\00\00\00\00\00\00\00D\89\FF\D3\E7\FF\D0H\85\C0I\89\C5\84\E3\00\00\00A\8BNM\8BV(D\89\F8M\89\E81\D2I\C7F(\00\00\00\00H\89\EEL\89\F7\D3\E0L\89T$H\89\C1H\B8\00\00\00\00\00\00\00\00\FFЅ\C0I\B8\00\00\00\00\00\00\00\00L\8BT$\84\D0\FE\FF\FFM\89V(L\89\EFA\FF\D0\E9\89\00\00\00\88\C1I\83\CD\FFA\8B^L\89\E2I\D3\E5H\89\EEH\D3\EA\B9\00\00\00M!\E5)\C1L\89\F7\D3\E3\8DH\F7I\8BFH9\DAHF\DAH\D3\EEH\8BL$H\89\DA\FFP0\85\C0uDI\BF\00\00\00\00\00\00\00\00H\FF\CBH\83\FB\FFt$I\8BFH\89\EAI\8Bv \8BxA\FF\D7A\8BF\8DH\F7\B8\00\00\00\D3\E0H\C5\EB\D3Ll$M)\EC\E9\D7\FE\FF\FFH\B8\00\00\00\00\00\00\00\00\8BH\83\C4(\89\D0[]A\A]A^A_\C3H\B8\00\00\00\00\00\00\00\00H\A3\00\00\00\00\00\00\00\00\C3H\B8\00\00\00\00\00\00\00\00H\C7\00\00\00\00\00\C3Writing `%\D2\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\DE\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\E8\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\A2\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00
\00\00\00\00\00\00\00\00\00\00\00\00.symtab\00.strtab\00.shstrtab\00.rela.text\00.text.unlikely\00.rodata.str1.1\00.rela.data\00.module_license\00.bss\00.modname\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00 \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00@\00\00\00\00\00\00\00\F2\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00@\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\80\00\00\00\00\00\00\C8\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00&\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\002\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\005\00\00\00\00\00\002\00\00\00\00\00\00\00\00\00\00\00\00\00\00\002\00\00\00\00\00\00\A8\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00I\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\E0\00\00\00\00\00\00 \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00 \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00D\00\00\00\00\00\00@\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00H\00\00\00\00\00\000\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00O\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00_\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00d\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00x\00\00\00\00\00\00m\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00 \00\00\00\00\00\00\B0\00\00\00\00\00\00\00\00\00
\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00	\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00able.
  elif sleep --interruptible 0 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/00_header ###

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

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
	if [ "${1}" = "keep" ]; then
		set vt_handoff=vt.handoff=7
	else
		set vt_handoff=
	fi
}
if [ "${recordfail}" != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0b355ad0-b588-470c-8213-5000cbbe906e' {
	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  dbb4c25a-4814-4760-9354-49bb9c6a6e21
	else
	  search --no-floppy --fs-uuid --set=root dbb4c25a-4814-4760-9354-49bb9c6a6e21
	fi
	linux	/vmlinuz-4.4.0-112-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro  quiet splash $vt_handoff
	initrd	/initrd.img-4.4.0-112-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-0b355ad0-b588-470c-8213-5000cbbe906e' {
	menuentry 'Ubuntu, avec Linux 4.4.0-112-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-112-generic-advanced-0b355ad0-b588-470c-8213-5000cbbe906e' {
		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  dbb4c25a-4814-4760-9354-49bb9c6a6e21
		else
		  search --no-floppy --fs-uuid --set=root dbb4c25a-4814-4760-9354-49bb9c6a6e21
		fi
		echo	'Chargement de Linux 4.4.0-112-generic…'
		linux	/vmlinuz-4.4.0-112-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-4.4.0-112-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-112-generic (upstart)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-112-generic-init-upstart-0b355ad0-b588-470c-8213-5000cbbe906e' {
		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  dbb4c25a-4814-4760-9354-49bb9c6a6e21
		else
		  search --no-floppy --fs-uuid --set=root dbb4c25a-4814-4760-9354-49bb9c6a6e21
		fi
		echo	'Chargement de Linux 4.4.0-112-generic…'
		linux	/vmlinuz-4.4.0-112-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro  quiet splash $vt_handoff init=/sbin/upstart
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-4.4.0-112-generic
	}
	menuentry 'Ubuntu, with Linux 4.4.0-112-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-112-generic-recovery-0b355ad0-b588-470c-8213-5000cbbe906e' {
		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  dbb4c25a-4814-4760-9354-49bb9c6a6e21
		else
		  search --no-floppy --fs-uuid --set=root dbb4c25a-4814-4760-9354-49bb9c6a6e21
		fi
		echo	'Chargement de Linux 4.4.0-112-generic…'
		linux	/vmlinuz-4.4.0-112-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-4.4.0-112-generic
	}
	menuentry 'Ubuntu, avec Linux 4.4.0-109-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.4.0-109-generic-advanced-0b355ad0-b588-470c-8213-5000cbbe906e' {
		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 --his'...
\00disk\00lib/disk.c\00attempt to read or write outside of partition\00attempt to read or write outside of disk `%s'\00\00\00\00\00\00LICENSE=GPLv3+\00disk\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\8F\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\A4\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00*\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00?\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00N\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00Y\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00e\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00w\00\00\00\00\00\81\00\00\00\00\00\00\00\00\00\00\00\00\00\87\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\92\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\9C\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00grub_mod_init\00grub_mod_fini\00grub_memmove\00grub_disk_write_weak\00grub_disk_read\00grub_errno\00grub_malloc\00grub_real_dprintf\00grub_disk_write\00grub_error\00grub_free\00grub_disk_cache_table\00\00\00\00\00\00\001\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00f\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\A6\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\B7\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\C9\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\D3\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00!\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\82\00\00\00\00\00\00\00\00\00\00\00\00O\00\00\00\00\00\00\00\93\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\D9\00\00\00\00\00\00\00\00\00
\00\00\00\00\00\00\00\00\00\00\00\F3\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00t\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\B9\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\C7\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\000\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00t\00\00\00\00\00\00\00\00\00
\00\00\00\00\00\00\00\00\00\00\00\91\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\9B\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\A6\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00.symtab\00.strtab\00.shstrtab\00.rela.text\00.text.unlikely\00.rodata.str1.1\00.data\00.module_license\00.bss\00.modname\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00 \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00@\00\00\00\00\00\00\00\B6\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00@\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00(\00\00\00\00\00\00\E0\00\00\00\00\00\00
\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00&\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\F6\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\005\00\00\00\00\00\002\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\F6\00\00\00\00\00\00}\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00D\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00s\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00J\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00x\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00Z\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\87\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00_\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\87\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00	\00\00\00\00\00\00h\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\90\00\00\00\00\00\00\E0\00\00\00\00\00\00\00\00\00
\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00	\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00p\00\00\00\00\00\00\B2\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00ELF\00\00\00\00\00\00\00\00\00\00>\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00Ha\00\00\00\00\00\00\00\00\00\00@\00\00\00\00\00@\00\00\00H\B8\00\00\00\00\00\00\00\00H\89\C7H\B8\00\00\00\00\00\00\00\00H\89\C6H\B9\00\00\00\00\00\00\00\00H\CEH\CFH\83\EEH\83\EF\FD\F3\A4H\B8\00\00\00\00\00\00\00\00H\89\C7H\B8\00\00\00\00\00\00\00\00H\89\C6H\B9\00\00\00\00\00\00\00\00\FC\F3\A4H\83\EC(1\F6H\B8\00\00\00\00\00--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)

   0.500976562 = 0.537919488    grub/grub.cfg                                  4
   0.688019753 = 0.738755584    vmlinuz-4.4.0-109-generic                     10
   0.729003906 = 0.782761984    vmlinuz-4.4.0-109-generic.efi.signed          10
   0.726098061 = 0.779641856    vmlinuz-4.4.0-112-generic                     11
   0.726608276 = 0.780189696    vmlinuz-4.4.0-112-generic.efi.signed          10
   0.739256859 = 0.793771008    initrd.img-4.4.0-109-generic                  192
   0.738810539 = 0.793291776    initrd.img-4.4.0-112-generic                  34

========================== 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/sda2 during installation
#UUID=dbb4c25a-4814-4760-9354-49bb9c6a6e21 /boot           ext2    defaults        0       2
# /boot/efi was on /dev/sda1 during installation
#UUID=F3CA-A6C7  /boot/efi       vfat    defaults        0       1
/dev/mapper/ubuntu--vg-swap_1 none            swap    sw              0       0

# NAS
//192.168.1.50/Disque   /media/sylvain/nas  cifs    credentials=/root/.smbcredentials,iocharset=utf8,gid=1000,uid=1000,_netdev,user,auto	0	0

# Disque dur sauvegarde 4 To
#UUID=aa6a9c44-ed62-4fed-b3de-c28ff692e1cf /media/sylvain/backup_4to/ ext4 defaults 0 2

# defaults 0 2 :
#    defaults (options): monter avec les options par défaut: rw, suid, dev, exec, auto, nouser, async
#   0 (dump): ne pas faire de sauvegarde avec dump (en général, il n'est pas installé)
#    2 (pass): dans quel ordre faire le fsck (verification d'intégrité des données). La racine doit avoir la priorité la plus importante (1) pour désactiver c'est 0, 2 veut juste dire que ce n'est pas la racine.

UUID=dbb4c25a-4814-4760-9354-49bb9c6a6e21	/boot	ext2	defaults	0	2
UUID=F3CA-A6C7	/boot/efi	vfat	defaults	0	1
--------------------------------------------------------------------------------

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

Unknown MBR on /dev/sdb

00000000  45 52 08 00 00 00 90 90  00 00 00 00 00 00 00 00  |ER..............|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f1 06 b4 42 eb 15 eb 00  |...t.f.....B....|
00000070  5a 51 b4 08 cd 13 83 e1  3f 5b 51 0f b6 c6 40 50  |ZQ......?[Q...@P|
00000080  f7 e1 53 52 50 bb 00 7c  b9 04 00 66 a1 b0 07 e8  |..SRP..|...f....|
00000090  44 00 0f 82 80 00 66 40  80 c7 02 e2 f2 66 81 3e  |D.....f@.....f.>|
000000a0  40 7c fb c0 78 70 75 09  fa bc ec 7b ea 44 7c 00  |@|..xpu....{.D|.|
000000b0  00 e8 83 00 69 73 6f 6c  69 6e 75 78 2e 62 69 6e  |....isolinux.bin|
000000c0  20 6d 69 73 73 69 6e 67  20 6f 72 20 63 6f 72 72  | missing or corr|
000000d0  75 70 74 2e 0d 0a 66 60  66 31 d2 66 03 06 f8 7b  |upt...f`f1.f...{|
000000e0  66 13 16 fc 7b 66 52 66  50 06 53 6a 01 6a 10 89  |f...{fRfP.Sj.j..|
000000f0  e6 66 f7 36 e8 7b c0 e4  06 88 e1 88 c5 92 f6 36  |.f.6.{.........6|
00000100  ee 7b 88 c6 08 e1 41 b8  01 02 8a 16 f2 7b cd 13  |.{....A......{..|
00000110  8d 64 10 66 61 c3 e8 1e  00 4f 70 65 72 61 74 69  |.d.fa....Operati|
00000120  6e 67 20 73 79 73 74 65  6d 20 6c 6f 61 64 20 65  |ng system load e|
00000130  72 72 6f 72 2e 0d 0a 5e  ac b4 0e 8a 3e 62 04 b3  |rror...^....>b..|
00000140  07 cd 10 3c 0a 75 f1 cd  18 f4 eb fd 00 00 00 00  |...<.u..........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000160  00 00 00 00 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 00 00 00 00 00 00  |................|
00000190  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001b0  80 38 00 00 00 00 00 00  08 76 44 1a 00 00 80 00  |.8.......vD.....|
000001c0  01 00 00 3f e0 fb 00 00  00 00 00 e0 1f 00 00 fe  |...?............|
000001d0  ff ff ef fe ff ff 9c 66  00 00 c0 11 00 00 00 00  |.......f........|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


/dev/sdb1: unknown GPT attributes
1000000000000001

/dev/sdb2: unknown GPT attributes
1000000000000001
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 31 00 00 00 00  |........sha1....|
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  8b cf 7d 12 dc 7c 9d e4  ec 61 32 d7 6f db 9b 62  |..}..|...a2.o..b|
00000080  a8 c7 34 2f 75 fa dc 0c  3c a3 e5 57 34 d1 e1 12  |..4/u...<..W4...|
00000090  95 2f ce 29 8e 5e 95 71  18 54 ab bc 0a 47 de bf  |./.).^.q.T...G..|
000000a0  4f 90 cd d5 00 00 7e 77  62 33 30 63 31 62 31 33  |O.....~wb30c1b13|
000000b0  2d 63 65 35 32 2d 34 62  35 61 2d 38 38 65 61 2d  |-ce52-4b5a-88ea-|
000000c0  64 35 32 65 37 37 31 31  34 31 61 35 00 00 00 00  |d52e771141a5....|
000000d0  00 ac 71 f3 00 01 ec 1f  c5 bb 14 f8 75 3c f9 d5  |..q.........u<..|
000000e0  f6 06 c6 d7 f7 70 e9 77  12 89 d2 83 2d 09 64 99  |.....p.w....-.d.|
000000f0  b8 03 42 da f1 06 5d da  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

Unknown BootLoader on sdb1

00000000  45 52 08 00 00 00 90 90  00 00 00 00 00 00 00 00  |ER..............|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  33 ed fa 8e d5 bc 00 7c  fb fc 66 31 db 66 31 c9  |3......|..f1.f1.|
00000030  66 53 66 51 06 57 8e dd  8e c5 52 be 00 7c bf 00  |fSfQ.W....R..|..|
00000040  06 b9 00 01 f3 a5 ea 4b  06 00 00 52 b4 41 bb aa  |.......K...R.A..|
00000050  55 31 c9 30 f6 f9 cd 13  72 16 81 fb 55 aa 75 10  |U1.0....r...U.u.|
00000060  83 e1 01 74 0b 66 c7 06  f1 06 b4 42 eb 15 eb 00  |...t.f.....B....|
00000070  5a 51 b4 08 cd 13 83 e1  3f 5b 51 0f b6 c6 40 50  |ZQ......?[Q...@P|
00000080  f7 e1 53 52 50 bb 00 7c  b9 04 00 66 a1 b0 07 e8  |..SRP..|...f....|
00000090  44 00 0f 82 80 00 66 40  80 c7 02 e2 f2 66 81 3e  |D.....f@.....f.>|
000000a0  40 7c fb c0 78 70 75 09  fa bc ec 7b ea 44 7c 00  |@|..xpu....{.D|.|
000000b0  00 e8 83 00 69 73 6f 6c  69 6e 75 78 2e 62 69 6e  |....isolinux.bin|
000000c0  20 6d 69 73 73 69 6e 67  20 6f 72 20 63 6f 72 72  | missing or corr|
000000d0  75 70 74 2e 0d 0a 66 60  66 31 d2 66 03 06 f8 7b  |upt...f`f1.f...{|
000000e0  66 13 16 fc 7b 66 52 66  50 06 53 6a 01 6a 10 89  |f...{fRfP.Sj.j..|
000000f0  e6 66 f7 36 e8 7b c0 e4  06 88 e1 88 c5 92 f6 36  |.f.6.{.........6|
00000100  ee 7b 88 c6 08 e1 41 b8  01 02 8a 16 f2 7b cd 13  |.{....A......{..|
00000110  8d 64 10 66 61 c3 e8 1e  00 4f 70 65 72 61 74 69  |.d.fa....Operati|
00000120  6e 67 20 73 79 73 74 65  6d 20 6c 6f 61 64 20 65  |ng system load e|
00000130  72 72 6f 72 2e 0d 0a 5e  ac b4 0e 8a 3e 62 04 b3  |rror...^....>b..|
00000140  07 cd 10 3c 0a 75 f1 cd  18 f4 eb fd 00 00 00 00  |...<.u..........|
00000150  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001b0  80 38 00 00 00 00 00 00  08 76 44 1a 00 00 80 00  |.8.......vD.....|
000001c0  01 00 00 3f e0 fb 00 00  00 00 00 e0 1f 00 00 fe  |...?............|
000001d0  ff ff ef fe ff ff 9c 66  00 00 c0 11 00 00 00 00  |.......f........|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200


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

File descriptor 9 (/proc/5064/mounts) leaked on lvs invocation. Parent PID 29950: bash
File descriptor 63 (pipe:[367077]) leaked on lvs invocation. Parent PID 29950: bash
File descriptor 9 (/proc/5064/mounts) leaked on lvchange invocation. Parent PID 30940: bash
File descriptor 63 (pipe:[367077]) leaked on lvchange invocation. Parent PID 30940: bash
File descriptor 9 (/proc/5064/mounts) leaked on lvchange invocation. Parent PID 30940: bash
File descriptor 63 (pipe:[367077]) leaked on lvchange invocation. Parent PID 30940: bash

ADDITIONAL INFORMATION :
=================== log of boot-repair 20180208_1800 ===================
boot-repair 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/sda1: UUID="F3CA-A6C7" TYPE="vfat"
/dev/sda2: UUID="dbb4c25a-4814-4760-9354-49bb9c6a6e21" TYPE="ext2"
/dev/sda3: UUID="b30c1b13-ce52-4b5a-88ea-d52e771141a5" TYPE="crypto_LUKS"
/dev/sdb1: LABEL="Ubuntu 14.04.4 LTS amd64" TYPE="iso9660"
/dev/sdb2: SEC_TYPE="msdos" UUID="07CE-F2EA" TYPE="vfat"
/dev/mapper/luks-b30c1b13-ce52-4b5a-88ea-d52e771141a5: UUID="faF8s7-XEJ8-CdVW-Ftz3-PoFn-RHHd-qcUbME" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="0b355ad0-b588-470c-8213-5000cbbe906e" TYPE="ext4"
/dev/mapper/ubuntu--vg-swap_1: UUID="ac67c493-fd74-4b91-8804-40a1c96bbeae" TYPE="swap"
MODPROBE
VGSCAN
File descriptor 9 (/proc/5064/mounts) leaked on vgscan invocation. Parent PID 5072: /bin/bash
Reading all physical volumes.  This may take a while...
Found volume group "ubuntu-vg" using metadata type lvm2
VGCHANGE
File descriptor 9 (/proc/5064/mounts) leaked on vgchange invocation. Parent PID 5072: /bin/bash
2 logical volume(s) in volume group "ubuntu-vg" now active
File descriptor 9 (/proc/5064/mounts) leaked on lvscan invocation. Parent PID 5072: /bin/bash
LVSCAN:
ACTIVE            '/dev/ubuntu-vg/root' [472.30 GiB] inherit
ACTIVE            '/dev/ubuntu-vg/swap_1' [3.88 GiB] inherit
Is there RAID on this computer? no
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
File descriptor 9 (/proc/5064/mounts) leaked on vgs invocation. Parent PID 7209: grub-probe
File descriptor 9 (/proc/5064/mounts) leaked on vgs invocation. Parent PID 7209: grub-probe

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


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


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

Disk /dev/mapper/luks-b30c1b13-ce52-4b5a-88ea-d52e771141a5 doesn't contain a valid partition table
Disk /dev/mapper/ubuntu--vg-root doesn't contain a valid partition table
Disk /dev/mapper/ubuntu--vg-swap_1 doesn't contain a valid partition table
boot-repair is executed in live-session (Ubuntu 14.04.4 LTS, trusty, Ubuntu, x86_64)
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
ls: cannot access /home/usr/.config: No such file or directory
[dmraid -sa -c] no
[dmraid -sa -c] raid
[dmraid -sa -c] disks
Set sda as corresponding disk of mapper/ubuntu--vg-root
mount: unknown filesystem type 'crypto_LUKS'
mount /dev/sda3 : Error code 32
mount -r /dev/sda3 /mnt/boot-sav/sda3
mount: unknown filesystem type 'crypto_LUKS'
mount -r /dev/sda3 : Error code 32

=================== os-prober:
/dev/mapper/ubuntu--vg-root:Ubuntu 16.04.3 LTS (16.04):Ubuntu:linux

=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="F3CA-A6C7" TYPE="vfat"
/dev/sda2: UUID="dbb4c25a-4814-4760-9354-49bb9c6a6e21" TYPE="ext2"
/dev/sda3: UUID="b30c1b13-ce52-4b5a-88ea-d52e771141a5" TYPE="crypto_LUKS"
/dev/sdb1: LABEL="Ubuntu 14.04.4 LTS amd64" TYPE="iso9660"
/dev/sdb2: SEC_TYPE="msdos" UUID="07CE-F2EA" TYPE="vfat"
/dev/mapper/luks-b30c1b13-ce52-4b5a-88ea-d52e771141a5: UUID="faF8s7-XEJ8-CdVW-Ftz3-PoFn-RHHd-qcUbME" TYPE="LVM2_member"
/dev/mapper/ubuntu--vg-root: UUID="0b355ad0-b588-470c-8213-5000cbbe906e" TYPE="ext4"
/dev/mapper/ubuntu--vg-swap_1: UUID="ac67c493-fd74-4b91-8804-40a1c96bbeae" TYPE="swap"

[dmraid -sa -c] no
[dmraid -sa -c] raid
[dmraid -sa -c] disks
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: unknown filesystem type 'crypto_LUKS'
mount /dev/sda3 : Error code 32
mount -r /dev/sda3 /mnt/boot-sav/sda3
mount: unknown filesystem type 'crypto_LUKS'
mount -r /dev/sda3 : Error code 32

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


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


=================== mapper/ubuntu--vg-root/etc/grub.d/ :
drwxr-xr-x  2 root root      4096 Feb  6 08:27 grub.d
total 80
-rwxr-xr-x 1 root root  9791 Dec 17  2015 00_header
-rwxr-xr-x 1 root root  6258 Mar 15  2016 05_debian_theme
-rwxr-xr-x 1 root root 12512 Mar  1  2017 10_linux
-rwxr-xr-x 1 root root 11082 Dec 20  2016 20_linux_xen
-rwxr-xr-x 1 root root  1992 Mar 12  2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 Dec 17  2015 30_os-prober
-rwxr-xr-x 1 root root  1418 Aug  2  2016 30_uefi-firmware
-rwxr-xr-x 1 root root   214 Dec 17  2015 40_custom
-rwxr-xr-x 1 root root   216 Dec 17  2015 41_custom
-rw-r--r-- 1 root root   483 Dec 17  2015 README




=================== mapper/ubuntu--vg-root/etc/default/grub :

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

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

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

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

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

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

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

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



/boot/efi detected in the fstab of mapper/ubuntu--vg-root: UUID=F3CA-A6C7   (sda1)
/boot detected in the fstab of mapper/ubuntu--vg-root: UUID=dbb4c25a-4814-4760-9354-49bb9c6a6e21  (sda2)

=================== efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 2001,0001,2002,2003
Boot0000* EFI USB Device (KingstonDataTraveler SE9)	ACPI(a0341d0,0)PCI(1d,0)USB(0,0)USB(2,0)HD(1,669c,11c0,1a447608)RC
Boot0001* Ubuntu	HD(1,800,100000,34a7ffda-a3ff-421b-9518-c521c1ab6ca1)File(EFIubuntugrubx64.efi)RC
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC

=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled. (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,	farbios,	notbiosboot, /mnt/boot-sav/sda3.
mapper/ubuntu--vg-root	: sda,	not-sepboot,	no-grubenv	grub2,	signed grub-efi ,	update-grub,	64,	no-boot,	is-os,	not--efi--part,	fstab-has-goodBOOT,	fstab-has-goodEFI,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot,	apt-get,	grub-install,	with--usr,	fstab-without-usr,	not-sep-usr,	standard,	not-far,	notbiosboot, /mnt/boot-sav/mapper/ubuntu--vg-root.

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


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

BYT;
/dev/sda:512GB:scsi:512:512:gpt:ATA TS512GSSD370;
1:1049kB:538MB:537MB:fat32::boot;
2:538MB:794MB:256MB:ext2::;
3:794MB:512GB:511GB:::;

Warning: /dev/sdb contains GPT signatures, indicating that it has a GPT table.  However, it does not have a valid fake msdos partition table, as it should.  Perhaps it was corrupted -- possibly by a program that doesn't understand GPT partition tables.  Or perhaps you deleted the GPT table, and are now using an msdos partition table.  Is this a GPT partition table?
Error: Both the primary and backup GPT tables are corrupt.  Try making a fresh table, and using Parted's rescue feature to recover partitions.

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

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

Error: /dev/mapper/luks-b30c1b13-ce52-4b5a-88ea-d52e771141a5: unrecognised disk label

=================== lsblk:
KNAME TYPE  FSTYPE        SIZE LABEL
sda   disk                477G
sda1  part  vfat          512M
sda2  part  ext2          244M
sda3  part  crypto_LUKS 476.2G
dm-0  crypt LVM2_member 476.2G
dm-1  lvm   ext4        472.3G
dm-2  lvm   swap          3.9G
sdb   disk  iso9660      14.7G Ubuntu 14.04.4 LTS amd64
sdb1  part  iso9660      1020M Ubuntu 14.04.4 LTS amd64
sdb2  part  vfat          2.2M
sr0   rom                1024M
loop0 loop  squashfs    975.9M

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      0  0  0 running
sda1     0  0  0         /mnt/boot-sav/sda1
sda2     0  0  0         /mnt/boot-sav/sda2
sda3     0  0  0
dm-0     0  0  0 running
dm-1     0  0  0 running /mnt/boot-sav/mapper/ubuntu--vg-root
dm-2     0  0  0 running
sdb      1  0  1 running
sdb1     1  0  1
sdb2     1  0  1
sr0      1  0  1 running
loop0    1  1  0         /rofs


=================== mount:
/cow on / type overlay (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sdb on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /sys/firmware/efi/efivars type efivarfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
gvfsd-fuse on /home/ubuntu/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw)
/dev/sda2 on /mnt/boot-sav/sda2 type ext2 (rw)
/dev/mapper/ubuntu--vg-root on /mnt/boot-sav/mapper/ubuntu--vg-root type ext4 (rw)


=================== ls:
/sys/block/dm-0 (filtered):  alignment_offset bdi capability dev discard_alignment dm ext_range holders inflight 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 holders inflight 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 holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 sdb2 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dm-0 dm-1 dm-2 dri ecryptfs fb0 fd full fuse hidraw0 hidraw1 hpet hwrng i2c-0 i2c-1 i2c-2 i2c-3 i2c-4 i2c-5 i2c-6 input kmsg kvm log mapper mcelog media0 mei0 mem memory_bandwidth ndctl0 net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sdb sdb1 sdb2 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout ubuntu-vg uhid uinput urandom usb v4l vfio vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper:  control luks-b30c1b13-ce52-4b5a-88ea-d52e771141a5 ubuntu--vg-root ubuntu--vg-swap_1

=================== 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 c7 a6 ca f3 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

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


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


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

Disk /dev/mapper/luks-b30c1b13-ce52-4b5a-88ea-d52e771141a5 doesn't contain a valid partition table
Disk /dev/mapper/ubuntu--vg-root doesn't contain a valid partition table
Disk /dev/mapper/ubuntu--vg-swap_1 doesn't contain a valid partition table

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

Filesystem                  Type      Size  Used Avail Use% Mounted on
udev                        devtmpfs  1.9G   12K  1.9G   1% /dev
tmpfs                       tmpfs     384M  1.3M  382M   1% /run
/dev/sdb                    iso9660  1020M 1020M     0 100% /cdrom
/dev/loop0                  squashfs  976M  976M     0 100% /rofs
/cow                        overlay   1.9G  654M  1.3G  35% /
none                        tmpfs     4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs                       tmpfs     1.9G  2.1M  1.9G   1% /tmp
none                        tmpfs     5.0M     0  5.0M   0% /run/lock
none                        tmpfs     1.9G  652K  1.9G   1% /run/shm
none                        tmpfs     100M  124K  100M   1% /run/user
/dev/sda1                   vfat      511M  3.5M  508M   1% /mnt/boot-sav/sda1
/dev/sda2                   ext2      237M  126M   99M  56% /mnt/boot-sav/sda2
/dev/mapper/ubuntu--vg-root ext4      465G  221G  221G  50% /mnt/boot-sav/mapper/ubuntu--vg-root

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

Disk /dev/sda: 512.1 GB, 512110190592 bytes
255 heads, 63 sectors/track, 62260 cylinders, total 1000215216 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1  1000215215   500107607+  ee  GPT

Disk /dev/sdb: 15.7 GB, 15724707840 bytes
255 heads, 63 sectors/track, 1911 cylinders, total 30712320 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1a447608

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           0     2088959     1044480    0  Empty
/dev/sdb2           26268       30811        2272   ef  EFI (FAT-12/16/32)

Disk /dev/sdb1: 1069 MB, 1069547520 bytes
255 heads, 63 sectors/track, 130 cylinders, total 2088960 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1a447608

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1p1   *           0     2088959     1044480    0  Empty
/dev/sdb1p2           26268       30811        2272   ef  EFI (FAT-12/16/32)

Disk /dev/mapper/luks-b30c1b13-ce52-4b5a-88ea-d52e771141a5: 511.3 GB, 511313969152 bytes
255 heads, 63 sectors/track, 62163 cylinders, total 998660096 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/ubuntu--vg-root: 507.1 GB, 507133296640 bytes
255 heads, 63 sectors/track, 61655 cylinders, total 990494720 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/ubuntu--vg-swap_1: 4164 MB, 4164943872 bytes
255 heads, 63 sectors/track, 506 cylinders, total 8134656 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


/boot detected. Please check the options.
=================== Advices
You may want to retry after decrypting your partitions. (https://help.ubuntu.com/community/EncryptedPrivateDirectory)
Do you want to continue?

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


/boot added in mapper/ubuntu--vg-root/fstab
/boot/efi added in mapper/ubuntu--vg-root/fstab
Mount sda2 on /mnt/boot-sav/mapper/ubuntu--vg-root/boot
Mount sda1 on /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi
efi files in sda1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi
chroot /mnt/boot-sav/mapper/ubuntu--vg-root apt-get -y update
Purge the GRUB of mapper/ubuntu--vg-root
grub-efi-amd64-signed available
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
DEBCHECK debNG, grub-efi-amd64-signed
DEBCHECK debNG
=================== grub-efi-amd64-signed purge cancelled
dpkg-error detected. Please open a terminal then type (or copy-paste) the following command:

sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" dpkg --configure -a

Then close this window.


=================== Suggested repair
The default repair of the Boot-Repair utility will purge (in order to sign-grub) and reinstall the grub-efi-amd64-signed of mapper/ubuntu--vg-root, using the following options:        sda2/boot, sda1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s    use-standard-efi-file


=================== Advice in case of suggested repair
You may want to retry after decrypting your partitions. (https://help.ubuntu.com/community/EncryptedPrivateDirectory)
Do you want to continue?


=================== Final advice in case of suggested repair
Please do not forget to make your BIOS boot on sda1/efi/.../grub*.efi file!


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

16.04 LTS (32 bits + 64 bits)

 

Modifié par Jarodd

Partager cette publication


Link to post
Share on other sites

Pas de fichier "Boot repair" visible !

Avez-vous restauré la version initiale (je suppose que vous avez une sauvegarde) et recommencé la mise à jour pour voir si c'est un problème survenu au hasard ou persistent ?

Partager cette publication


Link to post
Share on other sites

Je ne peux pas restaurer la version initiale, je fais des sauvegardes de mes fichiers mais pas des fichiers système :(

Je ne peux pas recommencer la mise à jour puisque je n'ai plus accès au système, c'est bien mon problème.

Partager cette publication


Link to post
Share on other sites

Salut,

 

Je suis pas spécialiste en partition chriffrée, je pense qu'il te faudrait booter sur une clé usb ou DVD en live, voir si tu peux monter ta partitions et au moins faire ta sauvegarde du /home par précaution

 

Ensuite, la coupure en pleine MAJ, sans faire mon oiseau de mauvais augure, sur Linux ça craint, comme sur n'importe quel OS.

 

Ensuite, je me ferais pas chier, je réinstalle à partir du live OS dernière mouture Ubuntu dessus ; dans mes souvenirs il y avait une option de mise à jour et surtout reconstruire un grub dans la procédure.

 

J'ai l'impression que c'est le GPT qui fout la zone, il a pas l'air pris en charge nativement, fdisk ne le gère pas. Ici ils conseillent (dans la section en ligne de commande) un live USB aussi tiens

Il y a 4 heures, Jarodd a écrit :

/boot added in mapper/ubuntu--vg-root/fstab /boot/efi added in mapper/ubuntu--vg-root/fstab Mount sda2 on /mnt/boot-sav/mapper/ubuntu--vg-root/boot Mount sda1 on /mnt/boot-sav/mapper/ubuntu--vg-root/boot/efi efi files in sda1/efi: /ubuntu/shimx64.efi /ubuntu/mmx64.efi /ubuntu/grubx64.efi /ubuntu/fwupx64.efi chroot /mnt/boot-sav/mapper/ubuntu--vg-root apt-get -y update Purge the GRUB of mapper/ubuntu--vg-root grub-efi-amd64-signed available E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. DEBCHECK debNG, grub-efi-amd64-signed DEBCHECK debNG =================== grub-efi-amd64-signed purge cancelled dpkg-error detected. Please open a terminal then type (or copy-paste) the following command: sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" dpkg --configure -a

il y'a une piste ici aussi, ton dpkg est vérolé, bref une bonne somme de problèmes en survolant ton journal, un live USB est ton  salut en temps et énergie pour commencer, tout régler en ne pouvant démarrer que sur de la commande grub, pour ensuite arriver sur un terminal est tout à fait possible, mais ça risque d'être énergivore et chronophage.

 

Bref, un Live USB/CD pour commencer

Partager cette publication


Link to post
Share on other sites

bonne nouvelle, grub n'est pas sur les partitions chiffrées. sinon l'EFI ne pourrait pas le booter.
Il a besoin d'avoir accès en clair au fichier de configuration, au noyau et au ramdisk qui lui a tout le nécessaire pour dechiffrer la partition root.

je ne connais pas bootrepair mais à la fin du rapport il semble laisser un terminal ouvert et te suggère de taper une commande pour réparer le gestionnaire de paquet ce qui permettra de finir les installations et réparer normalement ce qui est cassé :

=================== grub-efi-amd64-signed purge cancelled
dpkg-error detected. Please open a terminal then type (or copy-paste) the following command:

sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" dpkg --configure -a

Then close this window.
  • Aime 1

Partager cette publication


Link to post
Share on other sites

Hello,

Voilà je suis rentré de congés et j'ai fait mes sauvegardes. Voilà le résultat de la commande, lancée depuis une session live-usb :

ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" dpkg --configure -a
chroot: cannot change root directory to /mnt/boot-sav/mapper/ubuntu--vg-root: No such file or directory

Il faut faire autre chose avant ?

Partager cette publication


Link to post
Share on other sites

il fallait le faire depuis bootrepair qui a visiblement déchiffré et monté les partitions.

Si tu veux le faire depuis un livecd il faudra faire ça manuellement avant de chrooter.
soit :

sudo -s
mkdir /mnt/ubuntu
cryptsetup open --type luks /dev/sda3 ubuntu
mount /dev/mapper/ubuntu /mnt/ubuntu
mount /dev/sda2 /mnt/ubuntu/boot
mount /dev/sda1 /mnt/ubuntu/boot/efi
mount -o bind /dev /mnt/ubuntu/dev
mount -o bind /proc /mnt/ubuntu/proc
mount -o bind /sys /mnt/ubuntu/sys
chroot /mnt/ubuntu /bin/bash
. /etc/profile
dpkg --configure -a
apt install
update-grub
exit
umount /mnt/ubuntu/{sys,proc,dev,boot/{efi,},}
cryptsetup close ubuntu
exit

 

Et redémarrer

Modifié par L33thium

Partager cette publication


Link to post
Share on other sites

Bonjour,

Dans le message de jeudi, il est indiqué :

Citer

Bref, un Live USB/CD pour commencer

Donc j'ai démarré une session live-usb, et j'ai installé boot-repair. Je ne comprends pas ce que j'ai mal fait ?

J'ai tapé les commandes du post au dessus, la 4e me retourne une erreur :

ubuntu@ubuntu:~$ sudo -s
root@ubuntu:~# mkdir /mnt/ubuntu
root@ubuntu:~# cryptsetup open --type luks /dev/sda3 ubuntu
Enter passphrase for /dev/sda3: 
root@ubuntu:~# mount /dev/mapper/ubuntu /mnt/ubuntu
mount: unknown filesystem type 'LVM2_member'
root@ubuntu:~#

 

Modifié par Jarodd

Partager cette publication


Link to post
Share on other sites

ah on a un volume lvm dans la partition chiffrée, j'ai jamais manipulé ça, je te laisse trouver comment faire dans ce cas.

Partager cette publication


Link to post
Share on other sites

Tu peut peut être encore t'en sortir.

Tu peut normalement trouver les partitions des volumes LVM et les activer : https://zeldor.biz/2011/01/mount-lvm-from-livecd/

Ensuite monte ta partition "/", chroot toi dessus :

mount /dev/mapper/partion-qui-va-bien /mnt
cd /mnt
chroot /mnt

Si le système n'est pas trop cassé tu peut reprendre ta mise à jour avec apt-get dist-upgrade.

  • Aime 1

Partager cette publication


Link to post
Share on other sites
On 10/02/2018 at 20:56, Jarodd a écrit :

Hello,

Voilà je suis rentré de congés et j'ai fait mes sauvegardes. Voilà le résultat de la commande, lancée depuis une session live-usb :


ubuntu@ubuntu:~$ sudo chroot "/mnt/boot-sav/mapper/ubuntu--vg-root" dpkg --configure -a
chroot: cannot change root directory to /mnt/boot-sav/mapper/ubuntu--vg-root: No such file or directory

Il faut faire autre chose avant ?

Comme ça une réinstallation ne fait plus peur.

 

Il y a 11 heures, Jarodd a écrit :

Bonjour,

Dans le message de jeudi, il est indiqué :

Donc j'ai démarré une session live-usb, et j'ai installé boot-repair. Je ne comprends pas ce que j'ai mal fait ?

J'ai tapé les commandes du post au dessus, la 4e me retourne une erreur :


ubuntu@ubuntu:~$ sudo -s
root@ubuntu:~# mkdir /mnt/ubuntu
root@ubuntu:~# cryptsetup open --type luks /dev/sda3 ubuntu
Enter passphrase for /dev/sda3: 
root@ubuntu:~# mount /dev/mapper/ubuntu /mnt/ubuntu
mount: unknown filesystem type 'LVM2_member'
root@ubuntu:~#

 

Le live usb c'était pour les sauvegardes et avoir une base pour réinstaller/intervenir sur l'OS hein. L33thium a été plus loin que moi, sa méthode est intéressante ; quand je parlais d'accès au terminal, c'était celui de l'OS installé, c'est son dpkg qui est cassé *my bad je l'ai pas précisé*. Je préconisais la chirurgie militaire via installation après sauvegarde avec un live OS, il y a une option de mise à jour de l'OS et de reconstruction du grub "normalement" dans l'installeur ou les options, qui permet de garder son OS ; en fait tu serais passé de ta 16.04 à une 17.04 en gardant tes anciens paramètres, etc. Il est même possible de faire la procédure avec une 16.04 "à priori", j'ai déjà reconstruit des grub avec cette méthode sur d'anciennes versions d'Ubuntu, Mageia et Mandriva (j'ai pas fusillé de grub depuis un bout de temps et n'avais pas de partition chiffrée). Ma méthode ferait se couper la barbe à un as de la ligne de commande j'en conviens.

 

RaphAstronome tient peut être la formule magique en combinant avec L33thium, ça se tente pour la beauté du geste.

Partager cette publication


Link to post
Share on other sites

en fait, relance juste bootrepair, une fois qu'il a finit, tu ne ferme pas le fenêtre du rapport, mais tu ouvre un terminal et tu copie/colle la commande qu'il te suggère.

bootrepair va déchiffrer et monter le lvm à ta place, tu n'a qu'à faire ce qu'il te dit.

Partager cette publication


Link to post
Share on other sites

Veuillez vous connecter pour commenter

Vous serez en mesure de laisser un commentaire après vous être connecté



Se connecter dès maintenant

×