Unlock Encrypted USB Disk on Ubuntu

Forrest Sheng Bao http://forrest.bao.googlepages.com

Ubuntu is an awesome Linux distribution. I encrypted my mobile hard drive by dm-crypt. Now when I plug it onto my USB port, it will automatically prompt me to input the passphrase. After that, I can visit this hard drive through Nautilus, the File Manager of GNOME desktop environment.



You can also seen these mapped device here:
forrest@narnia:~$ ls /dev/mapper/ -al
total 0
drwxr-xr-x 2 root root 160 2007-10-13 09:54 .
drwxr-xr-x 13 root root 14160 2007-10-13 09:54 ..
brw-rw---- 1 root disk 254, 1 2007-10-12 19:10 bakcup
crw-rw---- 1 root root 10, 63 2007-10-12 19:05 control
brw-rw---- 1 root disk 254, 0 2007-10-12 19:05 forrest
brw-rw---- 1 root disk 254, 2 2007-10-13 09:54 luks_crypto_04c324ba-4352-40a2-a688-0c31baccdd78
brw-rw---- 1 root disk 254, 3 2007-10-13 09:54 temporary-cryptsetup-28888
brw-rw---- 1 root disk 254, 4 2007-10-13 09:54 temporary-cryptsetup-29308

No comments: