Contenu | Rechercher | Menus

Annonce

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

À propos de l'équipe du forum.

#1 Le 06/12/2013, à 15:01

malbo

[Résolu] installation chiffrée de Ubuntu 13.10

J'ai mis "Résolu" dans le titre parce que je n'attends pas d'aide : je voulais juste tester la chose et laisser quelques traces de ce test.
Les conditions : essai en simulation avec VMware player. Installation en mode EFI sur disque dur ayant une table de partition GPT avec un liveCD (virtuel) de Ubuntu 13.10 64bits.
Choix à l'installation :
mini_957282Capturedu20131206113626.png
Il faut cocher la case "Chiffrer...". Le fait ce cocher cette case entraîne que la case Utiliser LVM est cochée automatiquement  :
mini_331539Capturedu20131206113757.png
A noter : on ne peut cocher cette case "Chiffrer..." que si "Effacer le disque et installer Ubuntu" est sélectionné. Si c'est "Autre chose" qui est sélectionné, la case "Chiffrer..." est grisée (on ne peut pas la cocher) 
Voilà ce que ça donne après installation (avec l'application "disk") :
902801Capturedu20131206123335.png

Et un rapport Boot-Info créé depuis une session live de Ubuntu :

 Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 6Nov2013]


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

 => Windows 7/8/2012 is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  According to the info in the boot sector, sda1 starts 
                       at sector 0. But according to the info from fdisk, 
                       sda1 starts at sector 2048.
    Operating System:  
    Boot files:        /EFI/ubuntu/MokManager.efi /EFI/ubuntu/grubx64.efi 
                       /EFI/ubuntu/shimx64.efi

sda2: __________________________________________________________________________

    File system:       ext2
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        /grub/grub.cfg

sda3: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 64.4 GB, 64424509440 bytes
255 heads, 63 sectors/track, 7832 cylinders, total 125829120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1                   1   125,829,119   125,829,119  ee GPT


GUID Partition Table detected.

Partition    Start Sector    End Sector  # of Sectors System
/dev/sda1           2,048       999,423       997,376 EFI System partition
/dev/sda2         999,424     1,499,135       499,712 Data partition (Linux)
/dev/sda3       1,499,136   125,827,071   124,327,936 Data partition (Linux)

"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        9A5E-FA5F                              vfat       
/dev/sda2        959b53a7-1b3b-42fd-af70-7b846db15af7   ext2       
/dev/sda3        a34442e8-0bec-4ed1-98ff-8aefc36dfe6f   crypto_LUKS 
/dev/sr0                                                iso9660    Ubuntu 13.10 amd64

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

