Contenu | Rechercher | Menus

Annonce

Le forum rencontre en ce moment quelques soucis de charge, il est possible qu'une erreur soit affichée quand vous postez un message, ne rechargez pas la page au risque de poster une seconde fois votre message

Si vous rencontrez des soucis à rester connecté sur le forum (ou si vous avez perdu votre mot de passe) déconnectez-vous et reconnectez-vous depuis cette page, en cochant la case "Me connecter automatiquement lors de mes prochaines visites".

nombre réponses : 25

#0 -1 »  Niveau expert requis: Bug après upgrade du kernel (initram crypt dev) » Le 19/10/2012, à 15:13

neokod
Réponses : 1

Bonjour,

Depuis plusieurs semaines, je suis sous Quantal Quetzal via l'installeur de Gnome Ubuntu Remix.
J'ai eu l'occasion d'installer à plusieurs reprises à neuf le système suite à quelques soucis au boot après des des upgrades du kernel.
Je précise que lors de l'installation, j'ai demandé à ce qu'il me chiffre mon disque (entier, et non pas mon home) et j'ai coché l'option LVM.

J'ai également un 2ème disque dur qui me sert uniquement de stockage, lui-même chiffré.
Au boot de ma machine, on me demande donc un premier mot de passe pour déchiffrer mon disque principal contenant ma Ubuntu, et un autre mot de passe pour ouvrir mon 2ème disque dur de stockage nommé "Shugart" (HS: dédicace à Alan Shugart...)

Seul le kernel installé par défaut par l'installateur boot correctement et voit bien toutes mes partitions dans mon /dev/mapper/
En effet, lors d'une sortie d'une nouveau kernel, après un reboot, après saisie de mon 1er mot de passe qui fonctionne, il m'affiche une erreur de montage de ma partition /boot (qui est étrangement plus visible dans /dev/mapper/ ) et je ne sais pas pourquoi mais ça me bloque sur la saisie du mot de passe du 2ème disque Shugart... que je peux néanmoins ignorer pour booter malgré tout, sauf que je vois bien qu'il manque pas mal de choses dans mon /dev/mapper/


En résumé, j'ai 4 disques dur, 2 SSD en RAID-1 hardware qui accueillent ma Ubuntu ( isw_cdecbeegid_Linux* ) et 2 autres HD en RAID-1 hardware qui me servent à stocker mes données ( isw_echffeicdi_Shugart* )

Le volume principal ( isw...Linux* ) est :
isw_cdecbeegid_Linux1 : /boot (ext2, non chiffré)
isw_cdecbeegid_Linux2 : partition étendue contenant :
isw_cdecbeegid_Linux5 : / (crypt-luks)


Quand je boot sur mon kernel téléchargé et installé par défaut à l'install de Quantal, j'ai dans /dev/mapper/ :

root@dev:/dev/mapper # ls -la
total 0
drwxr-xr-x  2 root root      260 oct.   4 09:35 .
drwxr-xr-x 19 root root     4680 oct.   4 09:36 ..
crw-------  1 root root  10, 236 oct.   4 09:35 control
brw-rw----  1 root disk 252,   1 oct.   4 09:35 isw_cdecbeegid_Linux
lrwxrwxrwx  1 root root        7 oct.   4 09:35 isw_cdecbeegid_Linux1 -> ../dm-2
lrwxrwxrwx  1 root root        7 oct.   4 09:35 isw_cdecbeegid_Linux2 -> ../dm-3
lrwxrwxrwx  1 root root        7 oct.   4 09:35 isw_cdecbeegid_Linux5 -> ../dm-4
lrwxrwxrwx  1 root root        7 oct.   4 09:35 isw_cdecbeegid_Linux5_crypt -> ../dm-6
brw-rw----  1 root disk 252,   0 oct.   4 09:35 isw_echffeicdi_Shugart
lrwxrwxrwx  1 root root        7 oct.   4 09:35 isw_echffeicdi_Shugart1 -> ../dm-5
lrwxrwxrwx  1 root root        7 oct.   4 09:36 Shugart -> ../dm-9
lrwxrwxrwx  1 root root        7 oct.   4 09:35 ubuntu-root -> ../dm-7
lrwxrwxrwx  1 root root        7 oct.   4 09:35 ubuntu-swap_1 -> ../dm-8

Par contre, si j'upgrade le système, il installe le nouveau kernel en date, j'ai plus que :

root@dev:/dev/mapper # ls -la
total 0
drwxr-xr-x  2 root root     140 Oct  4 10:15 .
drwxr-xr-x 19 root root    4700 Oct  4 10:15 ..
lrwxrwxrwx  1 root root       7 Oct  4 10:15 Shugart -> ../dm-3
crw-------  1 root root 10, 236 Oct  4 10:15 control
lrwxrwxrwx  1 root root       7 Oct  4 10:15 isw_cdecbeegid_Linux5_crypt -> ../dm-0
lrwxrwxrwx  1 root root       7 Oct  4 10:15 ubuntu-root -> ../dm-1
lrwxrwxrwx  1 root root       7 Oct  4 10:15 ubuntu-swap_1 -> ../dm-2

J'ai tenté d'installer un autre kernel fait par un ubunturos, la 3.5.2 et ça fait le même problème.

À l'install, le kernel téléchargé à la volée et installé était le 3.5.0.15 (qui fonctionne parfaitement) puis l'upgrade a fait passer en 3.5.0.16 (où /dev/mapper/ devient donc incomplet).
On pourrait penser que c'est le kernel 3.5.0.16 qui a changé une option qui fout la grouille, mais non.
Non, car j'avais eu le même problème une semaine avant en installant le même système sur cette même machine.
Le kernel téléchargé et installé à la volée par Quantal était alors le 3.5.0.14 puis une upgrade en 3.5.0.15 faisait disparaître une partie de mes /dev/mapper/ ! O_o

Donc clairement, ce n'est pas le kernel en lui-même qui créer le problème, ni la version d'udev d'ailleurs, mais sans doute un fichier de config qui change lorsqu'on install un nouveau kernel, quel qu'il soit, et je pense que c'est lié au chiffrage.

Je pense que c'est lié au chiffrage car quand je dévérouille isw_cdecbeegid_Linux5_crypt avec mon mot de passe au boot, dans le cas d'un nouveau kernel, il y arrive puis m'indique une erreur :

/scripts/local-top/cryptroot: line 1: can't open /dev/mapper/ubuntu-root: no such file...

Puis il essaie de monter le /boot sans succès (normal vu qu'il n'apparaît plus dans /dev/mapper/ )

Le disque dur /boot n'est pas encore prêt ou présent.
Keys: Continuer à attendre, ou appuyer sur S pour ignorer le montage ou M pour le montage manuel.

J'ai également eu d'autres upgrade de kernel depuis jusqu'à la 3.5.0.17, chaque version bug toujours, je suis contraint de manuellement booter sur la 3.5.0.15 ....

