Léa-Linux & amis :   LinuxFR   GCU-Squad   GNU
monter une partition encryptee
Envoyé par: moebus

bonjour,
je cherche a monter une partition encryptee par LUKS

j'ai fait:

debian:/home/moebus# cryptsetup luksOpen /dev/hda2 VolGroup00
Enter LUKS passphrase:
key slot 0 unlocked.
Command successful.


mais je n'arrive pas a monter la partition correspondante avec mount

j'ai l'impression que l'on peut monter la partition avec gnome-mount mais je ne comprends pas comment (j ai essaye plusieur commande sans succes)

quelqu' un a t il une idee?

Poste le Monday 1 September 2008 19:33:37
Répondre     Citer    
Re: monter une partition encryptee
Envoyé par: moebus

j'ai finalement trouvé la solution sur la page suivante :
[www.ubuntugeek.com]

================
This tutorial is for people who have encrypted their main volumes of their hard drives using the method offered by the Alternate CD installer.

First you need to Boot into a Live CD environment and open up a terminal window. (applications–>accessories—>terminal)

Install required packages using the following command

sudo apt-get install lvm2 cryptsetup

probe required module using the following command

sudo modprobe dm-crypt

setup the crypto module to recognise the partition

sudo cryptsetup luksOpen /dev/hda2 VolGroup00

Enter your passphrase. You should get the following message:

key slot 0 unlocked.
Command successful.
If not, something has gone wrong.

Scan for volume groups

sudo vgscan --mknodes
sudo vgchange -ay

REMEMBER the name of the volume group, as you will need it later.

mount the encrypted volume

sudo mount /dev/VolGroup00/LogVol00 /mnt

The volume is mounted, now you can chroot or whatever else you need to do. If you would like to open the gnome file manager for writing to it issue the following command:

sudo nautilus /mnt

Poste le Tuesday 2 September 2008 01:46:29
Répondre     Citer    

Veuillez vous authentifier auparavant pour commenter.

 

Ce forum !
monter une partition encryptee
Un problème avec une commande du shell ? Comment utiliser la crontab ? Vous avez des soucis pour la gestion réseau sous Linux ? Pour vous la gestion des utilisateurs/groupes est du chinois ? Etc... Posez donc vos questions ici.

Sauf mention contraire, les documentations publiées sont sous licence Creative-Commons