Device           Mount_Point              Type       Options

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


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

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

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
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 [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  959b53a7-1b3b-42fd-af70-7b846db15af7
else
  search --no-floppy --fs-uuid --set=root 959b53a7-1b3b-42fd-af70-7b846db15af7
fi
    font="/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=fr_FR
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
  set timeout=-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
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-eb653448-ef58-4be9-a690-2c9b862ac19f' {
recordfail
	load_video
	gfxmode $linux_gfx_mode
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  959b53a7-1b3b-42fd-af70-7b846db15af7
	else
	  search --no-floppy --fs-uuid --set=root 959b53a7-1b3b-42fd-af70-7b846db15af7
	fi
	linux	/vmlinuz-3.11.0-14-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro   quiet splash $vt_handoff
	initrd	/initrd.img-3.11.0-14-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-eb653448-ef58-4be9-a690-2c9b862ac19f' {
	menuentry 'Ubuntu, avec Linux 3.11.0-14-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-14-generic-advanced-eb653448-ef58-4be9-a690-2c9b862ac19f' {
	recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  959b53a7-1b3b-42fd-af70-7b846db15af7
		else
		  search --no-floppy --fs-uuid --set=root 959b53a7-1b3b-42fd-af70-7b846db15af7
		fi
		echo	'Chargement de Linux 3.11.0-14-generic…'
		linux	/vmlinuz-3.11.0-14-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.11.0-14-generic
	}
	menuentry 'Ubuntu, avec Linux 3.11.0-14-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-14-generic-recovery-eb653448-ef58-4be9-a690-2c9b862ac19f' {
	recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  959b53a7-1b3b-42fd-af70-7b846db15af7
		else
		  search --no-floppy --fs-uuid --set=root 959b53a7-1b3b-42fd-af70-7b846db15af7
		fi
		echo	'Chargement de Linux 3.11.0-14-generic…'
		linux	/vmlinuz-3.11.0-14-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.11.0-14-generic
	}
	menuentry 'Ubuntu, avec Linux 3.11.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-12-generic-advanced-eb653448-ef58-4be9-a690-2c9b862ac19f' {
	recordfail
		load_video
		gfxmode $linux_gfx_mode
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  959b53a7-1b3b-42fd-af70-7b846db15af7
		else
		  search --no-floppy --fs-uuid --set=root 959b53a7-1b3b-42fd-af70-7b846db15af7
		fi
		echo	'Chargement de Linux 3.11.0-12-generic…'
		linux	/vmlinuz-3.11.0-12-generic root=/dev/mapper/ubuntu--vg-root ro   quiet splash $vt_handoff
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.11.0-12-generic
	}
	menuentry 'Ubuntu, avec Linux 3.11.0-12-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-12-generic-recovery-eb653448-ef58-4be9-a690-2c9b862ac19f' {
	recordfail
		load_video
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  959b53a7-1b3b-42fd-af70-7b846db15af7
		else
		  search --no-floppy --fs-uuid --set=root 959b53a7-1b3b-42fd-af70-7b846db15af7
		fi
		echo	'Chargement de Linux 3.11.0-12-generic…'
		linux	/vmlinuz-3.11.0-12-generic root=/dev/mapper/ubuntu--vg-root ro recovery nomodeset 
		echo	'Chargement du disque mémoire initial…'
		initrd	/initrd.img-3.11.0-12-generic
	}
}

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

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

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

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
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/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 ###
--------------------------------------------------------------------------------

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

           GiB - GB             File                                 Fragment(s)


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

Unknown BootLoader on sda3