Une autre question que je me pose, c'est est-ce normal que /dev/mapper/isw_cdecbeegid_Linux5_crypt soit la même chose que /dev/mapper/ubuntu-root ?

Dans les fichiers de config tel que /etc/fstab et notamment ceux de la séquence de boot tels que /scripts/local-top/cryptroot font référence à ubuntu-root alors que d'autres fichiers système tels que /etc/crypttab utilisent isw_cdecbeegid_Linux5_crypt (qui rajoute donc "_crypt" au nom réel de ma partition).

En espérant qu'il y ait une personne suffisamment calée pour m'aider !


Voici mon /etc/fstab :

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/ubuntu-root /               ext4    errors=remount-ro 0       1
/dev/mapper/isw_cdecbeegid_Linux1 /boot           ext2    defaults        0       2
/dev/mapper/ubuntu-swap_1 none            swap    sw              0       0
/dev/mapper/Shugart /media/Shugart ext3 defaults 0 1

Voici mon /etc/crypttab :

isw_cdecbeegid_Linux5_crypt UUID=96cb6648-1996-4823-8a40-4bcb2de3715d none luks
Shugart UUID=2b7a3d7c-a63e-4fba-bfe6-11f2d905c5d1 none luks

Voici mon /boot/grub/grub.cfg :

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"

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
  set timeout=10
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 13,37,73; 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
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
	else
	  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
	fi
	linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
	initrd	/initrd.img-3.5.2-030502-i7
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	menuentry 'Ubuntu, avec Linux 3.5.2-030502-i7' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.2-030502-i7-advanced-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.2-030502-i7…'
		linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.2-030502-i7
	}
	menuentry 'Ubuntu, avec Linux 3.5.2-030502-i7 (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.2-030502-i7-recovery-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.2-030502-i7…'
		linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.2-030502-i7
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-16-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-16-generic-advanced-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.0-16-generic…'
		linux	/vmlinuz-3.5.0-16-generic root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-16-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-16-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-16-generic-recovery-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.0-16-generic…'
		linux	/vmlinuz-3.5.0-16-generic root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-16-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-15-generic-advanced-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.0-15-generic…'
		linux	/vmlinuz-3.5.0-15-generic root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-15-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-15-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-15-generic-recovery-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.0-15-generic…'
		linux	/vmlinuz-3.5.0-15-generic root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-15-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
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
	else
	  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
	fi
	linux16	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
	else
	  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
	fi
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### END /etc/grub.d/30_os-prober ###

### 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 ###

Voici le alias vers mes disques / partitions :
Corsair & SanDisk sont les 2 SSD en RAID-1 Hardware pour Ubuntu (Linux)
WDC_WD10EARX et WDC_WD10EZRX sont les 2 HD en RAID-1 Hardware pour le stockage (Shugart)

 # la /dev/disk/by-uuid
total 0
drwxr-xr-x 2 root root 160 oct.   4 09:35 .
drwxr-xr-x 6 root root 120 oct.   4 09:35 ..
lrwxrwxrwx 1 root root  10 oct.   4 09:35 2b7a3d7c-a63e-4fba-bfe6-11f2d905c5d1 -> ../../dm-5
lrwxrwxrwx 1 root root  10 oct.   4 09:36 35cd985b-d239-4c9b-9877-7f266b00dd88 -> ../../dm-9
lrwxrwxrwx 1 root root  10 oct.   4 09:35 3638aecc-622d-4957-88d8-3f7a7973ec9b -> ../../dm-7
lrwxrwxrwx 1 root root  10 oct.   4 09:35 6c753c5f-ae1c-49b7-bfc9-894346b4253b -> ../../dm-8
lrwxrwxrwx 1 root root  10 oct.   4 09:35 96cb6648-1996-4823-8a40-4bcb2de3715d -> ../../dm-4
lrwxrwxrwx 1 root root  10 oct.   4 09:35 de277a39-8920-4c4b-98bc-5d6063f76b86 -> ../../dm-2

# la /dev/disk/by-id 
total 0
drwxr-xr-x 2 root root 740 oct.   4 09:35 .
drwxr-xr-x 6 root root 120 oct.   4 09:35 ..
lrwxrwxrwx 1 root root   9 oct.   4 09:35 ata-Corsair_Force_3_SSD_1232791400001480023F -> ../../sdb
lrwxrwxrwx 1 root root   9 oct.   4 09:35 ata-SanDisk_SDSSDX120GG25_120947400863 -> ../../sda
lrwxrwxrwx 1 root root   9 oct.   4 09:35 ata-WDC_WD10EARX-22N0YB0_WD-WMC0S0912850 -> ../../sdc
lrwxrwxrwx 1 root root   9 oct.   4 09:35 ata-WDC_WD10EZRX-00A8LB0_WD-WMC1U3541179 -> ../../sdd
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_cdecbeegid_Linux -> ../../dm-1
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_cdecbeegid_Linux1 -> ../../dm-2
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_cdecbeegid_Linux2 -> ../../dm-3
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_cdecbeegid_Linux5 -> ../../dm-4
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_cdecbeegid_Linux5_crypt -> ../../dm-6
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_echffeicdi_Shugart -> ../../dm-0
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_echffeicdi_Shugart1 -> ../../dm-5
lrwxrwxrwx 1 root root  10 oct.   4 09:36 dm-name-Shugart -> ../../dm-9
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-ubuntu-root -> ../../dm-7
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-ubuntu-swap_1 -> ../../dm-8
lrwxrwxrwx 1 root root  10 oct.   4 09:36 dm-uuid-CRYPT-LUKS1-2b7a3d7ca63e4fbabfe611f2d905c5d1-Shugart_unformatted -> ../../dm-9
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-CRYPT-LUKS1-96cb6648199648238a404bcb2de3715d-isw_cdecbeegid_Linux5_crypt -> ../../dm-6
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-DMRAID-isw_cdecbeegid_Linux -> ../../dm-1
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-DMRAID-isw_echffeicdi_Shugart -> ../../dm-0
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-LVM-9h0tSiLNgxG53uddXOkDgznEds6daXgmaVvG2WdN1zHG1LvdE2u0tVJhdRGgeAQZ -> ../../dm-7
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-LVM-9h0tSiLNgxG53uddXOkDgznEds6daXgmsfz1MXwdrkU09IdZ3o0dAzNJN6IehFGv -> ../../dm-8
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-part1-DMRAID-isw_cdecbeegid_Linux -> ../../dm-2
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-part1-DMRAID-isw_echffeicdi_Shugart -> ../../dm-5
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-part2-DMRAID-isw_cdecbeegid_Linux -> ../../dm-3
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-part5-DMRAID-isw_cdecbeegid_Linux -> ../../dm-4
lrwxrwxrwx 1 root root   9 oct.   4 09:35 scsi-SATA_Corsair_Force_31232791400001480023F -> ../../sdb
lrwxrwxrwx 1 root root   9 oct.   4 09:35 scsi-SATA_SanDisk_SDSSDX1120947400863 -> ../../sda
lrwxrwxrwx 1 root root   9 oct.   4 09:35 scsi-SATA_WDC_WD10EARX-22_WD-WMC0S0912850 -> ../../sdc
lrwxrwxrwx 1 root root   9 oct.   4 09:35 scsi-SATA_WDC_WD10EZRX-00_WD-WMC1U3541179 -> ../../sdd
lrwxrwxrwx 1 root root   9 oct.   4 09:35 usb-Generic-_Compact_Flash_058F63626420-0:1 -> ../../sdf
lrwxrwxrwx 1 root root   9 oct.   4 09:35 usb-Generic-_MS_MS-Pro_058F63626420-0:3 -> ../../sdh
lrwxrwxrwx 1 root root   9 oct.   4 09:35 usb-Generic-_SD_MMC_058F63626420-0:0 -> ../../sde
lrwxrwxrwx 1 root root   9 oct.   4 09:35 usb-Generic-_SM_xD_Picture_058F63626420-0:2 -> ../../sdg
lrwxrwxrwx 1 root root   9 oct.   4 09:35 wwn-0x50014ee1af477921 -> ../../sdd
lrwxrwxrwx 1 root root   9 oct.   4 09:35 wwn-0x50014ee206e6e70d -> ../../sdc
lrwxrwxrwx 1 root root   9 oct.   4 09:35 wwn-0x5001b447349bdc9f -> ../../sda

 # la /dev/disk/by-path 
