Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
set -e
install_dependencies() {
if which yum &>/dev/null; then
sudo yum install -y cifs-utils
else
echo WARNING: cifs-utils not installed
fi
}
@LLParse
LLParse / make_big_truecrypt.sh
Created March 26, 2024 05:48
Create Truecrypt Hidden Volumes >2TB Limit (20TB tested)
#!/bin/bash
#The linux version of truecrypt_7.1a disallows the creation of hidden volumes that are >2TB.
#There is a technical workaround that will allow you to create very large hidden volumes.
set -e
lsblk
# IMPORTANT: Set your device correctly, you will lose all data on the device.
read -p 'Select device to encrypt, must be unmounted (ex: /dev/sdb): ' DEVICE
if [ ! -b $DEVICE ]; then