Questions tagged [luks]

All questions relating to LUKS (the disk-encryption specification) for Linux

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

LUKS disk encryption with mandatory Yubikey

I've read most of the tutorials on the internet about Yubikey, consumed a lot of coffee in the process, and still, haven't found a way to configure Ubuntu 20.04 and\or Yubikey in order to have a ...
0
votes
0answers
13 views

Encrypted install: encrypt the local SD card backup

Introduction I have installed kubuntu 20.04.2 on my laptop using the excellent tutorial here: Encrypted custom install This works fine so far, the system boots well and the decryption offers a nice ...
0
votes
1answer
26 views

With luks, when is the actual encryption or decryption performed, within the luksFormat, luksOpen, or during the filesystem creation on /dev/mapper?

I got curious to know when the encryption/decryption task actual starts, to get a better understanding of the inner workings of luks. I started wondering this when using detached headers, I tried (...
0
votes
0answers
17 views

Failed to mount partition after rezize

So I messed up. I tried to encrypt my backup disk. So I created a new LUKS partition with a btrfs file system and moved my files to the new partition. Once the new partition was out of space, I shrunk ...
0
votes
0answers
55 views

How do I mount an LVM LUKS encrypted drive on Ubuntu 20.04 without making it unbootable?

I have just added a new NVME drive to my system, I want to use it as my primary boot drive and I wanted to take the opportunity to do a cleanup of my OS. To do that I installed a clean copy of Ubuntu ...
0
votes
0answers
31 views

Ubuntu 20.04 Hibernation not working with luks

I configured hibernation in Ubuntu with a swap file which works only when I use the command sudo systemctl hibernate, but when the system is shut down or restarted, at startup the kernel wait for the ...
1
vote
0answers
74 views

Ubuntu 20.04 autoinstaller UEFI Full disk encryption

I wrote this user-data to install Ubuntu 20.04 on UEFI serveur. #cloud-config autoinstall: update: yes early-commands: - systemctl stop ssh apt: geoip: true preserve_sources_list: ...
0
votes
0answers
21 views

Stale file handle for LUKS encrypted NSF and SAMBA fileshare

I'm at a loss on how to solve the following problem, having searched around a good bit. Context: I have a very small home network running an Ubuntu client 20.04, installed on a Dell XPS, and an Ubuntu ...
0
votes
0answers
54 views

How to apply a nuke password for cryptsetup LUKS ubuntu 20.04? [duplicate]

I have problem to setup nuke password, in either ubuntu 18.04, or ubuntu 20.04 i think last version of cryptsetup patch failed to be applied in ubuntu https://gitlab.com/kalilinux/packages/cryptsetup-...
0
votes
0answers
26 views

Install ubuntu to luks encrypted partition using preseed

I have made luks encrypted partition as suggested in How can I install Ubuntu encrypted with LUKS with dual-boot? . Now I am trying to install ubuntu using preseed file. Encrypted partition is in /dev/...
0
votes
0answers
44 views

Unlock encrypted disk with hardware key

Desired Solution I want to be able to use a hardware key to unlock the encrypted disc on my computer. In the current situation I have to enter a password to unlock the disc and continue booting. In ...
0
votes
0answers
24 views

Adding Encrypted Arch to Ubuntu Grub and opening without password

sda consists of sda1 luks1 encrypted Arch (with keyfile /dev/sda1/arch.key) sda2 luks1 encrypted Ubuntu (with keyfile /dev/sda2/etc/luks/ubuntu.key) I want to add Arch to Ubuntu Grub and boot into it ...
0
votes
0answers
25 views

Did I screw up when imaging luks partition?

Background: https://askubuntu.com/posts/comments/2249654?noredirect=1 Ok, so when I imaged the drive it was unlocked and I only imaged the luks partition (IE. only the luks part of the drive and not ...
0
votes
0answers
24 views

Mount error for luks image

Everything works fine until I get the error: mount: /mnt: wrong fs type, bad option, bad superblock on /dev/mapper/img, missing codepage or helper program, or other error. Summary: sudo cryptsetup ...
0
votes
0answers
52 views

LUKS and Windows

I love LUKS encryption of disks under Linux. Sadly LUKS is not available under Windows. I was wondering if it is possible to encrypt a disk with LUKS and put a windows filesystem on top. And if yes, ...
0
votes
0answers
45 views

Is it possible to recover luks drive after OS reinstallation? With screwed up disk img

Original layout of the drive was sda1 (766mb), sda5 (luks), Wasn't able to boot and stupidly reinstalled OS (Ubuntu 20.04). Before reinstalling I created a partition image of the luks drive, but after ...
0
votes
0answers
18 views

Formatted luks drive recovery (please help)

I quick formatted my luks encrypted drive into a 60 gb ext4 and a 940 gb ext4 partition before realizing that the drive that had all my data that I backed up was encrypted by a password I only had on ...
0
votes
1answer
116 views

LUKS: How can I add more password slots (or remove/change a password)

luks offers up to 8 password slots (=multiple passwords which are valid at the same time). Installing Linux I face the problem how to add a new password slot how to remove a password slot how to see ...
0
votes
0answers
44 views

install LUKS encrypted ubuntu with windows 10

I have a PC with Bios set to legacy (not UEFI) and an HD with 3 partitions: sda1: ~500MB ntfs boot; sda2: 200GB ntfs win10; sda3: 300GB this should be used for LUKS encrypted Lubuntu 20.04. I first ...
0
votes
1answer
47 views

Setting up an external encrypted drive: “device does not exist”

I am pretty new to linux and I am trying to install it on an external SSD (860 EVO connected via SATA to USC B adapter). I am following this tutorial and having some troubles. At first, I was able to ...
0
votes
0answers
30 views

Automatically unlock LUKS encrypted disk on boot [duplicate]

Im new to (command line) linux, and as a learning exercise i decided to turn my old PC i had lying arround into a linux server running Ubuntu 20.04 LTS. However, while i was configuring it, i like a ...
0
votes
0answers
115 views

Ubuntu 20.04: Normal boot works, recovery mode hangs

Most of the related questions here are about normal boot not working properly, but recovery mode working. In my case it's the other way around. I'm running a dual boot of Windows 10 and Ubuntu 20.04 ...
1
vote
1answer
62 views

Best practice for encrypted external ssd [closed]

I want to have an encrypted external ssd for occasional backups. It seems like consumer products don't really support linux, so unless someone has a better suggestion I'm planning to format it myself ...
0
votes
0answers
59 views

Disk encryption/LUKS

Disk encryption is bundled within Ubuntu and if building a fresh system, select the option and it does it all for you with a security key/passphrase. How does one encrypt disks on a system used by a ...
1
vote
0answers
86 views

With Ubuntu on the Raspberry PI, is there any hardware or CPU instruction accellerated support for Full Disk Encryption?

My understanding is that the Raspberry Pi processor does not support instructions that accelerate AES encryption and this has a significant impact on performance of Full Disk Encryption, FDE. Is there ...
0
votes
1answer
52 views

locked out of my luks volume “Not authorized to perform operation (polkit authority not available and caller is not uid 0)”

For no apparent reason, I can no longer access my LUKS-encrypted volume. It has been working for months but today on trying to open it in Nautilus, I get a passphrase request (which I didn't before, ...
1
vote
1answer
227 views

Ubuntu 20.10 – move LUKS header to external device

I recently installed Ubuntu 20.10 to test the ZFS file system together with encryption. I discovered the system not only use the native ZFS encryption, but also encrypts the ZFS keys with LUKS (please ...
0
votes
0answers
241 views

volume group not found after update with full encrypted disk - then boots anyway

Since some November update of my 20.04.1 Ubuntu , during startup I get the messages volume group "name" not found. I get the password prompt and can log in but some system settings (sound ...
1
vote
0answers
83 views

Dual Boot Kubuntu 20.04 with Windows 10 and LUKS not working correctly

I want to dual boot kubuntu and windows 10, but both OS partitions should be encrypted. After disabling secure boot I installed kubuntu 20.04.1 on a partition and could boot into it or windows 10 just ...
1
vote
0answers
192 views

LUKS encrypted disk gives error: “wrong fs type, bad option, bad superblock on” on mount

Okay, I think I somehow just lost all of my data. I installed Ubuntu 20.04 on one disk. In the installer (using the "other"-option for manual installation), I used one partition for /boot, ...
5
votes
2answers
535 views

I don't have the LUKs password for my HP notebook

I got an HP notebook off someone who is no longer alive. For some reason it's BIOS locked. I managed to solved that problem, then during reboot it asked for "unlock disk sda3_crypt". I can't ...
0
votes
0answers
40 views

no execution (rights) at home / can not make /home executable (exec) when using encrypted (LUKS) / mounted home

The issue: I do not have / lost executable rights in my /home. Which is quite devastating for TOR onion use. This pops up on increasing number of machines with Ubuntu 20.xxSome new set up and some ...
1
vote
0answers
78 views

Make GRUB use secondary GPU as primary

Currently I use the following line in /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT="rd.modules-load=vfio-pci amd_iommu=on iommu=pt kvm.ignore_msrs=1 vfio-pci.ids=10de:1e84,10de:10f8" The ...
0
votes
1answer
39 views

I cant enter decrypt key to get into ubuntu, the characters are typing in upper left corner of screen instead of decript box in center

I have a fresh Ubuntu 16.04 Installation. This was a tricky setup to get an Encrypted Ubuntu install as Dual Boot with Win10 Pro. I mostly followed the recommendations as per this article (except did ...
0
votes
0answers
132 views

How to hide LUKS password prompt on boot? Or how to hide “please unlock disk sdX_crypt” in text mode?

I have read all the internet - not found. How to hide password prompt for boot LUKS encrypted (during installation) Ubuntu 20.04 LTS? I have a multi-level security setup, and one part of that is just ...
0
votes
0answers
352 views

LUKS Disk Encryption on Raspberry Pi 3b and Ubuntu Desktop 20.04, no memory for the keyslot

I would like to encrypt my Ubuntu installation on the RPi 3, and have followed this answer. But when I try the manually decrypt from initramfs I get the error: not enough available memory to open a ...
0
votes
1answer
36 views

which keyboard is used at LUKS decryption?

my keyboard layout is being switched from default when i'm on the LUKS decryption screen. i've tried typing with the most obvious choices, but since my keyboard input is hidden, i have no way of ...
0
votes
0answers
113 views

Booting LVM vs Luks

So I have just had a working install of Ubuntu 20.04 on my computer, that like for many years, have had a full disk encryption on it. The setup is like below... nvme0n1p1 (EFI) nvme0n1p2 (Boot) ...
1
vote
0answers
63 views

Encrypt /boot partition after installation

I have a fresh installation of Kubuntu 20.10. In the installer, I chose the option for full-disk encryption. The partition holding my system (the one mounted at /) is now encrypted. But /boot is still ...
0
votes
1answer
613 views

Encrypt /boot with LUKS 2 on (K)Ubuntu 20.10

I have a fresh installation of Kubuntu 20.10. In the installer, I chose the option for full-disk encryption. The partition holding my system (the one mounted at /) is now encrypted. But /boot is still ...
0
votes
1answer
103 views

Add second passphrase for FDE on Ubuntu (new luks keyslot w/ encrypted LVM)

How can I add a second passphrase to decrypt my laptop on-boot when I chose to install Ubuntu with FDE at install-time. At the time of writing, there is only one way to choose to install Ubuntu with ...
0
votes
0answers
28 views

Can’t change console keyboard

I have a fresh install of Kubuntu 20.10. I installed it upon an encrypted LVM disk. At install time, I have chosen french bépo as my keyboard configuration (I think that the fact it is not qwerty is ...
0
votes
0answers
93 views

LUKS passphrase randomly not acccepted at boot time but always from live system or cd

I installed Ubuntu 20.04.1 with encrypted root with LUKS/LVM but the passphrase is not accepted randomly at boot time (actually never on the first try). However it is always accepted with a booted ...
0
votes
1answer
229 views

Remove LUKS decrypt

I was stupid enough to encrypt my SSD using the live ubuntu command using the command -. sudo cryptsetup luksFormat /dev/nmp1n1 Then the system of course did not start by itself. I don't really ...
0
votes
0answers
291 views

How to install Ubuntu server with custom (non default) LUKS options?

I'm unable to install Ubuntu 20.04 server with custom LUKS options. I tried the following: Started the live installer Went to help and selected Enter shell (or swtich to a different tty). Ran the ...
1
vote
0answers
112 views

Resume the LUKS decryption process

I've run an in-place decryption process using the following command sudo cryptsetup-reencrypt --decrypt /dev/sdb1 But it was interrupted (The HDD was disconnected accidentally) Is there a way to ...
1
vote
1answer
41 views

Rezize logical partitions (lvm) inside a LUKS encrypted partition

The root partition of my LUKS encrypted disk is getting full, so I want to increase its size. For that, I want to shrink the "home" partition and enlarge the "root" partition. I ...
0
votes
0answers
267 views

Ubuntu will no longer boot after upgrade from 20.04 to 20.10

Thanks in advance for the help. I have a Dell Precision 7540 that has Ubuntu 20.10 installed (previously 20.04). It is a pretty normal installation with a single physical nvme disk, with separate ...
0
votes
0answers
34 views

Looking for source code of LUKS password input window

I wonder is there any chance to find the source code of LUKS password input window implementation? And where exactly I can find it? Is it Ubuntu (or any other OS) responsible for showing this window ...
3
votes
2answers
5k views

LUKS Disk Encryption on Raspberry Pi 4 and Ubuntu Desktop 20.10

Using the pre-installed Ubuntu Desktop 20.10 disk image for the Raspberry Pi 4 (64-bit ARM), you do not get an option to encrypt the disk using LUKS when you install the system, as you do with the x86 ...

1
2 3 4 5
11