00000000  4c 55 4b 53 ba be 00 01  61 65 73 00 00 00 00 00  |LUKS....aes.....|
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000020  00 00 00 00 00 00 00 00  78 74 73 2d 70 6c 61 69  |........xts-plai|
00000030  6e 36 34 00 00 00 00 00  00 00 00 00 00 00 00 00  |n64.............|
00000040  00 00 00 00 00 00 00 00  73 68 61 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  f2 80 36 12 cb a3 76 1a  df d1 69 c5 40 7e 31 d2  |..6...v...i.@~1.|
00000080  2b 73 8b 65 5f 04 6e 77  11 19 52 5e f1 a3 5e 8d  |+s.e_.nw..R^..^.|
00000090  be f0 9d ea 4c fa 3d 37  71 b6 e9 1c 1b 51 36 ba  |....L.=7q....Q6.|
000000a0  69 1e 6a 8f 00 00 9c 40  61 33 34 34 34 32 65 38  |i.j....@a34442e8|
000000b0  2d 30 62 65 63 2d 34 65  64 31 2d 39 38 66 66 2d  |-0bec-4ed1-98ff-|
000000c0  38 61 65 66 63 33 36 64  66 65 36 66 00 00 00 00  |8aefc36dfe6f....|
000000d0  00 ac 71 f3 00 02 72 56  37 f2 80 ed 64 86 66 02  |..q...rV7...d.f.|
000000e0  5b 83 bc 06 2f 79 ed ef  31 fc c0 9e f1 d5 02 20  |[.../y..1...... |
000000f0  ae 57 81 48 62 df 53 5a  00 00 00 08 00 00 0f a0  |.W.Hb.SZ........|
00000100  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000110  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000120  00 00 00 00 00 00 00 00  00 00 02 00 00 00 0f a0  |................|
00000130  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000150  00 00 00 00 00 00 00 00  00 00 03 f8 00 00 0f a0  |................|
00000160  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000170  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000180  00 00 00 00 00 00 00 00  00 00 05 f0 00 00 0f a0  |................|
00000190  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001b0  00 00 00 00 00 00 00 00  00 00 07 e8 00 00 0f a0  |................|
000001c0  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001e0  00 00 00 00 00 00 00 00  00 00 09 e0 00 00 0f a0  |................|
000001f0  00 00 de ad 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000200


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

cat: /tmp/BootInfo-5sgxUALX/Tmp_Log: No such file or directory
File descriptor 9 (/proc/4069/mounts) leaked on lvscan invocation. Parent PID 10174: bash
  No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-repair 2013-12-06__11h41 ===================
boot-repair version : 3.199~ppa38~saucy
boot-sav version : 3.199~ppa38~saucy
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 3.199~ppa38~saucy
boot-repair is executed in live-session (Ubuntu 13.10, saucy, Ubuntu, x86_64)
ls: cannot access /home/usr/.config: No such file or directory
CPU op-mode(s):        32-bit, 64-bit
BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
mount: unknown filesystem type 'crypto_LUKS'
mount /dev/sda3 : Error code 32
mount -r /dev/sda3 /mnt/boot-sav/sda3
mount: unknown filesystem type 'crypto_LUKS'
mount -r /dev/sda3 : Error code 32

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


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


=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sr0: LABEL="Ubuntu 13.10 amd64" TYPE="iso9660"
/dev/sda1: UUID="9A5E-FA5F" TYPE="vfat"
/dev/sda2: UUID="959b53a7-1b3b-42fd-af70-7b846db15af7" TYPE="ext2"
/dev/sda3: UUID="a34442e8-0bec-4ed1-98ff-8aefc36dfe6f" TYPE="crypto_LUKS"

mount: unknown filesystem type 'crypto_LUKS'
mount /dev/sda3 : Error code 32
mount -r /dev/sda3 /mnt/boot-sav/sda3
mount: unknown filesystem type 'crypto_LUKS'
mount -r /dev/sda3 : Error code 32

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


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


=================== sda2recordfail=1/grub/grubenv :
recordfail=1



ls /sys/firmware/efi/vars : RTC-378d7b65-8da9-4773-b6e4-a47826a833e1,PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c,new_var,MTC-eb704011-1402-11d3-8e77-00a0c969723b,MemoryTypeInformation-4c19049f-4137-4dd3-9c10-8b97a83ffdfa,LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c,Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c,HDDP-fab7e9e1-39dd-4f2b-8408-e20e906cb6de,del_var,ConsoleOutMode-793d9786-44dc-4709-b57f-85b8e8fdbfd2,ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c,ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c,BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0007-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0005-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0004-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0003-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c,Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c,
Please report this message to boot.repair@gmail.com
=================== UEFI/Legacy mode:
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot maybe enabled. (maybe sec-boot, Please report this message to boot.repair@gmail.com)


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

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


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

Model: VMware, VMware Virtual S (scsi)
Disk /dev/sda: 64.4GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name  Flags
1      1049kB  512MB   511MB   fat32              boot
2      512MB   768MB   256MB   ext2
3      768MB   64.4GB  63.7GB



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

                                                                          
Error: Can't have a partition outside the disk!

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

BYT;
/dev/sda:64.4GB:scsi:512:512:gpt:VMware, VMware Virtual S;
1:1049kB:512MB:511MB:fat32::boot;
2:512MB:768MB:256MB:ext2::;
3:768MB:64.4GB:63.7GB:::;


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

                                                                          
Error: Can't have a partition outside the disk!


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


=================== ls:
/sys/block/fd0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered):  agpgart autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency disk dri ecryptfs fb0 fd fd0 full fuse hidraw0 hidraw1 hidraw2 hpet input kmsg log lp0 mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uinput urandom vga_arbiter vhost-net vmci zero
ls /dev/mapper:  control
ls /mnt/boot-sav/sda1/1:

