Skip to main content

New answers tagged

0 votes

Booting encrypted root with encrypted USB key

In fstab, only the first field specifies the file system and second is mount point (from man fstab), so fix the fstab format.
mayukhc's user avatar
  • 101
5 votes

Does crypttab's "key-slot" option mean LUKS will try that keyslot "only", or "first"?

The cryptsetup manual is divided into several pages. The crypttab man page should reference the cryptsetup-open man page. --key-slot, -S <0-N> This option selects a specific key-slot to compare ...
Gilles 'SO- stop being evil''s user avatar
5 votes

Does crypttab's "key-slot" option mean LUKS will try that keyslot "only", or "first"?

Does the key-slot= option makes LUKS only try that keyslot Yes, usually that is the case. It's equivalent to the --key-slot option, man cryptsetup-open: --key-slot, -S <0-N> This option ...
frostschutz's user avatar
  • 49.4k
2 votes

Using cryptsetup and mount without sudo

Nautilus uses udisks for these operations which doesn't require authentication in certain situation (like mounting or unlocking removable devices). From a script you can use udisksctl: udisksctl ...
Vojtech Trefny's user avatar
5 votes

LUKS - How can / be encrypted but /boot and /boot/efi are not?

The devices (partitions) that / and /boot reside on are different, and one can be encrypted while the other is not.  GRUB knows how to find /boot by using something like set root=(hd0,1) or search --...
doneal24's user avatar
  • 5,199
1 vote

How do I use LUKS encrypted partitions with Kubuntu 24.04 installation?

I actually found a solution and was able to perform an installation. I created and mounted my luks volumes (with luksOpen), and after that formatted all of them with mkfs / mkswap. The key to success ...
Ray P.'s user avatar
  • 151

Top 50 recent answers are included