Sunday, July 8

How to Create an Encrypted Partition


How to Create an Encrypted Partition

Case I:--

In GUI Mode:

1)    Go To Application
2)    System Tool
3)    Disk Utility
4)    Select HDD --------à Select Free Space ------à Create Partition -----à Give Size
5)    Have To Check on encrypted underline device option
6)    Then Click Create then give Passphrase(Password)
7)    Then Create


Case II:--

In CLI Mode:

1.    Create new Partition
2.    Luksformat (Encrypt) this parttion by: #cryptsetup luksFormat /dev/sdaX
3.    Open Partition by: #cryptsetup luksOpen /dev/sdaX name
Note: name is used to store the information of partition in /dev/mapper for eq: if you use #cryptsetup luksOpen /dev/sdaX part1 then your partition must be /dev/mapper/part1
4.    Format partition by: #mkfs.ext3 /dev/mapper/name
5.    Mount Partition
6.    To Lock Partition follow two steps
·         First unmount partition by #umount
·         The close parttion by: #cryptsetup luksClose /dev/mapper/name

No comments:

Post a Comment