total 0
drwxr-xr-x 2 root root 140 oct.   4 09:35 .
drwxr-xr-x 6 root root 120 oct.   4 09:35 ..
lrwxrwxrwx 1 root root   9 oct.   4 09:35 pci-0000:00:1a.0-usb-0:1.1:1.0-scsi-0:0:0:0 -> ../../sde
lrwxrwxrwx 1 root root   9 oct.   4 09:35 pci-0000:00:1a.0-usb-0:1.1:1.0-scsi-0:0:0:1 -> ../../sdf
lrwxrwxrwx 1 root root   9 oct.   4 09:35 pci-0000:00:1a.0-usb-0:1.1:1.0-scsi-0:0:0:2 -> ../../sdg
lrwxrwxrwx 1 root root   9 oct.   4 09:35 pci-0000:00:1a.0-usb-0:1.1:1.0-scsi-0:0:0:3 -> ../../sdh
lrwxrwxrwx 1 root root   9 oct.   4 09:35 pci-0000:00:1f.2-scsi-0:0:0:0 -> ../../sdc

 # la /dev/disk/by-label 
total 0
drwxr-xr-x 2 root root  60 oct.   4 09:35 .
drwxr-xr-x 6 root root 120 oct.   4 09:35 ..
lrwxrwxrwx 1 root root  10 oct.   4 09:36 Shugart -> ../../dm-9

Merci !

#1 Re : -1 »  Niveau expert requis: Bug après upgrade du kernel (initram crypt dev) » Le 21/10/2012, à 15:38

neokod
Réponses : 1

J'ai avancé dans la recherche de mon problème, qui est partiellement résolu.

J'ai remarqué qu'en désactivant dans mon /etc/crypttab la 2ème ligne dédié à mon disque Shugart, je n'avais plus de blocage au démarrage, et que mon /boot est bien monté.

Par contre, dans "Fichiers" (Nautilus), il m'affiche désormais dans la liste de mes périphériques 3 nouvelles entrées au lieu de simplement "Shugart" comme avant.

