Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
pospi
@pospi@kolektiva.social  路  activity timestamp last month

@crft #LUKS v2 is the gold standard 馃槉

Setup is easy, and the UX thereafter is very smooth:

```bash
# initialise the encryption volume
sudo cryptsetup -v --type luks2 luksFormat /dev/sdx
# mount it so that you can create a filesystem within it
sudo cryptsetup luksOpen /dev/sdx DRIVE_ALIAS
# create an EXT4 volume inside the encrypted volume to actually store the files
sudo mkfs.ext4 /dev/mapper/DRIVE_ALIAS
# close the crypto device to unmount it
sudo cryptsetup luksClose DRIVE_ALIAS
# now you can unplug, replug & password should work to access the drive in Nautilus or other major distro's file manager app
```

Let me know if this is an internal drive, I can share brief annotated instructions for setting up `crypttab` & `fstab` so they can be unlocked and mounted at boot.

  • Copy link
  • Flag this post
  • Block
Wizards Anonymous
@crft@mastodon.social replied  路  activity timestamp last month

@pospi appreciate you sharing. Was curious if anyone was using anything better than LUKS. :)

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Bonfire social 路 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login