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 30/03/2016, à 13:23

J-F_R_44

Démarrage KO UBUNTU 14.04 LTS CRYPTE [Résolu]

Bonjour,

j'ai installé Ubuntu après un crash suite à une mauvaise manip de ma part, ceci à partir d'un CD que j'ai créé.
L'installation à connu des avatars j'ai dû m'y reprendre à 3 fois pour cause de coupure de courant intempestive,
EDF n'est plus ce qu'il était...
J'ai laissé le CD faire tout tout seul j'ai juste choisi l'option de cryptage, au démarrage le PC démarre mais pas l'OS,
je fais un Ctrl Suppr et j'ai la console pour choisir un mode de démarrage, je choisis Ubuntu et tout se passe bien,
il me demande la clef de cryptage et démarre correctement,
j'avoue que il m'avait échappé ce détail qui est un peu embêtant surtout si quelqu'un d'autre à la maison veut se servir de micro
et donc ma 1ère question est : peut-on se passer de cette saisie, si oui comment ?
si non comment annule-t-on le cryptage sans tout réinstaller ?
La 2ème question concerne bien sûr le démarrage, j'ai essayé Boot Repair sans succès voici le dernier rapport généré
http://paste.ubuntu.com/15436970
Merci d'avance de vos suggestions.
J-F.

Dernière modification par J-F_R_44 (Le 04/04/2016, à 14:33)


Ubuntu 18.04.2 LTS, carte mère ASUS P5Q, Intel Core 2 Duo CPU E8500 @ 3.16Ghz x 2, carte graphique llvmpipe (LLVM 7.0, 128bits),
carte réseau Qualcomm Atheros AR8121, GNOME 3.28.2, 64bits.

Hors ligne

#2 Le 30/03/2016, à 14:03

kholo

Re : Démarrage KO UBUNTU 14.04 LTS CRYPTE [Résolu]

bonjour,
le bon lien pour le résultat :
http://paste.ubuntu.com/15436970

j'ai juste choisi l'option de cryptage

n'est pas anodin et explique les problèmes

le boot repair :

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


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

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos1)/grub.
 => Windows 2000/XP/2003 is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       ext2
    Boot sector type:  Grub2 (v1.99-2.00)
    Boot sector info:  Grub2 (v2.00) is installed in the boot sector of sda1 
                       and looks at sector 367664 of the same hard drive for 
                       core.img. core.img is at this location.
    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: 

sda3: __________________________________________________________________________

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

sdb1: __________________________________________________________________________

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

sdb2: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048       499,711       497,664  83 Linux
/dev/sda2             501,758   976,771,071   976,269,314   5 Extended
/dev/sda5             501,760   976,771,071   976,269,312  83 Linux
/dev/sda3         976,771,072   976,773,119         2,048  82 Linux swap / Solaris


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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                  63   585,939,547   585,939,485   c W95 FAT32 (LBA)
/dev/sdb2    *    585,939,548   976,773,167   390,833,620  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        aed161e4-75c2-4ed1-a172-e91ffc6c63dc   ext2       
/dev/sda3        617352bc-5ff9-4860-8369-ee5480d09f37   swap       
/dev/sda5        9dd7ad63-de92-4e54-8bc3-2226f0765211   crypto_LUKS 
/dev/sdb1        BEBC-AD9D                              vfat       Sauvegarde
/dev/sdb2        28796f55-e466-47fc-bc62-c3b7d0c3ae5c   ext4       Dispo
/dev/sr1                                                iso9660    Boot-Repair-Disk 64bit
/dev/zram0       3070d670-4b29-4524-994e-8c9d3825250e   swap       
/dev/zram1       0c9a0217-43ce-4850-9a75-a706f5f6d1fc   swap       

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

