<juggling-ape@...> writes: > > Hi there! > > I have a little problem with encrypting my HD with luks/dm-crypt.. > > After "cryptsetup -c aes-cbc-essiv:sha256 -y -s 256 luksFormat /dev/hdb3" > and entering the passphrase, I get this: > > ---- > Unable to obtain sector size for /dev/hdb3 > Failed to setup dm-crypt key mapping. > Check kernel for support for the aes-cbc-essiv:sha256 cipher spec and > verify that hdb3 contains at least 258 sectors. > Failed to write to key storage. > ---- same here # cryptsetup luksFormat /def/sda4 WARNING! ======== This will overwrite data on /def/sda4 irrevocably. Are you sure? (Type uppercase yes): YES Enter LUKS passphrase: Verify passphrase: Unable to obtain sector size for /def/sda4Failed to setup dm-crypt key mapping. Check kernel for support for the aes-cbc-essiv:sha256 cipher spec and verify that /def/sda4 contains at least 133 sectors. Failed to write to key storage. Command failed. ------------- sd4 is not mounted i loaded the module dm-mod dm-crypt aes aes-i586 sha256 sha512 the hard disk is a MyBook Pro 500 GB external connected through USB 2.0 the other 3 primary partition works without a prob.. this: http://www.wdc.com/en/products/Products.asp?DriveID=242 here the fdisk.. Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 42 337333+ c W95 FAT32 (LBA) /dev/sda2 43 26593 213270907+ 83 Linux /dev/sda3 30422 60801 244027350 b W95 FAT32 /dev/sda4 26594 30421 30748410 83 Linux <---- this any hint? --------------------------------------------------------------------- dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/ To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx For additional commands, e-mail: dm-crypt-help@xxxxxxxx