#1 Le 05/08/2014, à 12:23
- Kaplan
[résolu] Problème démarrage xubuntu disque dur crypté boot live usb
Bonjour tout le monde,
je viens de m'inscrire sur le forum, je m'étais lancé dans linux sans trop de connaissance en informatiques et la je suis comme qui dirait perdu!
Je tiens à préciser que la doc ubuntu et google ne sont pas encore très facilement compréhensible et j'aurais voulu savoir s'il existe une solution simple avant de me casser la tête.
J'ai installé xubuntu en mode graphique via un live usb et demander à crypter l'installation pour essayer.
J'en ai profiter pour effacer mon disque dur car l'ancien partitionnement était un accumulation impur de différent système(je débute en informatiques, ne connais pas grand chose en partitionnement et language script et avais fait ma propre cuisine) et de faire une seule partition avec le nouveau xubuntu.
Seulement voila, quand je démarre mon pc, après l'ècran de BIOS, rien ne passe, et un tiret blanc clignote.
Après, quand je branche ma clé live multi iso, impossible de lancer une session live dans l'espoir de tout réécraser, il lance l'installation sur mon disque dur et me demande le passphrase (que je conserve précieusement) et le syteme tourne comme si de rien n'était
Comment faire pour booter directement sans cle usb? et comment faire pour me débarraser de ce cryptage qui ne me sert à rien tout compte fait?
Merci pour votre aide
Dernière modification par Kaplan (Le 07/08/2014, à 16:05)
Hors ligne
#2 Le 06/08/2014, à 01:52
- moko138
Re : [résolu] Problème démarrage xubuntu disque dur crypté boot live usb
Pour retirer le chiffrement, d'autres que moi t'aideront. Mais d'abord il faut faire le bilan pour rétablir le boot.
Pour cela, démarre avec ta clef live habituelle, et donne-nous un rapport boot-info.
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#3 Le 07/08/2014, à 05:33
- Kaplan
Re : [résolu] Problème démarrage xubuntu disque dur crypté boot live usb
et voilà
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Dec2013]
============================= Boot Info Summary: ===============================
=> No boot loader is installed in the MBR of /dev/sda.
=> Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
in partition 112 for .
sda1: __________________________________________________________________________
File system: ext2
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub/grub.cfg /grub/i386-pc/core.img
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: crypto_LUKS
Boot sector type: Unknown
Boot sector info:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 4.05 20140113
Boot sector info: Syslinux looks at sector 1925326 of /dev/sdb1 for its
second stage. SYSLINUX is installed in the
/boot/syslinux directory. No errors found in the Boot
Parameter Block.
Operating System:
Boot files: /boot/grub/menu.lst /boot/grub/grub.cfg
/boot/syslinux/syslinux.cfg /EFI/BOOT/grubx64.efi
/boot/grub/i386-pc/core.img /boot/syslinux/ldlinux.sys
xubuntu-vg-root': ______________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
xubuntu-vg-swap_1': ____________________________________________________________
File system:
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
mount: unknown filesystem type ''
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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 2,048 499,711 497,664 83 Linux
/dev/sda2 501,758 488,396,799 487,895,042 5 Extended
/dev/sda5 501,760 488,396,799 487,895,040 83 Linux
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 16.1 GB, 16095641600 bytes
255 heads, 63 sectors/track, 1956 cylinders, total 31436800 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 * 2,048 31,436,799 31,434,752 c W95 FAT32 (LBA)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/mapper/sdb5_crypt ieXUGC-OBdv-0mfM-KefP-OmlE-MtdP-rjBuPU LVM2_member
/dev/mapper/xubuntu--vg-root ed714312-41f4-48da-8d6c-e8176350bb6c ext4
/dev/sda1 2ba2de62-10e5-44c3-8c4f-33ac0680d3a7 ext2
/dev/sda5 0c12f664-a91f-4d2e-bd40-ad937d949433 crypto_LUKS
/dev/sdb1 9A91-BA99 vfat Lacie-16go
========================= "ls -R /dev/mapper/" output: =========================
/dev/mapper:
control
sdb5_crypt
xubuntu--vg-root
xubuntu--vg-swap_1
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/mapper/xubuntu--vg-root / ext4 (rw,errors=remount-ro)
/dev/sda1 /boot ext2 (rw)
/dev/sdb1 /media/guillaume/Lacie-16go vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
============================= 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 loadfont unicode ; 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=-1
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
### 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-ed714312-41f4-48da-8d6c-e8176350bb6c' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 2ba2de62-10e5-44c3-8c4f-33ac0680d3a7
else
search --no-floppy --fs-uuid --set=root 2ba2de62-10e5-44c3-8c4f-33ac0680d3a7
fi
linux /vmlinuz-3.13.0-24-generic root=/dev/mapper/xubuntu--vg-root ro quiet splash $vt_handoff
initrd /initrd.img-3.13.0-24-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-ed714312-41f4-48da-8d6c-e8176350bb6c' {
menuentry 'Ubuntu, avec Linux 3.13.0-24-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-advanced-ed714312-41f4-48da-8d6c-e8176350bb6c' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 2ba2de62-10e5-44c3-8c4f-33ac0680d3a7
else
search --no-floppy --fs-uuid --set=root 2ba2de62-10e5-44c3-8c4f-33ac0680d3a7
fi
echo 'Chargement de Linux 3.13.0-24-generic…'
linux /vmlinuz-3.13.0-24-generic root=/dev/mapper/xubuntu--vg-root ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /initrd.img-3.13.0-24-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-24-generic-recovery-ed714312-41f4-48da-8d6c-e8176350bb6c' {
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 2ba2de62-10e5-44c3-8c4f-33ac0680d3a7
else
search --no-floppy --fs-uuid --set=root 2ba2de62-10e5-44c3-8c4f-33ac0680d3a7
fi
echo 'Chargement de Linux 3.13.0-24-generic…'
linux /vmlinuz-3.13.0-24-generic root=/dev/mapper/xubuntu--vg-root ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /initrd.img-3.13.0-24-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='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 2ba2de62-10e5-44c3-8c4f-33ac0680d3a7
else
search --no-floppy --fs-uuid --set=root 2ba2de62-10e5-44c3-8c4f-33ac0680d3a7
fi
knetbsd /memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 2ba2de62-10e5-44c3-8c4f-33ac0680d3a7
else
search --no-floppy --fs-uuid --set=root 2ba2de62-10e5-44c3-8c4f-33ac0680d3a7
fi
linux16 /memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
=========================== sdb1/boot/grub/menu.lst: ===========================
--------------------------------------------------------------------------------
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.
timeout 30
default /default
#convert -resize 640x480 -colors 14 /media/multisystem/boot/splash/splash.png /media/multisystem/boot/splash/splash.xpm.gz
splashimage=/boot/splash/splash.xpm.gz
#color blue/green yellow/red white/magenta white/magenta
foreground=0033FF
background=FF3300
#http://diddy.boot-land.net/grub4dos/Grub4dos.htm
#http://www.boot-land.net/forums/index.php?showforum=66
#http://diddy.boot-land.net/grub4dos/files/syntax.htm
#Ne supprimez pas ce marqueur! / Do not remove this marker!
#MULTISYSTEM_START
#MULTISYSTEM_STOP
#Ne supprimez pas ce marqueur! / Do not remove this marker!
#http://diddy.boot-land.net/grub4dos/files/syntax.htm
title Chainloader into GRUB 2
find --set-root /boot/grub/boot.img
chainloader /boot/grub/boot.img
boot
#title Chainloader into Syslinux
#map (hd0) (hd0)
#map (hd0) (hd0)
#chainloader (hd0,0)+1
#rootnoverify (hd0,0)
##Autre solution pour chainer Syslinux
##faire une copie du mbr de la clé USB
##dd if=/dev/sd?1 of=/media/multisystem/syslinux.mbr bs=512 count=1
#title Chainloader into Syslinux
#find --set-root --ignore-floppies --ignore-cd /syslinux.mbr
#map (hd0) (hd0)
#map (hd0) (hd0)
#map --rehook
#find --set-root --ignore-floppies --ignore-cd /syslinux.mbr
#chainloader /syslinux.mbr
##Autre solution pour chainer Syslinux
#title Chainloader into Syslinux
#find --set-root /boot/syslinux/ldlinux.sys
#chainloader /boot/syslinux/ldlinux.sys
##Autre solution pour chainer Syslinux
#title Chainloader into Syslinux
#find --set-root --ignore-floppies --ignore-cd /boot/syslinux/redir.img
#kernel /boot/syslinux/memdisk
#initrd /boot/syslinux/redir.img
#http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/
title FreeDos
kernel /boot/syslinux/memdisk
initrd /boot/img/fdboot.img
title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root --ignore-floppies --ignore-cd /ntldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
savedefault --wait=2
title find and load BOOTMGR of Windows VISTA/SEVEN
fallback 2
find --set-root --ignore-floppies --ignore-cd /bootmgr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
savedefault --wait=2
title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
fallback 3
find --set-root --ignore-floppies --ignore-cd /cmldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /cmldr
chainloader /cmldr
#####################################################################
# write string "cmdcons" to memory 0000:7C03 in 2 steps:
#####################################################################
# step 1. Write 4 chars "cmdc" at 0000:7C03
write 0x7C03 0x63646D63
# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
write 0x7C07 0x00736E6F
savedefault --wait=2
title find and load IO.SYS of Windows 9x/Me
fallback 4
find --set-root /io.sys
chainloader /io.sys
savedefault --wait=2
title find and boot 0PE.ISO
fallback 5
find --set-root /0PE/0PE.ISO
map /0PE/0PE.ISO (0xff) || map --mem /0PE/0PE.ISO (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2
title find and boot MicroPE.ISO
fallback 6
find --set-root /boot/MicroPE.ISO
map /boot/MicroPE.ISO (0xff) || map --mem /boot/MicroPE.ISO (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2
title find and boot ubcd.iso
fallback 8
find --set-root /ubcd.iso
map /ubcd.iso (0xff) || map --mem /ubcd.iso (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2
title commandline
commandline
title reboot
reboot
title halt
halt
--------------------------------------------------------------------------------
=========================== sdb1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#insmod gpt
#insmod pc
#insmod gfxmenu
#
#insmod videotest
insmod tga
insmod png
insmod gfxterm
insmod lspci
#insmod vbeinfo
insmod vbe
insmod ntfs
insmod chain
insmod biosdisk
insmod font
#http://grub.enbug.org/ThemeFormat
#http://grub.gibibit.com/Theme_format#colors
#http://code.google.com/p/burg/wiki/InstallUbuntu
#http://code.google.com/p/burg/downloads/list
#http://ubuntuforums.org/showthread.php?t=1195275
#pour acces a grub2 du bootloader principal modifier dans fichier: /etc/default/grub
#GRUB_HIDDEN_TIMEOUT=10 #0 par defaut
#GRUB_HIDDEN_TIMEOUT_QUIET=false #true d'origine
#sudo update-grub
#echo -n "Press ESC to see the menu... "
#if sleep --verbose --interruptible 5 ; then
#set timeout=0
#fi
set default=0
set timeout=30
set fallback=1
search --no-floppy --fs-uuid --set=root 9A91-BA99
set root=${root}
#http://grub.enbug.org/gfxterm
if loadfont /boot/polices/unicode.pf2 ; then
set gfxmode=640x480
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
#set gfxmode=auto
#set gfxpayload=keep
fi
fi
#set locale_dir=/boot/grub/locale
#set lang=en
#insmod gettext
if background_image /boot/splash/splash.png ; then
#text no sel/fond ecran
set color_normal=white/black #1
#text sel/fond ecran sel
set color_highlight=green/white #1
else
set menu_color_normal=white/black #2
set menu_color_highlight=green/white #2
set color_normal=white/magenta #2
set color_highlight=green/white #2
fi
#set gfxpayload="1280x1024,1024x768,800x600,640x480"
#set gfxpayload=keep
#Ne supprimez pas ce marqueur! / Do not remove this marker!
#MULTISYSTEM_START
#MULTISYSTEM_MENU_DEBUT|16-07-2014-12:55:11-430354865|xubuntu-14.04-desktop-i386.iso|multisystem-xubuntu|899Mio|
menuentry "xubuntu-14.04-desktop-i386.iso" {
search --set -f "/xubuntu-14.04-desktop-i386.iso"
loopback loop "/xubuntu-14.04-desktop-i386.iso"
linux (loop)/casper/vmlinuz root=UUID=9A91-BA99 debian-installer/language=en keyboard-configuration/layoutcode=us keyboard-configuration/variantcode=intl iso-scan/filename=/xubuntu-14.04-desktop-i386.iso boot=casper file=/cdrom/preseed/xubuntu.seed noprompt quiet splash --
initrd (loop)/casper/initrd.lz
}
#MULTISYSTEM_MENU_FIN|16-07-2014-12:55:11-430354865|xubuntu-14.04-desktop-i386.iso|multisystem-xubuntu|899Mio|
#MULTISYSTEM_MENU_DEBUT|16-07-2014-11:18:35-266741971|arch1|multisystem-archbang|418Mio|
menuentry "Boot ArchBang Linux [Xorg autodetect]" {
linux /arch1/boot/i686/vmlinuz archisobasedir=arch1 archisodevice=/dev/disk/by-uuid/9A91-BA99 locale=en_US.UTF-8 quiet
initrd /arch1/boot/i686/archiso.img
}
menuentry "Boot ArchBang Linux [vesa]" {
linux /arch1/boot/i686/vmlinuz archisobasedir=arch1 archisodevice=/dev/disk/by-uuid/9A91-BA99 locale=en_US.UTF-8 quiet xorg=vesa nomodeset
initrd /arch1/boot/i686/archiso.img
}
#MULTISYSTEM_MENU_FIN|16-07-2014-11:18:35-266741971|arch1|multisystem-archbang|418Mio|
#MULTISYSTEM_STOP
#Ne supprimez pas ce marqueur! / Do not remove this marker!
menuentry "______________Grub4Dos______________" {
echo
}
#http://grub4dos.sourceforge.net/
#http://grub4dos.sourceforge.net/wiki/index.php/Grub4dos_tutorial
menuentry "Grub4Dos" {
linux /boot/grub.exe --config-file=/boot/grub/menu.lst
}
menuentry "______________Syslinux______________" {
echo
}
#solution tordue, mais qui passe partout ...
#menuentry "Syslinux" {
#search --set -f /boot/syslinux/redir.img
# linux16 /boot/syslinux/memdisk
# initrd16 /boot/syslinux/redir.img
#}
#http://syslinux.zytor.com
menuentry "Syslinux" {
search --set -f "/boot/syslinux/ldlinux.sys"
drivemap -s (hd0) $root
chainloader +1
}
#Autre solution pour chainer Syslinux via une copie du mbr
#dd if=/dev/sd?1 of=/media/multisystem/boot/img/syslinux.mbr bs=512 count=1
#menuentry "Syslinux" {
#search --set -f "/boot/img/syslinux.mbr"
#drivemap -s (hd0) $root
#chainloader /boot/img/syslinux.mbr
#}
menuentry "______________UTIL______________" {
echo
}
## for debugging set debug=efi
#menuentry "0-testfakebios" {
# hexdump -s 0xc0000 (mem)
# fakebios
# hexdump -s 0xc0000 (mem)
## deliberate error to get wait for key
# xxx
#}
#How to test GRUB 2 on Macbook
#http://grub.enbug.org/TestingOnMacbook
#
#http://wiki.gentoo.org/wiki/GRUB2
#
#menuentry "Windows 7 BIOS/MBR" {
# insmod part_msdos
# insmod ntldr
# insmod ntfs
# ntldr (hd0,msdos1)/bootmgr
#}
#menuentry "Windows XP BIOS/MBR" {
# insmod part_msdos
# insmod ntldr
# insmod ntfs
# ntldr (hd0,msdos1)/ntldr
#}
#
#chainer un autre grub
#menuentry "grub.cfg auf /dev/sdb1" {
# configfile (hd1,1)/boot/grub/grub.cfg
#}
#menuentry "Chain other configfile" {
#configfile /boot/grub/grub-xxx.cfg
#}
#
#menuentry "Return default menu" {
#chainloader /boot/grub/boot.img
#}
#chainer win ou autre OS
#menuentry "Chainer UUID de la partition" {
#insmod=ntfs
#set root=(hd0,1)
#search --no-floppy --fs-uuid --set=root xxx-xxx
# drivemap -s (hd0) $root
# chainloader +1
#}
#http://www.plop.at/en/bootmanagerdl.html
menuentry "PLoP Boot Manager" {
linux16 /boot/img/plpbt
}
#http://www.supergrubdisk.org/
#http://developer.berlios.de/project/showfiles.php?group_id=10921
#SG2D (Floppy, CD & USB in one)
#super_grub_disk_hybrid-1.98s1.iso
menuentry "Super Grub2 Disk" {
search --set -f /boot/img/sgdh.iso
linux16 /boot/syslinux/memdisk
initrd16 /boot/img/sgdh.iso
}
menuentry "Super Grub Disk" {
search --set -f /boot/img/sgdfr.img
linux16 /boot/syslinux/memdisk
initrd16 /boot/img/sgdfr.img
}
menuentry "Smart Boot Manager" {
search --set -f /boot/img/sbootmgr.dsk
linux16 /boot/syslinux/memdisk
initrd16 /boot/img/sbootmgr.dsk
}
#Site: http://boot.kernel.org/index.html
#Téléchargement: http://boot.kernel.org/gpxe_images/gpxe.lkrn
menuentry "BKO (boot.kernel.org)" {
search --set -f /boot/img/gpxe.lkrn
linux16 /boot/img/gpxe.lkrn
}
#http://www.memtest.org/#downiso
menuentry "memtest86+" {
linux16 /boot/img/memtest86+.bin
}
menuentry "vbeinfo" {
vbeinfo
read
}
menuentry "lspci" {
lspci
read
}
menuentry "gfxpayload 640x480" {
set gfxpayload=640x480
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 800x600" {
set gfxpayload=800x600
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 1024x768" {
set gfxpayload=1024x768
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "gfxpayload 1280x1024" {
set gfxpayload=1280x1024
echo gfxpayload=${gfxpayload} press enter
read
}
menuentry "Reboot" {
insmod reboot
reboot
}
--------------------------------------------------------------------------------
======================= sdb1/boot/syslinux/syslinux.cfg: =======================
--------------------------------------------------------------------------------
default /boot/syslinux/vesamenu.c32
prompt 0
timeout 40
ontimeout 0
MENU TITLE MultiSystem LiveUSB
MENU DEFAULT 0
MENU BACKGROUND /boot/splash/splash.png
#Ne supprimez pas ce marqueur! / Do not remove this marker!
#MULTISYSTEM_START
#MULTISYSTEM_STOP
#Ne supprimez pas ce marqueur! / Do not remove this marker!
label 0
MENU LABEL PLoP Boot Manager
KERNEL /boot/img/plpbt
label 1
MENU LABEL Grub2
kernel /boot/syslinux/chain.c32 file=/boot/grub/boot.img
label 2
MENU LABEL Grub4Dos
kernel /boot/grub.exe
LABEL 3
MENU LABEL Hardware Detection Tool
KERNEL /boot/syslinux/hdt.c32
#Exemple pour booter un iso avec version recente de memdisk
#label 4
#MENU LABEL boot iso
#KERNEL /boot/syslinux/memdisk
#APPEND iso raw initrd=/g4u.iso
#LABEL 5
#KERNEL /boot/syslinux/memdisk
#APPEND initrd=freebsd.img floppy
#LABEL 6
#MENU LABEL Chainer win
#KERNEL /boot/syslinux/chain.c32 ntldr=/ntldr
#LABEL 7
#MENU LABEL Chainer partition 2
#kernel /boot/syslinux/chain.c32
#append hd0 2
--------------------------------------------------------------------------------
=================== sdb1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
================= sdb1: Location of files loaded by Syslinux: ==================
GiB - GB File Fragment(s)
============== sdb1: Version of COM32(R) files used by Syslinux: ===============
boot/syslinux/chain.c32 : COM32R module (v4.xx)
boot/syslinux/hdt.c32 : COM32R module (v4.xx)
boot/syslinux/ifplop.c32 : COM32R module (v4.xx)
boot/syslinux/menu.c32 : COM32R module (v4.xx)
boot/syslinux/reboot.c32 : COM32R module (v4.xx)
boot/syslinux/vesamenu.c32 : COM32R module (v4.xx)
======================== 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 ff a8 f6 af 8c 0e 9d bf 24 bb 43 0c 75 06 ea 83 |........$.C.u...|
00000080 4a 48 25 53 22 e7 06 bd 1f a1 0b 58 b2 2e bd 34 |JH%S"......X...4|
00000090 ad c2 f4 30 df 2c 2d 8a 1b 8d 67 2f e7 11 bc dc |...0.,-...g/....|
000000a0 3c e8 4d da 00 00 1d 4c 30 63 31 32 66 36 36 34 |<.M....L0c12f664|
000000b0 2d 61 39 31 66 2d 34 64 32 65 2d 62 64 34 30 2d |-a91f-4d2e-bd40-|
000000c0 61 64 39 33 37 64 39 34 39 34 33 33 00 00 00 00 |ad937d949433....|
000000d0 00 ac 71 f3 00 00 5b 5f 17 21 d2 1e 51 df 0b 45 |..q...[_.!..Q..E|
000000e0 8b 73 b4 b5 9b 0f 78 28 55 f1 7a d4 20 f2 11 11 |.s....x(U.z. ...|
000000f0 99 e6 11 f1 3f d4 3e 07 00 00 00 08 00 00 0f a0 |....?.>.........|
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 xubuntu-vg-root'
Unknown BootLoader on xubuntu-vg-swap_1'
=============================== StdErr Messages: ===============================
cat: /tmp/BootInfo-p3d9w9Gp/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-p3d9w9Gp/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-p3d9w9Gp/Tmp_Log: No such file or directory
File descriptor 7 (/proc/5605/mounts) leaked on lvscan invocation. Parent PID 14327: bash
File descriptor 12 (/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules.cache) leaked on lvscan invocation. Parent PID 14327: bash
File descriptor 63 (pipe:[37485]) leaked on lvscan invocation. Parent PID 14327: bash
File descriptor 7 (/proc/5605/mounts) leaked on lvdisplay invocation. Parent PID 14336: bash
File descriptor 12 (/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules.cache) leaked on lvdisplay invocation. Parent PID 14336: bash
File descriptor 63 (pipe:[37485]) leaked on lvdisplay invocation. Parent PID 14336: bash
skip_dev_dir: Couldn't split up device name xubuntu-vg-root'
Volume group name xubuntu-vg-root' has invalid characters
Skipping volume group xubuntu-vg-root'
File descriptor 7 (/proc/5605/mounts) leaked on lvdisplay invocation. Parent PID 14340: bash
File descriptor 12 (/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules.cache) leaked on lvdisplay invocation. Parent PID 14340: bash
File descriptor 63 (pipe:[37485]) leaked on lvdisplay invocation. Parent PID 14340: bash
skip_dev_dir: Couldn't split up device name xubuntu-vg-root'
Volume group name xubuntu-vg-root' has invalid characters
Skipping volume group xubuntu-vg-root'
File descriptor 7 (/proc/5605/mounts) leaked on lvchange invocation. Parent PID 13622: bash
File descriptor 12 (/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules.cache) leaked on lvchange invocation. Parent PID 13622: bash
File descriptor 63 (pipe:[37485]) leaked on lvchange invocation. Parent PID 13622: bash
skip_dev_dir: Couldn't split up device name xubuntu-vg-root'
Volume group name xubuntu-vg-root' has invalid characters
Skipping volume group xubuntu-vg-root'
hexdump: /dev/mapper/xubuntu-vg-root': No such file or directory
hexdump: /dev/mapper/xubuntu-vg-root': No such file or directory
File descriptor 7 (/proc/5605/mounts) leaked on lvdisplay invocation. Parent PID 14371: bash
File descriptor 12 (/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules.cache) leaked on lvdisplay invocation. Parent PID 14371: bash
File descriptor 63 (pipe:[37485]) leaked on lvdisplay invocation. Parent PID 14371: bash
skip_dev_dir: Couldn't split up device name xubuntu-vg-swap_1'
Volume group name xubuntu-vg-swap_1' has invalid characters
Skipping volume group xubuntu-vg-swap_1'
File descriptor 7 (/proc/5605/mounts) leaked on lvdisplay invocation. Parent PID 14375: bash
File descriptor 12 (/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules.cache) leaked on lvdisplay invocation. Parent PID 14375: bash
File descriptor 63 (pipe:[37485]) leaked on lvdisplay invocation. Parent PID 14375: bash
skip_dev_dir: Couldn't split up device name xubuntu-vg-swap_1'
Volume group name xubuntu-vg-swap_1' has invalid characters
Skipping volume group xubuntu-vg-swap_1'
File descriptor 7 (/proc/5605/mounts) leaked on lvchange invocation. Parent PID 13622: bash
File descriptor 12 (/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules.cache) leaked on lvchange invocation. Parent PID 13622: bash
File descriptor 63 (pipe:[37485]) leaked on lvchange invocation. Parent PID 13622: bash
skip_dev_dir: Couldn't split up device name xubuntu-vg-swap_1'
Volume group name xubuntu-vg-swap_1' has invalid characters
Skipping volume group xubuntu-vg-swap_1'
hexdump: /dev/mapper/xubuntu-vg-swap_1': No such file or directory
hexdump: /dev/mapper/xubuntu-vg-swap_1': No such file or directory
ADDITIONAL INFORMATION :
=================== log of boot-repair 2014-08-07__05h04 ===================
boot-repair version : 3.199~ppa40~saucy
boot-sav version : 3.199~ppa40~saucy
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 3.199~ppa40~saucy
BLKID BEFORE LVM ACTIVATION:
/dev/sda1: UUID="2ba2de62-10e5-44c3-8c4f-33ac0680d3a7" TYPE="ext2"
/dev/sda5: UUID="0c12f664-a91f-4d2e-bd40-ad937d949433" TYPE="crypto_LUKS"
/dev/mapper/sdb5_crypt: UUID="ieXUGC-OBdv-0mfM-KefP-OmlE-MtdP-rjBuPU" TYPE="LVM2_member"
/dev/mapper/xubuntu--vg-root: UUID="ed714312-41f4-48da-8d6c-e8176350bb6c" TYPE="ext4"
/dev/sdb1: LABEL="Lacie-16go" UUID="9A91-BA99" TYPE="vfat"
MODPROBE
VGSCAN
File descriptor 7 (/proc/5605/mounts) leaked on vgscan invocation. Parent PID 5630: /bin/bash
File descriptor 12 (/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules.cache) leaked on vgscan invocation. Parent PID 5630: /bin/bash
Reading all physical volumes. This may take a while...
Found volume group "xubuntu-vg" using metadata type lvm2
VGCHANGE
File descriptor 7 (/proc/5605/mounts) leaked on vgchange invocation. Parent PID 5630: /bin/bash
File descriptor 12 (/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules.cache) leaked on vgchange invocation. Parent PID 5630: /bin/bash
2 logical volume(s) in volume group "xubuntu-vg" now active
File descriptor 7 (/proc/5605/mounts) leaked on lvscan invocation. Parent PID 5630: /bin/bash
File descriptor 12 (/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules.cache) leaked on lvscan invocation. Parent PID 5630: /bin/bash
LVSCAN:
ACTIVE '/dev/xubuntu-vg/root' [230.65 GiB] inherit
ACTIVE '/dev/xubuntu-vg/swap_1' [1.99 GiB] inherit
** (zenity:6792): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-M2XoKLYBob: Connexion refusée
Y a-t-il un RAID sur cet ordinateur ? no
File descriptor 7 (/proc/5605/mounts) leaked on lvs invocation. Parent PID 7146: /bin/sh
File descriptor 12 (/usr/lib/i386-linux-gnu/gtk-3.0/3.0.0/immodules.cache) leaked on lvs invocation. Parent PID 7146: /bin/sh
boot-repair is executed in installed-session (Ubuntu 14.04 LTS, trusty, Ubuntu, i686)
CPU op-mode(s): 32-bit
BOOT_IMAGE=/vmlinuz-3.13.0-24-generic root=/dev/mapper/xubuntu--vg-root ro quiet splash vt.handoff=7
Set sda as corresponding disk of mapper/xubuntu--vg-root
Set sda as corresponding disk of mapper/xubuntu--vg-root
mount : type de système de fichiers « crypto_LUKS » inconnu
mount /dev/sda5 : Error code 32
mount -r /dev/sda5 /mnt/boot-sav/sda5
mount : type de système de fichiers « crypto_LUKS » inconnu
mount -r /dev/sda5 : Error code 32
Disk /dev/mapper/sdb5_crypt doesn't contain a valid partition table
Disk /dev/mapper/xubuntu--vg-root doesn't contain a valid partition table
Disk /dev/mapper/xubuntu--vg-swap_1 doesn't contain a valid partition table
=================== os-prober:
/dev/mapper/xubuntu--vg-root:L'OS actuellement utilisé - Ubuntu 14.04 LTS CurrentSession:linux
=================== blkid:
/dev/sda1: UUID="2ba2de62-10e5-44c3-8c4f-33ac0680d3a7" TYPE="ext2"
/dev/sda5: UUID="0c12f664-a91f-4d2e-bd40-ad937d949433" TYPE="crypto_LUKS"
/dev/mapper/sdb5_crypt: UUID="ieXUGC-OBdv-0mfM-KefP-OmlE-MtdP-rjBuPU" TYPE="LVM2_member"
/dev/mapper/xubuntu--vg-root: UUID="ed714312-41f4-48da-8d6c-e8176350bb6c" TYPE="ext4"
/dev/sdb1: LABEL="Lacie-16go" UUID="9A91-BA99" TYPE="vfat"
Set sda as corresponding disk of mapper/xubuntu--vg-root
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
mount : type de système de fichiers « crypto_LUKS » inconnu
mount /dev/sda5 : Error code 32
mount -r /dev/sda5 /mnt/boot-sav/sda5
mount : type de système de fichiers « crypto_LUKS » inconnu
mount -r /dev/sda5 : Error code 32
Avertissement : la partition étendue ne commence pas sur une frontière de
cylindres. DOS et Linux interpréteront les contenus différemment.
=================== /etc/grub.d/ :
drwxr-xr-x 2 root root 4096 avril 16 20:36 grub.d
total 76
-rwxr-xr-x 1 root root 9424 avril 11 12:48 00_header
-rwxr-xr-x 1 root root 6058 avril 10 17:58 05_debian_theme
-rwxr-xr-x 1 root root 11608 avril 11 12:48 10_linux
-rwxr-xr-x 1 root root 10412 avril 11 12:48 20_linux_xen
-rwxr-xr-x 1 root root 1992 mars 12 13:31 20_memtest86+
-rwxr-xr-x 1 root root 11692 avril 11 12:48 30_os-prober
-rwxr-xr-x 1 root root 1416 avril 11 12:48 30_uefi-firmware
-rwxr-xr-x 1 root root 214 avril 11 12:48 40_custom
-rwxr-xr-x 1 root root 216 avril 11 12:48 41_custom
-rw-r--r-- 1 root root 483 avril 11 12:48 README
=================== /etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_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 detected in the fstab of mapper/xubuntu--vg-root: UUID=2ba2de62-10e5-44c3-8c4f-33ac0680d3a7 (sda1)
=================== No kernel in /media/guillaume/Lacie-16go/boot:
grub
grub.exe
img
kexec-loader.lst
multisystem.bs.save
polices
splash
syslinux
/media/guillaume/Lacie-16go/boot/grub/menu.lst detected
=================== UEFI/Legacy mode:
This installed-session is not EFI-compatible.
SecureBoot disabled.
=================== PARTITIONS & DISKS:
mapper/xubuntu--vg-root : sda, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 32, with-boot, is-os, not--efi--part, fstab-has-goodBOOT, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, not-far, .
sda1 : sda, is-sepboot, grubenv-ok nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /boot.
sda5 : sda, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda5.
sdb1 : sdb, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-kernel, 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, /media/guillaume/Lacie-16go.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, liveusb, no-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA ST9250315AS (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 256MB 255MB primary ext2
2 257MB 250GB 250GB extended
5 257MB 250GB 250GB logical
Model: (scsi)
Disk /dev/sdb: 16.1GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 16.1GB 16.1GB primary fat32 boot, lba
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/xubuntu--vg-root: 248GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Number Start End Size File system Flags
1 0.00B 248GB 248GB ext4
Error: /dev/mapper/xubuntu--vg-swap_1: unrecognised disk label
Error: /dev/mapper/sdb5_crypt: unrecognised disk label
=================== parted -lm:
BYT;
/dev/sda:250GB:scsi:512:512:msdos:ATA ST9250315AS;
1:1049kB:256MB:255MB:ext2::;
2:257MB:250GB:250GB:::;
5:257MB:250GB:250GB:::;
BYT;
/dev/sdb:16.1GB:scsi:512:512:msdos: ;
1:1049kB:16.1GB:16.1GB:fat32::boot, lba;
BYT;
/dev/mapper/xubuntu--vg-root:248GB:dm:512:512:loop:Linux device-mapper (linear);
1:0.00B:248GB:248GB:ext4::;
Error: /dev/mapper/xubuntu--vg-swap_1: unrecognised disk label
Error: /dev/mapper/sdb5_crypt: unrecognised disk label
=================== mount:
/dev/mapper/xubuntu--vg-root on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
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)
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)
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)
/dev/sda1 on /boot type ext2 (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
/home/guillaume/.Private on /home/guillaume type ecryptfs (ecryptfs_check_dev_ruid,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs,ecryptfs_sig=c9411673655efb2a,ecryptfs_fnek_sig=802f186f74d20eca)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=guillaume)
/dev/sdb1 on /media/guillaume/Lacie-16go type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
=================== 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 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 size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dm-0 dm-1 dm-2 dri ecryptfs fb0 fd full fuse 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 sda5 sdb sdb1 sg0 sg1 shm snapshot snd stderr stdin stdout uhid uinput urandom v4l vga_arbiter vhost-net video0 xubuntu-vg zero
ls /dev/mapper: control sdb5_crypt xubuntu--vg-root xubuntu--vg-swap_1
ls: impossible d'accéder à /boot/efi/efi: Aucun fichier ou dossier de ce type
ls /boot/efi/efi :
=================== hexdump -n512 -C /dev/sdb1
00000000 eb 58 90 53 59 53 4c 49 4e 55 58 00 02 10 20 00 |.X.SYSLINUX... .|
00000010 02 00 00 00 00 f8 00 00 20 00 40 00 00 08 00 00 |........ .@.....|
00000020 00 a8 df 01 e7 3b 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 99 ba 91 9a 4c 61 63 69 65 2d 31 36 67 |..)....Lacie-16g|
00000050 6f 20 46 41 54 33 32 20 20 20 fa fc 31 c9 8e d1 |o FAT32 ..1...|
00000060 bc 76 7b 52 06 57 1e 56 8e c1 b1 26 bf 78 7b f3 |.v{R.W.V...&.x{.|
00000070 a5 8e d9 bb 78 00 0f b4 37 0f a0 56 20 d2 78 1b |....x...7..V .x.|
00000080 31 c0 b1 06 89 3f 89 47 02 f3 64 a5 8a 0e 18 7c |1....?.G..d....||
00000090 88 4d f8 50 50 50 50 cd 13 eb 62 8b 55 aa 8b 75 |.M.PPPP...b.U..u|
000000a0 a8 c1 ee 04 01 f2 83 fa 4f 76 31 81 fa b2 07 73 |........Ov1....s|
000000b0 2b f6 45 b4 7f 75 25 38 4d b8 74 20 66 3d 21 47 |+.E..u%8M.t f=!G|
000000c0 50 54 75 10 80 7d b8 ed 75 0a 66 ff 75 ec 66 ff |PTu..}..u.f.u.f.|
000000d0 75 e8 eb 0f 51 51 66 ff 75 bc eb 07 51 51 66 ff |u...QQf.u...QQf.|
000000e0 36 1c 7c b4 08 e8 e9 00 72 13 20 e4 75 0f c1 ea |6.|.....r. .u...|
000000f0 08 42 89 16 1a 7c 83 e1 3f 89 0e 18 7c fb bb aa |.B...|..?...|...|
00000100 55 b4 41 e8 cb 00 72 10 81 fb 55 aa 75 0a f6 c1 |U.A...r...U.u...|
00000110 01 74 05 c6 06 46 7d 00 66 b8 ce 60 1d 00 66 ba |.t...F}.f..`..f.|
00000120 00 00 00 00 bb 00 80 e8 0e 00 66 81 3e 1c 80 99 |..........f.>...|
00000130 99 61 6c 75 74 e9 f8 02 66 03 06 60 7b 66 13 16 |.alut...f..`{f..|
00000140 64 7b b9 10 00 eb 2b 66 52 66 50 06 53 6a 01 6a |d{....+fRfP.Sj.j|
00000150 10 89 e6 66 60 b4 42 e8 77 00 66 61 8d 64 10 72 |...f`.B.w.fa.d.r|
00000160 01 c3 66 60 31 c0 e8 68 00 66 61 e2 da c6 06 46 |..f`1..h.fa....F|
00000170 7d 2b 66 60 66 0f b7 36 18 7c 66 0f b7 3e 1a 7c |}+f`f..6.|f..>.||
00000180 66 f7 f6 31 c9 87 ca 66 f7 f7 66 3d ff 03 00 00 |f..1...f..f=....|
00000190 77 17 c0 e4 06 41 08 e1 88 c5 88 d6 b8 01 02 e8 |w....A..........|
000001a0 2f 00 66 61 72 01 c3 e2 c9 31 f6 8e d6 bc 68 7b |/.far....1....h{|
000001b0 8e de 66 8f 06 78 00 be da 7d ac 20 c0 74 09 b4 |..f..x...}. .t..|
000001c0 0e bb 07 00 cd 10 eb f2 31 c0 cd 16 cd 19 f4 eb |........1.......|
000001d0 fd 8a 16 74 7b 06 cd 13 07 c3 42 6f 6f 74 20 65 |...t{.....Boot e|
000001e0 72 72 6f 72 0d 0a 00 00 00 00 00 00 00 00 00 00 |rror............|
000001f0 00 00 00 00 00 00 00 00 fe 02 b2 3e 18 37 55 aa |...........>.7U.|
00000200
Disk /dev/mapper/sdb5_crypt doesn't contain a valid partition table
Disk /dev/mapper/xubuntu--vg-root doesn't contain a valid partition table
Disk /dev/mapper/xubuntu--vg-swap_1 doesn't contain a valid partition table
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/xubuntu--vg-root ext4 227G 3.0G 213G 2% /
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
udev devtmpfs 990M 12K 990M 1% /dev
tmpfs tmpfs 201M 1.1M 200M 1% /run
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 1004M 392K 1003M 1% /run/shm
none tmpfs 100M 40K 100M 1% /run/user
/dev/sda1 ext2 236M 44M 180M 20% /boot
/home/guillaume/.Private ecryptfs 227G 3.0G 213G 2% /home/guillaume
/dev/sdb1 vfat 15G 1.4G 14G 9% /media/guillaume/Lacie-16go
=================== fdisk -l:
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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: 0x000e43fa
Device Boot Start End Blocks Id System
/dev/sda1 2048 499711 248832 83 Linux
/dev/sda2 501758 488396799 243947521 5 Extended
/dev/sda5 501760 488396799 243947520 83 Linux
Disk /dev/mapper/sdb5_crypt: 249.8 GB, 249800163328 bytes
255 heads, 63 sectors/track, 30369 cylinders, total 487890944 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/xubuntu--vg-root: 247.7 GB, 247656873984 bytes
255 heads, 63 sectors/track, 30109 cylinders, total 483704832 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/xubuntu--vg-swap_1: 2139 MB, 2139095040 bytes
255 heads, 63 sectors/track, 260 cylinders, total 4177920 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/sdb: 16.1 GB, 16095641600 bytes
255 heads, 63 sectors/track, 1956 cylinders, total 31436800 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: 0x00c44952
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 31436799 15717376 c W95 FAT32 (LBA)
** (zenity:11262): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-M2XoKLYBob: Connexion refusée
=================== Advice displayed in case of recommended repair
Vous souhaiterez peut-être ré-essayer après avoir déchiffré vos partitions. (http://doc.ubuntu-fr.org/ecryptfs)
Voulez-vous continuer ?
=================== Final advice in case of recommended repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sda (250GB) !
=================== Default settings
Recommended-Repair
This setting would purge (in order to enable-lvm) and reinstall the grub2 of mapper/xubuntu--vg-root into the MBR of sda, using the following options: sda1/boot,
Grub-efi would not be selected by default because: no-win-efi
Additional repair would be performed: unhide-bootmenu-10s repair-filesystems
=================== Settings chosen by the user
Boot-Info
This setting will not act on the MBR.
Aucun changement n'a été effectué sur cet ordinateur.
Hors ligne
#4 Le 07/08/2014, à 08:24
- malbo
Re : [résolu] Problème démarrage xubuntu disque dur crypté boot live usb
Si le chiffrement de l'installation ne t'est pas utile, ça tombe bien parce que c'est une usine à gaz merdique que tu vas pouvoir virer. Je te recommande de tout reprendre à zéro et de faire une installation classique en sélectionnant "Autre chose" à l'étape 3 de l'installation, supprimant les partitions actuelles et créant tes partitions à la main avec l'aide de la doc "Partitionner manuellement avec l'installateur Ubuntu" (*). Si ce partitionnement manuel te rebute, tu peux sélectionner "Supprimer Ubuntu XXXX et réinstaller" (voir écran) : dans cette option, l'installateur efface tout le disque dur et recrée entièrement les partitions de façon automatique. Tu obtiens alors un partitionnement simple et merdique pour novice, aussi merdique que le partitionnement d'un ordi préinstallé Windows, c'est à dire une partition énorme qui occupe tout le disque dur avec le système et les données tout ensemble dans cette partition fourre-tout. Tu te doutes que je te suggère la première proposition (partitionnement manuel) qui va te donner l'opportunité de créer une Partition de données personnelles (qu'on appelle communément "partition home") et pouvoir séparer ainsi ton système (partition racine) de tes données.
(*) cette doc contient un paragraphe fort utile pour un novice : 5. Exemple pratique
Dernière modification par malbo (Le 07/08/2014, à 08:28)
Hors ligne
#5 Le 07/08/2014, à 08:32
- moko138
Re : [résolu] Problème démarrage xubuntu disque dur crypté boot live usb
quand je branche ma clé live multi iso, impossible de lancer une session live dans l'espoir de tout réécraser, il lance l'installation sur mon disque dur et me demande le passphrase (que je conserve précieusement) et le syteme tourne comme si de rien n'était
Ce n'est pas l'installation que lance ta clef, puisqu'elle te demande la passphrase. Elle lance ton système installé chiffré.
No boot loader is installed in the MBR of /dev/sda.
Bien ! Si c'est le seul problème, ce n'est rien.
Nous allons installer grub à sa bonne place, qui est sda (SANS chiffre).
Donc, depuis ton OS installé (tu as fourni la passphrase), colle dans un terminal :
sudo grub-install /dev/sda
sudo update-grub
Tu éteins ensuite le pc, tu retires ta clef, tu redémarres et tu donnes des nouvelles.
------------
J'attire ton attention sur la petite taille de ta partition de boot (250 Mo) :
tu devras être attentif à ne jamais garder que les deux derniers noyaux fonctionnels.
------------
Par contre, puisque le grub de ton OS installé a écrasé le MBR de ta clef sdb - quand tu installes, il faut être très attentif : sda n'est pas sda5 ni sdb - je ne sais pas si tu pourras réutiliser ta clef sdb indépendamment de sda.
Pour le savoir, il suffit de démarrer avec ta clef un pc sans disque dur (ou disque dur débranché) : ou ça démarre ou ça ne démarre pas...
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#6 Le 07/08/2014, à 08:37
- moko138
Re : [résolu] Problème démarrage xubuntu disque dur crypté boot live usb
Je viens de voir le message de malbo : il a raison, c'est encore mieux.
Si tu as des données personnelles sur sda à sauvegarder sur disque externe, commence par ça.
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#7 Le 07/08/2014, à 09:01
- malbo
Re : [résolu] Problème démarrage xubuntu disque dur crypté boot live usb
@moko138 : si le chiffrement de l'installation n'était pas aussi buggé (exemple), ça aurait valu le coup de chercher à le faire fonctionner, même si Kaplan se rend compte que ce chiffrement ne lui sert à rien. Mais ce chiffrement est une telle merde à gérer pour un novice qu'il vaut mieux tout virer. Je ne comprends pas que les développeurs de Ubuntu proposent des pièges à novice comme ça... c'est peut-être parce que c'est une idée du chef (le génie dont j'utilise le portrait pour mon avatar)?
Dernière modification par malbo (Le 07/08/2014, à 09:04)
Hors ligne
#8 Le 07/08/2014, à 16:03
- Kaplan
Re : [résolu] Problème démarrage xubuntu disque dur crypté boot live usb
merci les gars.
alors la méthode de moko marche. donc le pc démarre tout seul.
Pour la suite je vais faire comme malbo, et commencer à partionner à la main.
je vous tiens au courant.
à bientôt
Hors ligne
#9 Le 07/08/2014, à 18:24
- moko138
Re : [résolu] Problème démarrage xubuntu disque dur crypté boot live usb
J'ai suivi ton lien, malbo, et je constate avec stupéfaction que le bug #1047384 repéré en 90/2012, est toujours "Unassigned" !
Mais comment se fait-il qu'on ne voit pas plus de cas sur le forum ?
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#10 Le 07/08/2014, à 18:48
- malbo
Re : [résolu] Problème démarrage xubuntu disque dur crypté boot live usb
Mais comment se fait-il qu'on ne voit pas plus de cas sur le forum ?
J'ai écouté une émission de radio fort édifiante hier sur le virus Ebola : il était expliqué que la recherche en laboratoire était insignifiante parce qu'il y avait trop peu de cas. En résumé, il n'y a aucun traitement et on ne fait aucune recherche pour trouver un traitement parce qu'il y a trop peu de cas. C'est un peu pareil pour le cryptage : c'est un truc de parano utilisé par des spécialistes du chiffrement. Eux, ils s'en sortiront toujours mais le novice qui tombe là-dedans, il est mal.
Hors ligne
#11 Le 07/08/2014, à 19:17
- moko138
Re : [résolu] Problème démarrage xubuntu disque dur crypté boot live usb
Mais on voit plein de 14.04 en LVM chiffré sur le forum. Si j'ai bien suivi, ils auraient dû tous avoir le problème au premier démarrage, non ?
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#12 Le 07/08/2014, à 19:25
- malbo
Re : [résolu] Problème démarrage xubuntu disque dur crypté boot live usb
Mais on voit plein de 14.04 en LVM chiffré sur le forum.
A oui ? Je ne dois pas être placé où il faut pour les voir. Pourtant je passe mon temps dans la rubrique "Installation d'Ubuntu" et j'en vois rarement passer un (heureusement). Rien que sur les deux derniers mois écoulé, tu peux me donner des liens vers des cas sur le forum ?
Hors ligne