Deutsch English Français
Your feedback:
Did you like this page? vote3 Yes
vote2 Partly
vote1 No
Your comment?

Add your email address, if you want to get a response

Your name, if you like

Do not change this:
Feedback
Search

2004-09-29

Linux Encrypted Partitions with dm-crypt

LinuxComputer
Possible problems:
  • popt version too old:
    cryptsetup.c:203: POPT_ARGFLAG_SHOW_DEFAULT undeclared (first use in this function)

HOWTO:
  • modprobe dm_crypt aes
  • cryptsetup -y create firsttest /dev/hdXXX
  • dmsetup ls
  • mkfs.ext3 /dev/mapper/firsttest
  • mount /dev/mapper/firsttest /mnt/
  • /etc/crypttab:
    firsttest /dev/hdXXX

Encrypt swap:
/etc/crypttab:
myswap /dev/hda3 /dev/random swap

Links:

Speed (bonnie++):
ext2:
1G,17583,98,43765,12,16534,5,14910,87,39132,8,168.7,0,16,5098,99,+++++,+++,+++++,+++,5014,99,+++++,+++,14624,100
aes-i586 ext2:
1G,12698,70,43371,31,10184,2,11435,67,26933,2,183.1,0,16,5007,99,+++++,+++,+++++,+++,5024,99,+++++,+++,14883,100
03-10-2004 23.48
Powered by PHP Created with Xemacs Valid rss 2.0! Valid XHTML 1.0! Valid CSS!