Questions tagged [luks]

LUKS (Linux Unified Key Setup) is a disk-encryption specification. It is the standard for Linux hard disk encryption.

LUKS (Linux Unified Key Setup) is a disk-encryption specification. It is the standard for Linux hard disk encryption. LUKS stores all setup necessary setup information in the partition header, enabling the user to transport or migrate his data seamlessly.

Website: http://code.google.com/p/cryptsetup/

Wikipedia: http://en.wikipedia.org/wiki/Linux_Unified_Key_Setup

157 questions
0
votes
1 answer

Setting up resilient single drive NVMe storage for LUKS encryption

I would like to set up resilient encrypted storage with single NVMe drive for my laptop and its (encrypted) backup (with SATA housing and SSD drive). This is what I have at the moment: SSD -> GPT partitions (unencrypted /boot, EFI, and LUKS) -> LVM…
Alojzij Blatnik
  • 123
  • 1
  • 9
0
votes
0 answers

luks-partition-crushed-after-reboot-and-extended

my ssd disk was luks encrypted crashed after reboot i got error about superblock and wrong signature 3030 cryptsetup luksOpen /dev/sdb2 origin-disk before open luks sdb 8:16 0 232.9G 0 disk ├─sdb1 …
0
votes
0 answers

Unable to connect to dropbear SSH server to remotely unlock LUKS encrypted root partition on Arch Linux cloud server

I intended to setup encrypted LUKS arch linux system on a cloud server. I installed the latest arch linux version onto LUKS-encrypted partition, configured the initramfs (installed build hooks), then installed grub bootloader and configured it to…
user65412
  • 1
  • 2
0
votes
0 answers

Volume group "luks" not found

OS: Parrot OS VM: Qemu Filesystem: Btrfs This is caused due to an improper reboot before full apt upgrade. After the reboot and entering in the Luks partition password. It successfully decrypts and then stays at the loading screen "Cryptsetup:…
Zetsu
  • 1
  • 1
0
votes
0 answers

Perform backup of root directory in luks-container form initramfs

My server is running from a root directory in an encrypted luks container with lvm layout. To perform a backup of the root partition, it is usually the consensus that the filesystem can not be mounted, especially when using dd. The partition layout…
0
votes
1 answer

LUKS decrypt on boot with web based key?

Is it possible to configure LUKS to grab a key file from a web server and use it to decrypt and mount the drive on boot? The idea being that this allows the device to boot, decrypt, and start running without any intervention, but should the device…
user3246693
  • 123
  • 2
0
votes
1 answer

Create RAID1 with luks without erase disks

I need to create a RAID1 arrange with an existing phisical disk. I buyed another hdd with same size and I want to create a RAID1 arrange without erasing the first one. My disk have luks encryption, I want to keep luks encryption in the Raid. I have…
0
votes
0 answers

Create an Fully Automated Installer for Debian with FAI

I searched on Google about creating Fully Automated Installer for Debian. My aim is to have an ISO file, make it bootable in pendrive. So if I plug this pendrive in a computer, power on the physical button then it will boot this iso, automatically…
Kalib Zen
  • 137
  • 7
0
votes
0 answers

How to resize img file created with dd on LUKS-LVM partition?

I have installed a new Debian 10 on /dev/sda with LUKS + LVM. It has the following partition structure: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 79G 0 disk ├─sda1 8:1 0 953M 0 part …
Kalib Zen
  • 137
  • 7
0
votes
1 answer

use mount with LUKS2

Back in times of LUKS1, it was possible to use a command like $ mount /dev/luks-encrypted-partition /mnt/a [enter passphrase upon being prompted] as a shortcut for $ cryptsetup luksOpen /dev/luks-encrypted-partition some-name $ mount…
LaTechneuse
  • 161
  • 6
0
votes
1 answer

Expand XFS encrypted block device with no LVM

I need to expand my LUKS encrypted XFS volume but I'm not sure where to start as this is about a non-LVM device, its a simple block storage from a cloud provider that I extended from 150GB to 200GB ... Now I need to resize the underlining…
V O
  • 101
  • 1
0
votes
1 answer

Decrypt file for specific session in CentOS 7

I am looking for a way to encrypt my file that can be decrypted for the current terminal session. The moment we exit the session, it gets encrypted again. A use case for this scenario would be: Let's say if someone wants to gain access to the file…
EEE
  • 1
  • 1
  • 1
0
votes
1 answer

Will encrypting an entire NVMe drive with cryptsetup make it work harder and fail faster than encrypting a partition spanning the disk?

I have several non-boot NVMe disks whose data must be encrypted. I have been running cryptsetup on the disks themselves without partitioning them, then making a filesystem on the devicemapper device. Is there some reason that I should first be…
tacos_tacos_tacos
  • 3,250
  • 18
  • 63
  • 100
0
votes
0 answers

Read files from an encrypted disk?

Is it possible to read from an LUKS-encrypted disk via the terminal, e.g. by booting from a live Linux system on a USB flash drive and accessing the encrypted host computer's hard drive?
david
  • 101
  • 1
  • 3
0
votes
0 answers

Add keyfile for luks encrypted root

I have a server running ubuntu 18 and we added the standard LUKS encryption during install. It was fine for a while but its become a problem that we can't restart it remotely. I'd like to add a keyfile for the root partition but I am not sure if…
tobben
  • 1
1 2 3
10
11