Ces entrées sont deux fois "1,0 TB chiffrés", qui est donc les 2 disques RAID-1 Hardware (il ne devrait donc techniquement en voir qu'un seul .... ?! ). En cliquant dessus, et saisissant mon mot de passe j'ai bien le périphérique qui s'ouvre, et qui est par la même nommé "Shugart" dans la liste.

Et le 3ème autre périphérique est "120 GB chiffrés", je suppose donc que c'est mon 2ème disque Ubuntu, qui est pourtant en RAID-1 hardware... comment se fait-il qu'il me l'affiche ?!

D'ailleurs ma liste des devices mappés à également changé par rapport à lorsque je boot en 3.0.5.15 avec le déchiffrage de Shugart au boot, en effet il y a beaucoup moins de map :

% ls /dev/mapper -la
total 0
drwxr-xr-x  2 root root     140 oct.  21 12:33 .
drwxr-xr-x 19 root root    4940 oct.  21 12:46 ..
crw-------  1 root root 10, 236 oct.  21 11:43 control
lrwxrwxrwx  1 root root       7 oct.  21 11:43 isw_cdecbeegid_Linux5_crypt -> ../dm-0
lrwxrwxrwx  1 root root       7 oct.  21 12:33 luks-2b7a3d7c-a63e-4fba-bfe6-11f2d905c5d1 -> ../dm-3
lrwxrwxrwx  1 root root       7 oct.  21 11:43 ubuntu-root -> ../dm-1
lrwxrwxrwx  1 root root       7 oct.  21 11:43 ubuntu-swap_1 -> ../dm-2

#2 -1 »  Suggestion de forum pour Gnome Shell ? » Le 04/10/2012, à 18:39

neokod
Réponses : 9

Bonjour,

Maintenant que Ubuntu Gnome Remix émerge (beta1 : https://wiki.ubuntu.com/UbuntuGNOME/ReleaseNotes ), peut-être qu'une section pour l'environnement Gnome Shell aurait sa place, au même titre qu'un KDE ou Unity, non ?

C'est qu'une simple suggestion.

#3 Re : -1 »  Suggestion de forum pour Gnome Shell ? » Le 05/10/2012, à 02:43

neokod
Réponses : 9

Je n'avais même pas vu la sous-section Gnome3, ça ne saute vraiment pas aux yeux ^^

#4 Re : -1 »  Suggestion de forum pour Gnome Shell ? » Le 05/10/2012, à 10:41

neokod
Réponses : 9

Arkim: Tout comme toi. Machine 100% GNU/Linux dès 98 avec Debian, puis Warty vers 2004, mais avec Unity j'ai vraiment pas accroché, mais alors pas du tout, migré vers Linux Mint (pas très loin, certes... ) et maintenant... j'avoue que je suis tomber amoureux de la Gnome Ubuntu Remix et donc de Gnome Shell 3.6 !

#5 -1 »  Problème avec gstreamer, comment installer la version expérimentale ? » Le 17/10/2012, à 14:58

neokod
Réponses : 4

Bonjour,

Je ne peux pas ouvrir un .avi dans le logiciel subtitleeditor, mais d'après mes recherches (http://us.generation-nt.com/answer/bug- … 72422.html) il s'agit d'un bug dans gstreamer-0.10-0:amd64.

Ma question est simple, je suis sous Quantal, j'aimerais soit mettre une version précédente de gstreamer, est-ce possible, si oui comment ?

Ou s'il existe une version supérieure (apparemment elle existe dans la branche expérimentale de debian), je suis preneur, si ça passe en 64bits / Quantal.

Merci d'avance pour votre aide !

#6 Re : -1 »  Problème avec gstreamer, comment installer la version expérimentale ? » Le 18/10/2012, à 12:10

neokod
Réponses : 4

Bonjour jpdw,

C'est ce que je voulais faire, cependant il n'y a pas de publications pour quantal ...

Il y a pourtant une version debian dans la branche expérimentale, et j'ai peur de prendre directement les paquets debian, sans parler des dépendances et du fait que gstreamer ne se résume pas à un seul paquet...

#7 Re : -1 »  Problème avec gstreamer, comment installer la version expérimentale ? » Le 18/10/2012, à 13:41

neokod
Réponses : 4

Oui, c'est normal que ça fonctionnait pour toi, vu que tu n'étais pas sous 12.10 ;-)
Là ils ont des publications pour 12.04 mais pas pour 12.10.

Je sens que je vais devoir attendre... ou alors il faudrait que je mette une version inférieur :-/

#8 -1 »  [Résolu] Freezes récurrents d'une dizaine de secondes » Le 05/10/2012, à 11:04

neokod
Réponses : 6

Bonjour,

Je suis sous Ubuntu Gnome Remix beta2 / Quantal Quetzal, 64bits, kernel 3.5.0.15.

J'ai une machine assez puissante ( i5 3540S / H77 Express / 16 Go de RAM / 120 Go SSD RAID-1 Hardware ) et pourtant j'ai quelques freezes qui me bloque tout le système pendant 10 secondes environ, c'est totalement aléatoire, ça peut arriver quand je suis sous LibreOffice, Firefox, Thunderbird ...

J'ai dans ma barre du haut de Gnome-Shell, un oeil constant sur l'activité du CPU / Mémoire / Réseau. Et il n'y a absolument aucun pic d'activité (par exemple j'ai relevé 10% CPU et 6Go de mémoire pendant un freeze).

J'ai rien dans mon syslog, et je ne vois absolument pas comment je pourrais faire pour savoir d'où vient ce problème. Il faudrait déjà que je puisse l'identifier, avec peut-être des logs plus bavards.

Quelqu'un a t-il une idée ?


EDIT: Le problème s'est résolu de lui même après une mise à jour du système.

#9 Re : -1 »  [Résolu] Freezes récurrents d'une dizaine de secondes » Le 05/10/2012, à 11:55

neokod
Réponses : 6

Bonjour Seb24,

Je n'ai pas Unity d'installer, c'est Ubuntu Gnome Remix, donc sous Gnome-Shell 3.6.

La machine est neuve, c'est la première installation dessus, je n'ai pas pu comparer du coup.

Je cherche surtout un moyen d'avoir des logs plus bavards pour traquer le freeze... savoir si ça vient du kernel, d'un daemon (j'ai pas mal de services qui tournent, comme PostGreSQL, Apache ... ) ou d'une bête application ...

#10 Re : -1 »  [Résolu] Freezes récurrents d'une dizaine de secondes » Le 05/10/2012, à 16:28

neokod
Réponses : 6

Je vais peut-être pas tout réinstaller quand même smile
Peut-être qu'il existe un outil qui permet de logger l'activité des processus en mémoire dans un fichier ?
Comme cela je pourrais m'y référer ensuite et voir si c'est une appli ou autre qui crée ce type de freeze.

#11 Re : -1 »  [Résolu] Freezes récurrents d'une dizaine de secondes » Le 16/10/2012, à 18:03

neokod
Réponses : 6

Le problème s'est résolu de lui-même, sans doute grâce à une mise à jour d'un programme ou service qui était bugué !

#12 -1 »  Mon /dev/mapper/ est différent suivant le kernel booté! (bug cryptfs?) » Le 01/10/2012, à 20:31

neokod
Réponses : 1

Bonjour,

Seul le kernel installé par défaut par le système semble permettre de bien voir mes disques mappés dans mon /dev/mapper/
Le soucis, c'est que la partition qui sert à mon /boot/ n'est reconnue que quand je boot sur le premier kernel installé.

J'ai 4 disques dur, 2 SSD en RAID-1 hardware qui accueillent ma Ubuntu ( isw_cdecbeegid_Linux* ) et 2 autres HD en RAID-1 qui me servent à stocker mes données ( isw_echffeicdi_Shugart* )

Le volume principal ( isw...Linux* ) est :
isw_cdecbeegid_Linux1 : /boot (ext2, non chiffré)
isw_cdecbeegid_Linux2 : partition étendue contenant :
isw_cdecbeegid_Linux5 : / (crypt-luks)

Je précise que c'est l'installateur de Quantal qui a géré le chiffrement total du système et l'utilisation d'un volume LVM2.

Quand je boot sur mon kernel téléchargé et installé par défaut à l'install de Quantal, j'ai dans /dev/mapper/ :

root@dev:/dev/mapper # ls -la
total 0
drwxr-xr-x  2 root root      260 oct.   4 09:35 .
drwxr-xr-x 19 root root     4680 oct.   4 09:36 ..
crw-------  1 root root  10, 236 oct.   4 09:35 control
brw-rw----  1 root disk 252,   1 oct.   4 09:35 isw_cdecbeegid_Linux
lrwxrwxrwx  1 root root        7 oct.   4 09:35 isw_cdecbeegid_Linux1 -> ../dm-2
lrwxrwxrwx  1 root root        7 oct.   4 09:35 isw_cdecbeegid_Linux2 -> ../dm-3
lrwxrwxrwx  1 root root        7 oct.   4 09:35 isw_cdecbeegid_Linux5 -> ../dm-4
lrwxrwxrwx  1 root root        7 oct.   4 09:35 isw_cdecbeegid_Linux5_crypt -> ../dm-6
brw-rw----  1 root disk 252,   0 oct.   4 09:35 isw_echffeicdi_Shugart
lrwxrwxrwx  1 root root        7 oct.   4 09:35 isw_echffeicdi_Shugart1 -> ../dm-5
lrwxrwxrwx  1 root root        7 oct.   4 09:36 Shugart -> ../dm-9
lrwxrwxrwx  1 root root        7 oct.   4 09:35 ubuntu-root -> ../dm-7
lrwxrwxrwx  1 root root        7 oct.   4 09:35 ubuntu-swap_1 -> ../dm-8

Par contre, si j'upgrade le système, il installe le nouveau kernel en date, j'ai plus que :

root@dev:/dev/mapper # ls -la
total 0
drwxr-xr-x  2 root root     140 Oct  4 10:15 .
drwxr-xr-x 19 root root    4700 Oct  4 10:15 ..
lrwxrwxrwx  1 root root       7 Oct  4 10:15 Shugart -> ../dm-3
crw-------  1 root root 10, 236 Oct  4 10:15 control
lrwxrwxrwx  1 root root       7 Oct  4 10:15 isw_cdecbeegid_Linux5_crypt -> ../dm-0
lrwxrwxrwx  1 root root       7 Oct  4 10:15 ubuntu-root -> ../dm-1
lrwxrwxrwx  1 root root       7 Oct  4 10:15 ubuntu-swap_1 -> ../dm-2

J'ai tenté d'installer un autre kernel fait par un ubunturos, la 3.5.2 et ça fait le même problème.

À l'install, le kernel téléchargé à la volée et installé était le 3.5.0.15 (qui fonctionne parfaitement) puis l'upgrade a fait passer en 3.5.0.16 (où /dev/mapper/ devient donc incomplet).
On pourrait penser que c'est le kernel 3.5.0.16 qui a changé une option qui fout la grouille, mais non.
Non, car j'avais eu le même problème une semaine avant en installant le même système sur cette même machine.
Le kernel téléchargé et installé à la volée par Quantal était alors le 3.5.0.14 puis une upgrade en 3.5.0.15 faisait disparaître une partie de mes /dev/mapper/ ! O_o

Donc clairement, ce n'est pas le kernel en lui-même qui créer le problème, ni la version d'udev d'ailleurs, mais sans doute un fichier de config qui change lorsqu'on install un nouveau kernel, quel qu'il soit, et je pense que c'est lié au chiffrage.

Je pense que c'est lié au chiffrage car quand je dévérouille isw_cdecbeegid_Linux5_crypt avec mon mot de passe au boot, dans le cas d'un nouveau kernel, il y arrive puis m'indique une erreur :

/scripts/local-top/cryptroot: line 1: can't open /dev/mapper/ubuntu-root: no such file...

Puis il essaie de monter le /boot sans succès (normal vu qu'il n'apparaît plus dans /dev/mapper/ )

Le disque dur /boot n'est pas encore prêt ou présent.
Keys: Continuer à attendre, ou appuyer sur S pour ignorer le montage ou M pour le montage manuel.

En espérant qu'il y ait une personne suffisamment calée pour m'aider !


Voici mon /etc/fstab :

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/ubuntu-root /               ext4    errors=remount-ro 0       1
/dev/mapper/isw_cdecbeegid_Linux1 /boot           ext2    defaults        0       2
/dev/mapper/ubuntu-swap_1 none            swap    sw              0       0
/dev/mapper/Shugart /media/Shugart ext3 defaults 0 1

Voici mon /etc/crypttab :

isw_cdecbeegid_Linux5_crypt UUID=96cb6648-1996-4823-8a40-4bcb2de3715d none luks
Shugart UUID=2b7a3d7c-a63e-4fba-bfe6-11f2d905c5d1 none luks

Voici mon /boot/grub/grub.cfg :

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"

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
  set timeout=10
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 13,37,73; 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
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
	else
	  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
	fi
	linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
	initrd	/initrd.img-3.5.2-030502-i7
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	menuentry 'Ubuntu, avec Linux 3.5.2-030502-i7' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.2-030502-i7-advanced-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.2-030502-i7…'
		linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.2-030502-i7
	}
	menuentry 'Ubuntu, avec Linux 3.5.2-030502-i7 (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.2-030502-i7-recovery-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.2-030502-i7…'
		linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.2-030502-i7
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-16-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-16-generic-advanced-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.0-16-generic…'
		linux	/vmlinuz-3.5.0-16-generic root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-16-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-16-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-16-generic-recovery-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.0-16-generic…'
		linux	/vmlinuz-3.5.0-16-generic root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-16-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-15-generic-advanced-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.0-15-generic…'
		linux	/vmlinuz-3.5.0-15-generic root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-15-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-15-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-15-generic-recovery-3638aecc-622d-4957-88d8-3f7a7973ec9b' {
	recordfail
		insmod gzio
		insmod part_msdos
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
		else
		  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
		fi
		echo	'Chargement de Linux 3.5.0-15-generic…'
		linux	/vmlinuz-3.5.0-15-generic root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-15-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
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
	else
	  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
	fi
	linux16	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  de277a39-8920-4c4b-98bc-5d6063f76b86
	else
	  search --no-floppy --fs-uuid --set=root de277a39-8920-4c4b-98bc-5d6063f76b86
	fi
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### END /etc/grub.d/30_os-prober ###

### 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 ###

Voici le alias vers mes disques / partitions :
Corsair & SanDisk sont les 2 SSD en RAID-1 Hardware pour Ubuntu (Linux)
WDC_WD10EARX et WDC_WD10EZRX sont les 2 HD en RAID-1 Hardware pour le stockage (Shugart)

 # la /dev/disk/by-uuid
total 0
drwxr-xr-x 2 root root 160 oct.   4 09:35 .
drwxr-xr-x 6 root root 120 oct.   4 09:35 ..
lrwxrwxrwx 1 root root  10 oct.   4 09:35 2b7a3d7c-a63e-4fba-bfe6-11f2d905c5d1 -> ../../dm-5
lrwxrwxrwx 1 root root  10 oct.   4 09:36 35cd985b-d239-4c9b-9877-7f266b00dd88 -> ../../dm-9
lrwxrwxrwx 1 root root  10 oct.   4 09:35 3638aecc-622d-4957-88d8-3f7a7973ec9b -> ../../dm-7
lrwxrwxrwx 1 root root  10 oct.   4 09:35 6c753c5f-ae1c-49b7-bfc9-894346b4253b -> ../../dm-8
lrwxrwxrwx 1 root root  10 oct.   4 09:35 96cb6648-1996-4823-8a40-4bcb2de3715d -> ../../dm-4
lrwxrwxrwx 1 root root  10 oct.   4 09:35 de277a39-8920-4c4b-98bc-5d6063f76b86 -> ../../dm-2

# la /dev/disk/by-id 
total 0
drwxr-xr-x 2 root root 740 oct.   4 09:35 .
drwxr-xr-x 6 root root 120 oct.   4 09:35 ..
lrwxrwxrwx 1 root root   9 oct.   4 09:35 ata-Corsair_Force_3_SSD_1232791400001480023F -> ../../sdb
lrwxrwxrwx 1 root root   9 oct.   4 09:35 ata-SanDisk_SDSSDX120GG25_120947400863 -> ../../sda
lrwxrwxrwx 1 root root   9 oct.   4 09:35 ata-WDC_WD10EARX-22N0YB0_WD-WMC0S0912850 -> ../../sdc
lrwxrwxrwx 1 root root   9 oct.   4 09:35 ata-WDC_WD10EZRX-00A8LB0_WD-WMC1U3541179 -> ../../sdd
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_cdecbeegid_Linux -> ../../dm-1
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_cdecbeegid_Linux1 -> ../../dm-2
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_cdecbeegid_Linux2 -> ../../dm-3
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_cdecbeegid_Linux5 -> ../../dm-4
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_cdecbeegid_Linux5_crypt -> ../../dm-6
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_echffeicdi_Shugart -> ../../dm-0
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-isw_echffeicdi_Shugart1 -> ../../dm-5
lrwxrwxrwx 1 root root  10 oct.   4 09:36 dm-name-Shugart -> ../../dm-9
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-ubuntu-root -> ../../dm-7
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-name-ubuntu-swap_1 -> ../../dm-8
lrwxrwxrwx 1 root root  10 oct.   4 09:36 dm-uuid-CRYPT-LUKS1-2b7a3d7ca63e4fbabfe611f2d905c5d1-Shugart_unformatted -> ../../dm-9
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-CRYPT-LUKS1-96cb6648199648238a404bcb2de3715d-isw_cdecbeegid_Linux5_crypt -> ../../dm-6
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-DMRAID-isw_cdecbeegid_Linux -> ../../dm-1
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-DMRAID-isw_echffeicdi_Shugart -> ../../dm-0
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-LVM-9h0tSiLNgxG53uddXOkDgznEds6daXgmaVvG2WdN1zHG1LvdE2u0tVJhdRGgeAQZ -> ../../dm-7
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-LVM-9h0tSiLNgxG53uddXOkDgznEds6daXgmsfz1MXwdrkU09IdZ3o0dAzNJN6IehFGv -> ../../dm-8
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-part1-DMRAID-isw_cdecbeegid_Linux -> ../../dm-2
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-part1-DMRAID-isw_echffeicdi_Shugart -> ../../dm-5
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-part2-DMRAID-isw_cdecbeegid_Linux -> ../../dm-3
lrwxrwxrwx 1 root root  10 oct.   4 09:35 dm-uuid-part5-DMRAID-isw_cdecbeegid_Linux -> ../../dm-4
lrwxrwxrwx 1 root root   9 oct.   4 09:35 scsi-SATA_Corsair_Force_31232791400001480023F -> ../../sdb
lrwxrwxrwx 1 root root   9 oct.   4 09:35 scsi-SATA_SanDisk_SDSSDX1120947400863 -> ../../sda
lrwxrwxrwx 1 root root   9 oct.   4 09:35 scsi-SATA_WDC_WD10EARX-22_WD-WMC0S0912850 -> ../../sdc
lrwxrwxrwx 1 root root   9 oct.   4 09:35 scsi-SATA_WDC_WD10EZRX-00_WD-WMC1U3541179 -> ../../sdd
lrwxrwxrwx 1 root root   9 oct.   4 09:35 usb-Generic-_Compact_Flash_058F63626420-0:1 -> ../../sdf
lrwxrwxrwx 1 root root   9 oct.   4 09:35 usb-Generic-_MS_MS-Pro_058F63626420-0:3 -> ../../sdh
lrwxrwxrwx 1 root root   9 oct.   4 09:35 usb-Generic-_SD_MMC_058F63626420-0:0 -> ../../sde
lrwxrwxrwx 1 root root   9 oct.   4 09:35 usb-Generic-_SM_xD_Picture_058F63626420-0:2 -> ../../sdg
lrwxrwxrwx 1 root root   9 oct.   4 09:35 wwn-0x50014ee1af477921 -> ../../sdd
lrwxrwxrwx 1 root root   9 oct.   4 09:35 wwn-0x50014ee206e6e70d -> ../../sdc
lrwxrwxrwx 1 root root   9 oct.   4 09:35 wwn-0x5001b447349bdc9f -> ../../sda

 # la /dev/disk/by-path 
total 0
drwxr-xr-x 2 root root 140 oct.   4 09:35 .
drwxr-xr-x 6 root root 120 oct.   4 09:35 ..
lrwxrwxrwx 1 root root   9 oct.   4 09:35 pci-0000:00:1a.0-usb-0:1.1:1.0-scsi-0:0:0:0 -> ../../sde
lrwxrwxrwx 1 root root   9 oct.   4 09:35 pci-0000:00:1a.0-usb-0:1.1:1.0-scsi-0:0:0:1 -> ../../sdf
lrwxrwxrwx 1 root root   9 oct.   4 09:35 pci-0000:00:1a.0-usb-0:1.1:1.0-scsi-0:0:0:2 -> ../../sdg
lrwxrwxrwx 1 root root   9 oct.   4 09:35 pci-0000:00:1a.0-usb-0:1.1:1.0-scsi-0:0:0:3 -> ../../sdh
lrwxrwxrwx 1 root root   9 oct.   4 09:35 pci-0000:00:1f.2-scsi-0:0:0:0 -> ../../sdc

 # la /dev/disk/by-label 
total 0
drwxr-xr-x 2 root root  60 oct.   4 09:35 .
drwxr-xr-x 6 root root 120 oct.   4 09:35 ..
lrwxrwxrwx 1 root root  10 oct.   4 09:36 Shugart -> ../../dm-9

Merci !

EDIT:


Une autre question que je me pose, c'est est-ce normal que /dev/mapper/isw_cdecbeegid_Linux5_crypt soit la même chose que /dev/mapper/ubuntu-root ?

Dans les fichiers de config tel que /etc/fstab et notamment ceux de la séquence de boot tels que /scripts/local-top/cryptroot font référence à ubuntu-root alors que d'autres fichiers système tels que /etc/crypttab utilisent isw_cdecbeegid_Linux5_crypt (qui rajoute donc "_crypt" au nom réel de ma partition).

#13 Re : -1 »  Mon /dev/mapper/ est différent suivant le kernel booté! (bug cryptfs?) » Le 15/10/2012, à 16:14

neokod
Réponses : 1

Bonjour,

Vu par 190 geeks mais aucun n'a une petite piste ? :-/

#14 -1 »  [Abandonné]Ne peux plus démarrer après installation du kernel 3.5.0.15 » Le 29/09/2012, à 12:41

neokod
Réponses : 6

Bonjour,

Je suis sous Quantal Quetzal (version Gnome Remix) depuis quelques semaines, avec ma partition système qui a été chiffrée à
l'installation (cryptsetup).

Sous le kernel 3.5.0.14, je n'avais aucun soucis, au boot (le /boot n'est pas crypté, lui) il me demandait mon mot de passe.

Depuis j'ai fais des upgrades, et un nouveau kernel 3.5.0.15 s'est auto-installé. Sauf que si j'essaie de booter dessus,
cela ne fonctionne pas. Pas de demande de mot de passe et au bout de 30 secondes j'arrive sur le shell de BusyBox.

Je m'étais dis qu'il y avait peut-être un problème avec ce kernel, j'ai voulu installer un kernel proposer sur un blog d'un
ubunteros (juste les .deb) en kenel 3.5.2, ça n'a pas plus fonctionné, mais je pouvais encore booter sur le 3.5.0.14

Puis, en fouillant sur le net, j'ai voulu mettre MODULES=dep à la place de MODULES=most dans mon /etc/initramfs-tools/initramfs.conf
Puis j'ai lancé la commande update-grub et update-initramfs -k all -u -v

Et là... c'est le drame ! ^^

En effet, depuis je ne peux plus booter, ni même sur l'ancien kernel 3.5.0.14
(j'utilise un live USB là)

Y aurait-il un guru dans la salle pour m'aider ??

mon /etc/fstab :

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/mapper/ubuntu-root /               ext4    errors=remount-ro 0       1
/dev/mapper/isw_djdcgjf_Linux2 /boot           ext2    defaults        0       2
/dev/mapper/isw_djdcgjf_Linux1 /boot/efi       vfat    defaults        0       1
/dev/mapper/ubuntu-swap_1 none            swap    sw              0       0

( je précise que j'ai du RAID-1 hardware, d'où les /dev/mapper/isw_djdcgjf_Linux* )

mon /etc/crypttab

isw_djdcgjf_Linux3_crypt UUID=ac19f292-d227-4f55-b2e7-45623da060bf none luks

mon /etc/initramfs-tools/initramfs.conf

#
# initramfs.conf
# Configuration file for mkinitramfs(8). See initramfs.conf(5).
#
# Note that configuration options from this file can be overridden
# by config files in the /etc/initramfs-tools/conf.d directory.

#
# MODULES: [ most | netboot | dep | list ]
#
# most - Add most filesystem and all harddrive drivers.
#
# dep - Try and guess which modules to load.
#
# netboot - Add the base modules, network modules, but skip block devices.
#
# list - Only include modules from the 'additional modules' list
#

MODULES=most

#
# BUSYBOX: [ y | n ]
#
# Use busybox if available.
#

BUSYBOX=y

#
# COMPCACHE_SIZE: [ "x K" | "x M" | "x G" | "x %" ]
#
# Amount of RAM to use for RAM-based compressed swap space.
#
# An empty value - compcache isn't used, or added to the initramfs at all.
# An integer and K (e.g. 65536 K) - use a number of kilobytes.
# An integer and M (e.g. 256 M) - use a number of megabytes.
# An integer and G (e.g. 1 G) - use a number of gigabytes.
# An integer and % (e.g. 50 %) - use a percentage of the amount of RAM.
#
# You can optionally install the compcache package to configure this setting
# via debconf and have userspace scripts to load and unload compcache.
# 

COMPCACHE_SIZE=""

#
# COMPRESS: [ gzip | bzip2 | lzma | lzop | xz ]
#

COMPRESS=gzip

#
# NFS Section of the config.
#

#
# BOOT: [ local | nfs ]
#
# local - Boot off of local media (harddrive, USB stick).
#
# nfs - Boot using an NFS drive as the root of the drive.
#

BOOT=local

#
# DEVICE: ...
#
# Specify a specific network interface, like eth0
# Overridden by optional ip= bootarg
#

DEVICE=

#
# NFSROOT: [ auto | HOST:MOUNT ]
#

NFSROOT=auto

mon /boot/grub/grub.cfg

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"

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
  set timeout=10
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; 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
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
	else
	  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
	fi
	linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
	initrd	/initrd.img-3.5.2-030502-i7
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	menuentry 'Ubuntu, avec Linux 3.5.2-030502-i7' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.2-030502-i7-advanced-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.2-030502-i7…'
		linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.2-030502-i7
	}
	menuentry 'Ubuntu, avec Linux 3.5.2-030502-i7 (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.2-030502-i7-recovery-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.2-030502-i7…'
		linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.2-030502-i7
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-15-generic-advanced-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.0-15-generic…'
		linux	/vmlinuz-3.5.0-15-generic root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-15-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-15-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-15-generic-recovery-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.0-15-generic…'
		linux	/vmlinuz-3.5.0-15-generic root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-15-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-14-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-14-generic-advanced-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.0-14-generic…'
		linux	/vmlinuz-3.5.0-14-generic root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-14-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-14-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-14-generic-recovery-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.0-14-generic…'
		linux	/vmlinuz-3.5.0-14-generic root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-14-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_gpt
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
	else
	  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
	fi
	linux16	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_gpt
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
	else
	  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
	fi
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### END /etc/grub.d/30_os-prober ###

### 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 ###
#
# 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
set default="0"

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
  set timeout=10
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; 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
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
	else
	  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
	fi
	linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
	initrd	/initrd.img-3.5.2-030502-i7
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	menuentry 'Ubuntu, avec Linux 3.5.2-030502-i7' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.2-030502-i7-advanced-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.2-030502-i7…'
		linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.2-030502-i7
	}
	menuentry 'Ubuntu, avec Linux 3.5.2-030502-i7 (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.2-030502-i7-recovery-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.2-030502-i7…'
		linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.2-030502-i7
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-15-generic-advanced-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.0-15-generic…'
		linux	/vmlinuz-3.5.0-15-generic root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-15-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-15-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-15-generic-recovery-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.0-15-generic…'
		linux	/vmlinuz-3.5.0-15-generic root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-15-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-14-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-14-generic-advanced-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.0-14-generic…'
		linux	/vmlinuz-3.5.0-14-generic root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-14-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-14-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-14-generic-recovery-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.0-14-generic…'
		linux	/vmlinuz-3.5.0-14-generic root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-14-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_gpt
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
	else
	  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
	fi
	linux16	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_gpt
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
	else
	  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
	fi
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### END /etc/grub.d/30_os-prober ###