total 0
lrwxrwxrwx 1 root root  9 Mar 20 14:23 ata-PIONEER_DVD-RW_DVR-111D -> ../../sr1
lrwxrwxrwx 1 root root  9 Mar 20 14:23 ata-SONY_CD-RW_CRX168B -> ../../sr0
lrwxrwxrwx 1 root root  9 Mar 20 14:25 ata-ST500DM002-1BD142_Z3TSQ1MA -> ../../sda
lrwxrwxrwx 1 root root  9 Mar 20 14:25 ata-WDC_WD5000AADS-00S9B0_WD-WCAV90469364 -> ../../sdb
lrwxrwxrwx 1 root root 10 Mar 20 14:23 ata-WDC_WD5000AADS-00S9B0_WD-WCAV90469364-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Mar 20 14:23 ata-WDC_WD5000AADS-00S9B0_WD-WCAV90469364-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Mar 20 14:24 ata-_D00M201-DB41CK84-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 20 14:24 ata-_D00M201-DB41CK84-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 20 14:24 ata-_D00M201-DB41CK84-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 20 14:24 ata-_D00M201-DB41CK84-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Mar 20 14:25 wwn-0x5000c50065292d3c -> ../../sda
lrwxrwxrwx 1 root root  9 Mar 20 14:25 wwn-0x50014ee1020c34d2 -> ../../sdb
lrwxrwxrwx 1 root root 10 Mar 20 14:23 wwn-0x50014ee1020c34d2-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Mar 20 14:23 wwn-0x50014ee1020c34d2-part2 -> ../../sdb2

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

Device           Mount_Point              Type       Options

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