=================== hexdump -n512 -C /dev/sda1
00000000  eb 58 90 6d 6b 64 6f 73  66 73 00 00 02 08 20 00  |.X.mkdosfs.... .|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 00 00 00  |........?.......|
00000020  00 38 0f 00 d0 03 00 00  00 00 00 00 02 00 00 00  |.8..............|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  00 01 29 5f fa 5e 9a 4e  4f 20 4e 41 4d 45 20 20  |..)_.^.NO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 0e 1f be 77 7c ac  |  FAT32   ...w|.|
00000060  22 c0 74 0b 56 b4 0e bb  07 00 cd 10 5e eb f0 32  |".t.V.......^..2|
00000070  e4 cd 16 cd 19 eb fe 54  68 69 73 20 69 73 20 6e  |.......This is n|
00000080  6f 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 64 69  |ot a bootable di|
00000090  73 6b 2e 20 20 50 6c 65  61 73 65 20 69 6e 73 65  |sk.  Please inse|
000000a0  72 74 20 61 20 62 6f 6f  74 61 62 6c 65 20 66 6c  |rt a bootable fl|
000000b0  6f 70 70 79 20 61 6e 64  0d 0a 70 72 65 73 73 20  |oppy and..press |
000000c0  61 6e 79 20 6b 65 79 20  74 6f 20 74 72 79 20 61  |any key to try a|
000000d0  67 61 69 6e 20 2e 2e 2e  20 0d 0a 00 00 00 00 00  |gain ... .......|
000000e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200
ls /mnt/boot-sav/sda2/1:
ls /mnt/boot-sav/sda2: abi-3.11.0-12-generic
abi-3.11.0-14-generic
config-3.11.0-12-generic
config-3.11.0-14-generic
efi
grub
initrd.img-3.11.0-12-generic
initrd.img-3.11.0-14-generic
lost+found
memtest86+.bin
memtest86+_multiboot.bin
System.map-3.11.0-12-generic
System.map-3.11.0-14-generic
vmlinuz-3.11.0-12-generic
vmlinuz-3.11.0-14-generic
vmlinuz-3.11.0-14-generic.efi.signed  . Please report this message to boot.repair@gmail.com

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


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

Filesystem     Type       Size  Used Avail Use% Mounted on
/cow           overlayfs  497M  103M  394M  21% /
udev           devtmpfs   487M   12K  487M   1% /dev
tmpfs          tmpfs      100M  1.4M   98M   2% /run
/dev/sr0       iso9660    883M  883M     0 100% /cdrom
/dev/loop0     squashfs   843M  843M     0 100% /rofs
none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs      497M   36K  497M   1% /tmp
none           tmpfs      5.0M     0  5.0M   0% /run/lock
none           tmpfs      497M   80K  497M   1% /run/shm
none           tmpfs      100M   44K  100M   1% /run/user
/dev/sda1      vfat       487M  3.3M  483M   1% /mnt/boot-sav/sda1
/dev/sda2      ext2       237M   86M  139M  38% /mnt/boot-sav/sda2

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

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

Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1   125829119    62914559+  ee  GPT


No OS or WinEFI system
EFI detected. Please check the options.
/boot detected. Please check the options.

=================== Default settings
Recommended-Repair
This setting would not act on the MBR.
Additional repair would be performed:  repair-filesystems

=================== Settings chosen by the user
Boot-Info
This setting will not act on the MBR.



No change has been performed on your computer.

On peut y voir que la partition sda3 dans laquelle se trouve Ubuntu n'est pas "montable". Normal puisqu'elle est chiffrée. Mon but est de monter l'allure d'une telle installation pour pouvoir mieux l'identifier si j'en rencontre sur le forum.

Dernière modification par malbo (Le 06/12/2013, à 16:16)

Hors ligne