Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [crypttab]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
64 views

How to make boot drive encryption work with PKCS#11 Smart card in Fedora (35)

On Fedora Workstation 35 here. systemd v249 I am trying to unlock root LUKS volume with smart card on BOOT, but it does not work. I added to /etc/crypttab mydisk UUID=496e1cd5-712f-44ab-ad02-...
user avatar
1 vote
0 answers
102 views

restoring using timeshift with an encrypted disk from a fresh live usb install

if you're using the live usb (this is specific to pop!_os 21.04, but i think it would apply to ubuntu etc) and you do a fresh reinstall, would you need to boot into the new system to get access to the ...
user avatar
  • 11
0 votes
0 answers
78 views

How do I run things in /etc/fstab and /etc/crypttab interlocked?

Imagine this there is a cloud storage foo which can get mounted via mount -t s3fs foo /mnt/s3 Which in turn contains a file luks_file which has a LUKS container in it. That can be unlocked like with ...
user avatar
  • 26
1 vote
0 answers
3k views

How to mount a btrfs subvolume via fstab? Has the root subvolume to be already mounted elsewhere?

I'm trying to mount two btrfs subvolumes from a same (luks-encrypted) device via the entries in fstab. The crypttab entry must be correct, since the system asks for the password on boot. But then it ...
user avatar
0 votes
1 answer
127 views

How can I achieve being able to run cryptdisks_start as normal user?

I have looked at how to be able to imbue in a crypttab stanza (referring to a LUKS device) to allow a specific user or any unprivileged user to map it. Roughly, I am looking for the equivalent of user ...
user avatar
  • 15.1k
1 vote
0 answers
2k views

how to let the systemd cryptsetup automatically mount the usb key which contain keyfile?

In ubuntu 19.10 I followed the example here. The keyfile is at the root of usb key filesystem. usbkey has uuid yyyy. the /etc/crypttab is like this: encrypted UUID=xxxx /keyfile:UUID=yyyy luks,...
user avatar
  • 940
1 vote
1 answer
294 views

How could I mount a non-encrypted partition before crypttab starts?

I have an ARM server that I want to have booted with (not booting FROM) a USB flash drive containing a LUKS keyfile, that's needed to decrypt a hard drive I have connected to the drive. So in order to ...
user avatar
2 votes
1 answer
2k views

invalid line /etc/crypttab

I am troubleshooting a debian system that will not boot; the system booted fine, and one day ceased to do so (possibly but not definitely related to an apt upgrade). It has a small boot partition (...
user avatar
  • 3,530
1 vote
1 answer
44 views

Can one combine logical volumes from different groups without copying the contents over?

I use Arch Linux kernel 4.18.12-arch1-1-ARCH (november 2018). I use a SATA caddy (for a Thinkpad T400) which holds a hard drive from an old laptop. I'd like to decide on combining the contents and ...
user avatar
  • 247
1 vote
1 answer
476 views

LUKS encryption Mint - only being asked to decrypt one of my two encrypted drives

I've just finished setting up LUKS encryption on new install of Mint 18.3. I mainly followed the steps in this guide (only doing the system #1 setup however as this is the sole OS on this system). ...
user avatar
  • 123
1 vote
1 answer
931 views

change designated name of encrypted lvm root? from sdo to sdn in crypttab?

I installed debian stretch using encrypted lvm from the installer on a usb drive. during installation, with all disks connected, sdo5 is assigned to my boot disk. when running the full system, my ...
user avatar
5 votes
2 answers
4k views

crypttab and fstab UUID's

This works: crypttab: sda2_crypt UUID=6bbba323-ddad-479d-863e-4bd939b46f96 none luks,swap sda3_crypt UUID=3087cec6-dcc9-44ee-8a08-5555bb2ca566 none luks fstab: /dev/mapper/sda3_crypt / ...
user avatar
0 votes
1 answer
521 views

Secondary LUKS physical volume won't automount

I've got a second hard drive in my laptop. However, it only mounts itself when I load the GUI and click on the device in Nemo. What I'd like is for it to automount on boot. sudo lsblk -f NAME ...
user avatar
2 votes
1 answer
2k views

Why is my keyfile in /etc/crypttab not recognized?

I setup dm-crypt for a non-root partition on an Arch Linux installation and referenced a keyfile in /etc/crypttab (permissions -rw-------). However, during startup, I still get prompted for the ...
user avatar
4 votes
2 answers
2k views

How to not store hdd encryption key on machine, but still mount on boot?

Setup: I'm using a raspberry pi with a USB HDD, running arch linux and syncthing for my own "cloud" sync. Problem: In case of a physical break-in where the HDD pi and HDD is stolen, I'd like to ...
user avatar
  • 175
2 votes
1 answer
6k views

Enabling FIPS on a luks encrypted CentOS system breaks boot password

For one of my apps I need to enable FIPS for OpenSSL, while simultaneously using software disk encryption. VM #1 I launched a CentOS VM instance which was software encrypted during install. The ...
user avatar
  • 2,894
1 vote
0 answers
276 views

/etc/crypttab for anyusb?

On my LUKS-encrypted machine, I have edited my /etc/crypttab to inform the system that a keyfile is on a pendrive. I did this by adding a line in /etc/crypttab, using the UUID of my encrypted HDD, and ...
user avatar
  • 556
3 votes
1 answer
4k views

Difference between cryptopts and crypttab

I'm setting up an encrypted root fs, which I've done before, but this time I'm using a PGP-encrypted keyfile with a symmetric password to familiarize myself with the process. There are two places ...
user avatar
  • 35.5k