A script which simplifies hardrive encryption using LUKS
The intention of this script is to provide a facility to easily create an encrypted hard drive or on a storage medium such as an SD card or USB stick.
I wrote the script because I found myself a lot of time typing inn all the necessary commands to encrypt a drive in a Linux system.
Note: This is script is only suitable to be used by experienced users. It will happily erase and nuke any drive you select. Please understand that you must pay careful attention to which drive you use this script on. It should be an empty internal harddrive, usb stick or an external drive.
Ths script will:
1. write random data all over the drive for added security
2. generate a 512bit keyfile with random data
3. write an encrypted partition to the drive
4. create an linux ext4 filesystem on the drive
Be the first to post a review of luksus!