### 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 ###
#
# 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
set default="0"

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
  set timeout=10
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; 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
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
recordfail
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
	else
	  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
	fi
	linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
	initrd	/initrd.img-3.5.2-030502-i7
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	menuentry 'Ubuntu, avec Linux 3.5.2-030502-i7' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.2-030502-i7-advanced-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.2-030502-i7…'
		linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.2-030502-i7
	}
	menuentry 'Ubuntu, avec Linux 3.5.2-030502-i7 (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.2-030502-i7-recovery-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.2-030502-i7…'
		linux	/vmlinuz-3.5.2-030502-i7 root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.2-030502-i7
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-15-generic-advanced-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.0-15-generic…'
		linux	/vmlinuz-3.5.0-15-generic root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-15-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-15-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-15-generic-recovery-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.0-15-generic…'
		linux	/vmlinuz-3.5.0-15-generic root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-15-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-14-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-14-generic-advanced-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.0-14-generic…'
		linux	/vmlinuz-3.5.0-14-generic root=/dev/mapper/ubuntu-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-14-generic
	}
	menuentry 'Ubuntu, avec Linux 3.5.0-14-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-14-generic-recovery-09c3eb3d-decd-41d5-b9c5-e9a29bf86ca5' {
	recordfail
		insmod gzio
		insmod part_gpt
		insmod ext2
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
		else
		  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
		fi
		echo	'Chargement de Linux 3.5.0-14-generic…'
		linux	/vmlinuz-3.5.0-14-generic root=/dev/mapper/ubuntu-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.5.0-14-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_gpt
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
	else
	  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
	fi
	linux16	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_gpt
	insmod ext2
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  e52985d4-2b0c-4840-860d-ea588cde4b3e
	else
	  search --no-floppy --fs-uuid --set=root e52985d4-2b0c-4840-860d-ea588cde4b3e
	fi
	linux16	/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### END /etc/grub.d/30_os-prober ###

### 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 ###

Et surtout, à partir d'un live CD, je n'arrive pas à re-lancer les commandes update-grub ou update-initramfs
Il y a sans doute un chroot à faire, avant de lancer mes commandes, mais pour ça il faudrait que j'arrive à monter
mes partitions aux bons endroits.

Bref, je ne sais pas comment à partir d'un live CD, je peux monter correctement mes partitions, pour ensuite
effectuer un chroot, et pouvoir tenter de réparer ma config grub/initramfs pour à nouveau avoir l'invite de saisie
de mot de passe ( cryptsetup luksOpen /dev/mapper/isw_djdcgjf_Linux3_crypt ubuntu-root )

Merci d'avance pour avoir pris le temps de lire mon problème, en espérant qu'il y ai une personne assez calée pour m'aider ! smile

#15 Re : -1 »  [Abandonné]Ne peux plus démarrer après installation du kernel 3.5.0.15 » Le 30/09/2012, à 17:53

neokod
Réponses : 6

Bonjour !

Merci pour vos réponse, j'arrive à faire un chroot mais par contre, le soucis ne semble pas être avec Grub mais avec initramfs,
sans doute un module qui manque pour prendre en compte le chiffrage réalisé avec cryptsetup.

J'ai tenté d'ajouter dans mon /etc/inittramfs-tools/modules les lignes :

dm_crypt
dm-crypt
cryptd

puis de lancer un update-initramfs -k all -u -v

sauf que ça ne change absolument rien.

Il y a sans doute un module à lui préciser ou quelque chose à ajouter dans /scripts/init-premount ou /scripts/local_top

Une idée ?

#16 Re : -1 »  [Abandonné]Ne peux plus démarrer après installation du kernel 3.5.0.15 » Le 01/10/2012, à 09:18

neokod
Réponses : 6

Bon, j'ai avancé mais toujours bloqué quand même !

Le module part_gpt était loadé à la place de part_msdos (ma table des partitions est au format msdos et non GPT) et le nom de la partition a été remplacé par ubuntu-root maintenant (alors qu'avant c'était <nom_partition>_crypt

Maintenant il me demande le mot de passe pour ubuntu-root, mais une fois mis, il me dit "lvm fs found but not lvm configured" ... sauf que j'ai jamais demandé à avoir de volume lvm à l'install !

Bref... je pense que je vais réinstaller le système, en utilisant lvm cette fois-ci, puis j'importerai ma liste de packets et recopierai mes fichiers... c'est galère mais je ne vois pas d'autre solution !

[EDIT: Abandonné - j'ai tout réinstallé]

#17 -1 »  [Résolu] Créer une copie de ma séquence de boot sur une clé USB » Le 01/10/2012, à 16:20

neokod
Réponses : 3

Bonjour,

Suite à pas mal de galères, j'aimerais avoir une clef USB de secours qui pourrait booter sur mon disque dur interne.

L'idée est que même si mon MBR est écrasé, que je puisse avec cette clef booter malgré tout sous ma machine.

En sachant que, j'ai un système LVM chiffré (cryptsetup).

C'est un chiffrage réalisé par Ubuntu lors de l'installation (Ubuntu Gnome Remix / Quantal Quetzal beta 1)

Techniquement, j'ai mon /dev/sda partitionné comme suit :
/dev/sda1 => /boot (ext2, à peine 250 Mo)
/dev/sda2 => partition étendue comprenant :
/dev/sda5 => / (crypt-luks)

Peut-être existe t-il un logiciel qui sait faire ça ?

Merci pour votre aide :-)

#18 Re : -1 »  [Résolu] Créer une copie de ma séquence de boot sur une clé USB » Le 02/10/2012, à 10:48

neokod
Réponses : 3

Bonjour MicP,

Merci pour ton aide, cependant ça ne fonctionne pas :

 # grub-install /dev/sdi
source_dir n'existe pas. Veuillez utiliser --target ou --directory
 # grub-install -v 
grub-install (GRUB) 2.00-7ubuntu1

D'après la page man :

       --target=TARGET
              install GRUB for TARGET platform [default=current]

       --directory=DIR
              use GRUB images from DIR. Takes precedence over target


Pour --target, qu'entendent-ils par "platform", est-ce amd64 / x86 ?

Et pour --directory, c'est peut-être le dossier source à copier, donc mon /boot sur mon système actuel ? (je ne voudrais pas écraser mon existant!)

Merci d'avance pour tes éclaircissements

#19 Re : -1 »  [Résolu] Créer une copie de ma séquence de boot sur une clé USB » Le 02/10/2012, à 12:49

neokod
Réponses : 3

Bonjour Cep,

Ça fonctionne parfaitement !

Pour ceux qui seraient intéressés, pour mettre l'iso sur la clef usb il suffit de faire

sudo dd if=grub.iso of=/dev/sdX

(où 'sdX' est votre clef usb)

Merci Cep !

#21 Re : -1 »  Vos conseils d'achat pour une machine puissante compatible Ubuntu ? » Le 05/09/2012, à 17:56

neokod
Réponses : 9

Voici à vu de nez ce que j'ai trouvé :

150 € - Barebone Asus V7-P8H67E
160 € - Intel Core i5 3450 - 4 x 3.1Ghz
140 € - 16 Go DDR3-1333 (en 2 x 8 Go)
240 € - 3 x HD Hitachi 7K1000 1Go SATA-3
250 € - nVidia GTX 560 Ti
130 € - Écran 21" Full HD

1070 € environ

Concernant la carte graphique, je ne suis pas du tout un gamer, la seule chose que j'aimerais que la carte sache faire, c'est bien décoder les vidéos HD pour que le montage vidéo ne prenne pas 100% du CPU.
Est-ce qu'une GTX 550 Ti n'est pas suffisant (environ 120 € au lieu de 250 €) ?

Et au niveau des drivers, il n'y a pas de mauvaises surprises avec ces 2 cartes graphiques ? (outre le fait que les drivers ne sont pas libres...)

Merci d'avance pour votre aide.

#23 Re : -1 »  Vos conseils d'achat pour une machine puissante compatible Ubuntu ? » Le 01/10/2012, à 16:06

neokod
Réponses : 9

Encore merci pour vos précisions :-)

ça fait quelques semaines que je tourne sur une H77 Express / i5 3450S / 16 Go de RAM et sans carte graphique.

En effet, comme le disais Linoll, le chipset graphique est très bien supporté.

#24 -1 »  Clavier bluetooth non accessible » Le 13/09/2012, à 20:37

neokod
Réponses : 0

Bonjour,

Je viens d'acheter le clavier "Microsoft Wedge Mobile Keyboard".
Le scan bluetooth détecte bien le clavier.

Mais si j'essaie de m'y connecter, il me dit de saisir un nombre généré aléatoirement puis de valider sur entrée.
Avec ma machine sous Precise, ça fonctionne, mais pas avec la machine sous Quantal.

Votre aide serait la bienvenue smile