Guest User

LUKS

a guest
Nov 17th, 2012
70
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apt-get install cryptsetup-luks
  2. modprobe dm_mod
  3. ********************************
  4. fdisk -l /dev/sdb
  5. mount
  6. mount | grep sdb1
  7. umount /dev/sdb1
  8. cryptsetup
  9. cryptsetup create stick /dev/sdb1
  10. ls /dev/mapper/stick
  11. cryptsetup remove stick
  12. ls /dev/mapper/stick
  13. cryptsetup luksFormat /dev/sdb1
  14. pmount /dev/sdb1
  15. apt-get install pmount
  16. pmount /dev/sdb1
  17. cryptsetup luksOpen /dev/sdc1 stick
  18. mkfs.vfat /dev/mapper/stick
  19. cryptsetup luksClose stick
  20. ls /dev/mapper/stick
  21. pmount /dev/sdc1
  22. mount
  23. cd /media/6BDA-9288
  24. ls
  25. dd if=/dev/zero of=/media/6BDA-9288/zero
  26. dd if=/dev/zero of=/media/6BDA-9288/zero2
RAW Paste Data