============================= 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 [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

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

export menuentry_id_option

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

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

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aed161e4-75c2-4ed1-a172-e91ffc6c63dc
else
  search --no-floppy --fs-uuid --set=root aed161e4-75c2-4ed1-a172-e91ffc6c63dc
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=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-e3bb83ce-7ec9-4b03-9616-f5aa93fbed59' {
	recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aed161e4-75c2-4ed1-a172-e91ffc6c63dc
	else
	  search --no-floppy --fs-uuid --set=root aed161e4-75c2-4ed1-a172-e91ffc6c63dc
	fi
	linux	/vmlinuz-3.19.0-56-generic root=/dev/mapper/ubuntu--vg-root ro  quiet splash $vt_handoff
	initrd	/initrd.img-3.19.0-56-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-e3bb83ce-7ec9-4b03-9616-f5aa93fbed59' {
	menuentry 'Ubuntu, avec Linux 3.19.0-56-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-56-generic-advanced-e3bb83ce-7ec9-4b03-9616-f5aa93fbed59' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aed161e4-75c2-4ed1-a172-e91ffc6c63dc
		else
		  search --no-floppy --fs-uuid --set=root aed161e4-75c2-4ed1-a172-e91ffc6c63dc
		fi
		echo	'Chargement de Linux 3.19.0-56-generic…'
		linux	/vmlinuz-3.19.0-56-generic root=/dev/mapper/ubuntu--vg-root ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.19.0-56-generic
	}
	menuentry 'Ubuntu, with Linux 3.19.0-56-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-56-generic-recovery-e3bb83ce-7ec9-4b03-9616-f5aa93fbed59' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aed161e4-75c2-4ed1-a172-e91ffc6c63dc
		else
		  search --no-floppy --fs-uuid --set=root aed161e4-75c2-4ed1-a172-e91ffc6c63dc
		fi
		echo	'Chargement de Linux 3.19.0-56-generic…'
		linux	/vmlinuz-3.19.0-56-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.19.0-56-generic
	}
	menuentry 'Ubuntu, avec Linux 3.19.0-51-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-51-generic-advanced-e3bb83ce-7ec9-4b03-9616-f5aa93fbed59' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aed161e4-75c2-4ed1-a172-e91ffc6c63dc
		else
		  search --no-floppy --fs-uuid --set=root aed161e4-75c2-4ed1-a172-e91ffc6c63dc
		fi
		echo	'Chargement de Linux 3.19.0-51-generic…'
		linux	/vmlinuz-3.19.0-51-generic root=/dev/mapper/ubuntu--vg-root ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.19.0-51-generic
	}
	menuentry 'Ubuntu, with Linux 3.19.0-51-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-51-generic-recovery-e3bb83ce-7ec9-4b03-9616-f5aa93fbed59' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aed161e4-75c2-4ed1-a172-e91ffc6c63dc
		else
		  search --no-floppy --fs-uuid --set=root aed161e4-75c2-4ed1-a172-e91ffc6c63dc
		fi
		echo	'Chargement de Linux 3.19.0-51-generic…'
		linux	/vmlinuz-3.19.0-51-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.19.0-51-generic
	}
	menuentry 'Ubuntu, avec Linux 3.19.0-25-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-25-generic-advanced-e3bb83ce-7ec9-4b03-9616-f5aa93fbed59' {
		recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aed161e4-75c2-4ed1-a172-e91ffc6c63dc
		else
		  search --no-floppy --fs-uuid --set=root aed161e4-75c2-4ed1-a172-e91ffc6c63dc
		fi
		echo	'Chargement de Linux 3.19.0-25-generic…'
		linux	/vmlinuz-3.19.0-25-generic root=/dev/mapper/ubuntu--vg-root ro  quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.19.0-25-generic
	}
	menuentry 'Ubuntu, with Linux 3.19.0-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.19.0-25-generic-recovery-e3bb83ce-7ec9-4b03-9616-f5aa93fbed59' {
		recordfail
		load_video
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  aed161e4-75c2-4ed1-a172-e91ffc6c63dc
		else
		  search --no-floppy --fs-uuid --set=root aed161e4-75c2-4ed1-a172-e91ffc6c63dc
		fi
		echo	'Chargement de Linux 3.19.0-25-generic…'
		linux	/vmlinuz-3.19.0-25-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.19.0-25-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  aed161e4-75c2-4ed1-a172-e91ffc6c63dc
	else
	  search --no-floppy --fs-uuid --set=root aed161e4-75c2-4ed1-a172-e91ffc6c63dc
	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  aed161e4-75c2-4ed1-a172-e91ffc6c63dc
	else
	  search --no-floppy --fs-uuid --set=root aed161e4-75c2-4ed1-a172-e91ffc6c63dc
	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 ###
--------------------------------------------------------------------------------

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

Unknown BootLoader on sda5

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  2b 58 1c 5e 99 8c ce c9  48 62 f0 9d c9 e9 d7 7e  |+X.^....Hb.....~|
00000080  f0 4d 46 52 7f 74 a5 bb  fb 0a 63 15 c3 ab d6 4b  |.MFR.t....c....K|
00000090  a7 c8 25 f5 6c a1 6f 9f  99 02 ca 69 64 16 75 06  |..%.l.o....id.u.|
000000a0  64 bd 58 3c 00 00 cd 91  39 64 64 37 61 64 36 33  |d.X<....9dd7ad63|
000000b0  2d 64 65 39 32 2d 34 65  35 34 2d 38 62 63 33 2d  |-de92-4e54-8bc3-|
000000c0  32 32 32 36 66 30 37 36  35 32 31 31 00 00 00 00  |2226f0765211....|
000000d0  00 ac 71 f3 00 03 36 5d  7d ee 44 56 92 a1 9e 83  |..q...6]}.DV....|
000000e0  30 6b 44 a9 b0 35 40 3f  77 ef b3 7c 8a c2 4f 33  |0kD..5@?w..|..O3|
000000f0  b7 b4 34 20 72 28 bd 46  00 00 00 08 00 00 0f a0  |..4 r(.F........|
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: ===============================

cat: write error: Broken pipe
hexdump: u: bad byte count
/usr/share/boot-sav/bis.sh: line 1746: [: -eq: unary operator expected
cat: write error: Broken pipe
File descriptor 9 (/proc/3039/mounts) leaked on lvs invocation. Parent PID 9973: bash
File descriptor 63 (pipe:[29244]) leaked on lvs invocation. Parent PID 9973: bash
  No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-repair 2016-03-20__14h24 ===================
boot-repair version : 4ppa14
boot-sav version : 4ppa14
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa14
File descriptor 9 (/proc/3039/mounts) leaked on lvs invocation. Parent PID 4669: /bin/sh
No volume groups found
boot-repair is executed in live-session (Boot-Repair-Disk 64bit 29nov2014, trusty, Ubuntu, x86_64)
ls: cannot access /home/usr/.config: No such file or directory
CPU op-mode(s):        32-bit, 64-bit
file=/cdrom/preseed/lubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- debian-installer/language=fr keyboard-configuration/layoutcode?=fr keyboard-configuration/variantcode?=oss
mount: unknown filesystem type 'crypto_LUKS'
mount /dev/sda5 : Error code 32
mount -r /dev/sda5 /mnt/boot-sav/sda5
mount: unknown filesystem type 'crypto_LUKS'
mount -r /dev/sda5 : Error code 32

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


=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="aed161e4-75c2-4ed1-a172-e91ffc6c63dc" TYPE="ext2"
/dev/sda3: UUID="617352bc-5ff9-4860-8369-ee5480d09f37" TYPE="swap"
/dev/sda5: UUID="9dd7ad63-de92-4e54-8bc3-2226f0765211" TYPE="crypto_LUKS"
/dev/sdb1: LABEL="Sauvegarde" UUID="BEBC-AD9D" TYPE="vfat"
/dev/sdb2: LABEL="Dispo" UUID="28796f55-e466-47fc-bc62-c3b7d0c3ae5c" TYPE="ext4"
/dev/sr1: LABEL="Boot-Repair-Disk 64bit" TYPE="iso9660"
/dev/zram0: UUID="3070d670-4b29-4524-994e-8c9d3825250e" TYPE="swap"
/dev/zram1: UUID="0c9a0217-43ce-4850-9a75-a706f5f6d1fc" TYPE="swap"

mount: unknown filesystem type 'crypto_LUKS'
mount /dev/sda5 : Error code 32
mount -r /dev/sda5 /mnt/boot-sav/sda5
mount: unknown filesystem type 'crypto_LUKS'
mount -r /dev/sda5 : Error code 32
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.

=================== sda1recordfail=1/grub/grubenv :
recordfail=1



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


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

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


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

Model: ATA ST500DM002-1BD14 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start   End    Size    Type      File system     Flags
1      1049kB  256MB  255MB   primary   ext2            boot
2      257MB   500GB  500GB   extended
5      257MB   500GB  500GB   logical
3      500GB   500GB  1049kB  primary   linux-swap(v1)


Model: ATA WDC WD5000AADS-0 (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End    Size   Type     File system  Flags
1      32.3kB  300GB  300GB  primary  fat32        lba
2      300GB   500GB  200GB  primary  ext4



                                                                          
Warning: Unable to open /dev/sr1 read-write (Read-only file system).  /dev/sr1
has been opened read-only.

                                                                          
Error: /dev/sr1: unrecognised disk label


                                                                          
Error: /dev/zram0: unrecognised disk label


                                                                          
Error: /dev/zram1: unrecognised disk label

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

BYT;
/dev/sda:500GB:scsi:512:4096:msdos:ATA ST500DM002-1BD14;
1:1049kB:256MB:255MB:ext2::boot;
2:257MB:500GB:500GB:::;
5:257MB:500GB:500GB:::;
3:500GB:500GB:1049kB:linux-swap(v1)::;

BYT;
/dev/sdb:500GB:scsi:512:512:msdos:ATA WDC WD5000AADS-0;
1:32.3kB:300GB:300GB:fat32::lba;
2:300GB:500GB:200GB:ext4::;


                                                                          
Warning: Unable to open /dev/sr1 read-write (Read-only file system).  /dev/sr1
has been opened read-only.

                                                                          
Error: /dev/sr1: unrecognised disk label


                                                                          
Error: /dev/zram0: unrecognised disk label


                                                                          
Error: /dev/zram1: unrecognised disk label


=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sr1 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)
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=lubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type ext2 (rw)
/dev/sdb1 on /mnt/boot-sav/sdb1 type vfat (rw)
/dev/sdb2 on /mnt/boot-sav/sdb2 type ext4 (rw)


=================== ls:
/sys/block/fd0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda5 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
/sys/block/sr1 (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 dri ecryptfs fb0 fd fd0 full fuse fw0 hidraw0 hpet input kmsg kvm log mapper mcelog mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sdb sdb1 sdb2 sg0 sg1 sg2 sg3 shm snapshot snd sr0 sr1 stderr stdin stdout uhid uinput urandom v4l vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sdb1
00000000  eb 58 90 6d 6b 66 73 2e  66 61 74 00 02 40 20 00  |.X.mkfs.fat..@ .|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 3f 00 00 00  |........?...?...|
00000020  1d ba ec 22 55 17 01 00  00 00 00 00 02 00 00 00  |..."U...........|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 01 29 9d ad bc be 53  61 75 76 65 67 61 72 64  |..)....Sauvegard|
00000050  65 20 46 41 54 33 32 20  20 20 0e 1f be 77 7c ac  |e 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
/cow           overlayfs 1001M   15M  987M   2% /
udev           devtmpfs   986M   12K  986M   1% /dev
tmpfs          tmpfs      201M  1.2M  199M   1% /run
/dev/sr1       iso9660    614M  614M     0 100% /cdrom
/dev/loop0     squashfs   549M  549M     0 100% /rofs
none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs     1001M  8.0K 1001M   1% /tmp
none           tmpfs      5.0M     0  5.0M   0% /run/lock
none           tmpfs     1001M     0 1001M   0% /run/shm
none           tmpfs      100M   16K  100M   1% /run/user
/dev/sda1      ext2       236M  133M   92M  60% /mnt/boot-sav/sda1
/dev/sdb1      vfat       280G  146G  135G  52% /mnt/boot-sav/sdb1
/dev/sdb2      ext4       184G   60M  174G   1% /mnt/boot-sav/sdb2

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

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00071190

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      499711      248832   83  Linux
/dev/sda2          501758   976771071   488134657    5  Extended
Partition 2 does not start on physical sector boundary.
/dev/sda3       976771072   976773119        1024   82  Linux swap / Solaris
/dev/sda5          501760   976771071   488134656   83  Linux

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x29442943

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              63   585939547   292969742+   c  W95 FAT32 (LBA)
/dev/sdb2       585939548   976773167   195416810   83  Linux


No OS or WinEFI system
/boot détecté. Veuillez vérifier les options.

=================== Recommended repair
The default repair of the Boot-Repair utility will not act on the MBR.
The boot flag will be placed on sdb2.
Additional repair will be performed:  repair-filesystems


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

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

fsck -fyM /dev/sda5
fsck from util-linux 2.20.1
fsck: fsck.crypto_LUKS: not found
fsck: error 2 while executing fsck.crypto_LUKS for /dev/sda5

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

fsck -fyM /dev/sdb2
fsck from util-linux 2.20.1
mount: unknown filesystem type 'crypto_LUKS'
mount /dev/sda5 : Error code 32
mount -r /dev/sda5 /mnt/boot-sav/sda5
mount: unknown filesystem type 'crypto_LUKS'
mount -r /dev/sda5 : Error code 32
parted /dev/sdb set 2 boot on

                                                                          
Information: You may need to update /etc/fstab.


Le démarrage de l'ordinateur a été correctement réparé.

Vous pouvez maintenant redémarrer votre ordinateur.

Hors ligne

#3 Le 30/03/2016, à 14:58

Compte anonymisé

Re : Démarrage KO UBUNTU 14.04 LTS CRYPTE [Résolu]

J-F_R_44 a écrit :

Bonjour,

j'ai installé Ubuntu après un crash suite à une mauvaise manip de ma part, ceci à partir d'un CD que j'ai créé.
L'installation à connu des avatars j'ai dû m'y reprendre à 3 fois pour cause de coupure de courant intempestive,
EDF n'est plus ce qu'il était...
J'ai laissé le CD faire tout tout seul j'ai juste choisi l'option de cryptage, au démarrage le PC démarre mais pas l'OS,
je fais un Ctrl Suppr et j'ai la console pour choisir un mode de démarrage, je choisis Ubuntu et tout se passe bien,
il me demande la clef de cryptage et démarre correctement,
j'avoue que il m'avait échappé ce détail qui est un peu embêtant surtout si quelqu'un d'autre à la maison veut se servir de micro
et donc ma 1ère question est : peut-on se passer de cette saisie, si oui comment ?
si non comment annule-t-on le cryptage sans tout réinstaller ?
La 2ème question concerne bien sûr le démarrage, j'ai essayé Boot Repair sans succès voici le dernier rapport généré
http://http://paste.ubuntu.com/15436970
Merci d'avance de vos suggestions.
J-F.

Ce n'est pas un bon choix malheureusement, car j'ai déjà entendu de nombreuses critiques de cette option qui semble souvent foireuse.
Je serai toi, je referais une installation sans cryptage.
Tu pourras par la suite crypter tes données personnelles avec des outils adaptés qui fonctionnent, eux...
https://doc.ubuntu-fr.org/encfs
edit : en hommage à un disparu célèbre : " l'installation cryptée d'Ubuntu, c'est de la merde ! "

Dernière modification par Compte anonymisé (Le 30/03/2016, à 15:16)

#4 Le 30/03/2016, à 15:27

Rufus T. Firefly

Re : Démarrage KO UBUNTU 14.04 LTS CRYPTE [Résolu]

Mudochon a écrit :

Ce n'est pas un bon choix malheureusement, car j'ai déjà entendu de nombreuses critiques de cette option qui semble souvent foireuse.

Et surtout à peu près inutile ! Le système tourne forcément sous forme décryptée et donc quiconque a accès à la machine quand elle tourne... Et quand elle ne tourne pas, avoir chiffré quelques données sensibles pour empêcher que de mauvaises mains puissent les récupérer est bien suffisant. Mais pas tout le système !

Mudochon a écrit :

Je serai toi, je referais une installation sans cryptage.
Tu pourras par la suite crypter tes données personnelles avec des outils adaptés qui fonctionnent, eux...
https://doc.ubuntu-fr.org/encfs
edit : en hommage à un disparu célèbre : " l'installation cryptée d'Ubuntu, c'est de la merde ! "

Tout-à-fait...

Dernière modification par Rufus T. Firefly (Le 30/03/2016, à 15:28)


La provocation est une façon de remettre la réalité sur ses pieds. (Bertolt Brecht)
Il n'y a pas de route royale pour la science et ceux-là seulement ont chance d'arriver à ses sommets lumineux qui ne craignent pas de se fatiguer à gravir ses sentiers escarpés. (Karl Marx)
Il est devenu plus facile de penser la fin du monde que la fin du capitalisme

Hors ligne

#5 Le 30/03/2016, à 15:47

kholo

Re : Démarrage KO UBUNTU 14.04 LTS CRYPTE [Résolu]

réinstaller le système reste la meilleure solution
et sans le cryptage tongue
il existe pleins de tutos qui expliquent la post installation
pour avoir tous les outils rapidement et tweaker le système

Hors ligne

#6 Le 04/04/2016, à 14:38

J-F_R_44

Re : Démarrage KO UBUNTU 14.04 LTS CRYPTE [Résolu]

Merci à tous, effectivement il m'a fallu tout ré-installer, mais avant j'ai dû utiliser l'utilitaire Seagate pour reformater les premiers secteurs du disque dur, sinon impossible, l'installation échoue.


Ubuntu 18.04.2 LTS, carte mère ASUS P5Q, Intel Core 2 Duo CPU E8500 @ 3.16Ghz x 2, carte graphique llvmpipe (LLVM 7.0, 128bits),
carte réseau Qualcomm Atheros AR8121, GNOME 3.28.2, 64bits.

Hors ligne

#7 Le 04/04/2016, à 14:40

Compte anonymisé

Re : Démarrage KO UBUNTU 14.04 LTS CRYPTE [Résolu]

N'oublie pas de jeter un œil à la documentation que je t'ai mis en lien pour pouvoir crypter tes fichiers personnels.
C'est toujours sympa en cas de vol d'ordinateur !
Perso j'utilise depuis des années Cryptkeeper qui est un outil formidable pour cela.

Dernière modification par Compte anonymisé (Le 04/04/2016, à 14:40)

#8 Le 07/04/2016, à 20:16

J-F_R_44

Re : Démarrage KO UBUNTU 14.04 LTS CRYPTE [Résolu]

Merci c'est installé j'avais bien noté.


Ubuntu 18.04.2 LTS, carte mère ASUS P5Q, Intel Core 2 Duo CPU E8500 @ 3.16Ghz x 2, carte graphique llvmpipe (LLVM 7.0, 128bits),
carte réseau Qualcomm Atheros AR8121, GNOME 3.28.2, 64bits.

Hors ligne