https://drive.google.com/file/d/1ixaTJisfMEYjuNN7bmfzE8niYlMCjfOg/view?usp=sharing
⚠️ Critical Warning:
Lost passphrase = permanently lost data! Always backup keys.
# Enable repositories
sudo dnf repolist all
# Install cryptsetup (RHEL/CentOS 8+)
sudo dnf install cryptsetup -y
# Verify
cryptsetup --version
💡 Note:
Package name is
cryptsetup(notcrypsetup).
# WARNING: This erases ALL data on /dev/sdb!
sudo cryptsetup luksFormat /dev/sdb
# Confirm with "YES" (uppercase)
# Enter passphrase twice (min 8 chars)
⚠️ Critical:
- Use dedicated disk/partition (not system disk)
- Passphrase is case-sensitive