Questions tagged [luks]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
46 views

Trying to create a persistent live USB, with full disk (LUKS?) encryption

Trying to create a persistent live USB, with full disk (LUKS?) encryption I know there are a ton of similar posts/questions around but I'm not sure which one fits my situation best, so if someone ...
0
votes
0answers
22 views

cryptsetup luksFormat taking forever

I just got a new AMD Ryzen 5 3600 computer. cryptsetup luksFormat command is taking only seconds to complete encryption on my i3 laptop. I gave it 18 hours at a stretch to encrypt a 2TB partition but ...
0
votes
0answers
23 views

I am in the crypto-mood with LUKS

I was working on an internal disk of my machine, I configured the entire partition in ext4 with LUKS I even managed to do file transfers without any problem, everything was fine ... besides .... ...
0
votes
0answers
40 views

Items in trash on fresh install of Ubuntu. Is this expected behaviour?

Crossposted from reddit. Yesterday I wiped my computer, was running 18.04 and installed 18.04 again. I enabled LUKS like always, using all the same details, same username, computer name, password and ...
0
votes
0answers
84 views

How can I reinstall ubuntu focal 20.04 on encrypted system?

I'm a very long time ubuntu user (over a decade) but have not been here as I've had no issues with Ubuntu. With the arrival of 20.04 LTS I decided to encrypt my data (or system if needed). I'm looking ...
0
votes
0answers
60 views

LUKS Automatic unlocking locked me out

I have a problem that is very hard for me to diagnose in the first place. I am locked out from my computer which is in my workplace and due to the outbreak I am not allowed to go to my work to get ...
0
votes
0answers
23 views

Encrypted Swapfile Needs Passphrase Every Time I Login

OS info: Version: Lubuntu 20.04 LTS “Focal Fossa” - Release amd64 (20200423) How do I stop the OS from asking me to enter the passphrase for the encrypted swapfile every time I login? I turned a ...
0
votes
0answers
82 views

LUKS with encrypted /boot + GRUB -> rescue shell 50% of the time

I just setup xubuntu 20.04 according to the full disk encryption howto on a 32GB usb drive. I used 5000 iterations for the encryption, sha256. The first time, I restarted after installation, grub ...
0
votes
0answers
31 views

Ubuntu GUI installation with LUKS

Which key-size and Hash (i.ex. Sha-512) is Ubuntu using with default GUI LUKS(LVM) encrypted installation? If it is only SHA-1 is it recommended to modify it with -h sha512 --key-size 512? I guess --...
0
votes
0answers
17 views

Ubuntu 19.10. encypted installation fails to Boot / ManualFullSystemEncryption

I tried to install Ubuntu 19.10. with Full Encyption by following this guide: ManualFullSystemEncryption. Now grub fails to start Ubuntu, showing error: no suck device: <uuid> error: no server ...
0
votes
0answers
61 views

Error unlocking /dev/sda5: Failed to activate device: operation not permitted (udisks-error-quark, 0)

I've had a booting problem on a Dell Latitude for a long time now that I've left aside but now want to give another try to access. It's an Ubuntu 18.04 encrypted with LUKS, which used to work properly....
2
votes
1answer
83 views

Can't boot Ubuntu 18.04 with encrypted boot

I've been using Ubuntu 18.04 with full disk encryption, lvm partitions and encrypted boot for months without any problem and now all of a sudden I am not able to boot using grub. When I power on my ...
2
votes
0answers
31 views

How to change a lost password of user account with full disk encryption enabled?

I have lost the password with Sudo privileges of my computer. I have searched the internet and this forum and have seen that this is usually rectified by entering recovery mode by holding the left ...
0
votes
1answer
39 views

Bootable 16.04 LTS with Luks encryption on a single hdd

I currently have 16.04 LTS running off a usb on an external hdd. using bios boot menu I boot from usb and use ubuntu from the hdd. I can take this between machines and boot into it. But now I need ...
0
votes
0answers
19 views

Disable GUI while booting Ubuntu 19.10

My disk is encrypted and I would like to disable/remove the GUI when the systems asks the passphrase at bootup. Currently this can be done manually by pressing f2. Is there anyway to do this ...
0
votes
0answers
39 views

Possible to clone the encrypted disk of a computer that's logged into but locked in sleep mode?

My entire disk is encrypted with luks. If someone steals my laptop while it's on and I've already logged into the system by decrypting the disk with the luks password but my system locked in sleep ...
0
votes
0answers
83 views

Adding LUKS HDD on 19.10

I'm trying to add a second disk (HDD, first drive is SSD) on a freshly installed Kubuntu 19.10 (where the boot disk is already LUKS encrypted). I open the Partition Manager and select the sda drive ...
0
votes
0answers
107 views

Configuration of LVM on LUKS on EFI system ends with initramfs/BusyBox shell, what's wrong?

The next week I'll have to install Ubuntu 19.10 on a workstation with UEFI firmware and configured with these disks: 128GB SATA SSD 2x 500GB SATA HDDs 512GB NVMe SSD I'd to configure LVM on LUKS so, ...
1
vote
1answer
113 views

Problem with update-initramfs and cryptsetup

I am trying to update my initramfs but I get this error: cryptsetup: WARNING: could not determine root device from /etc/fstab I am not really sure why this is happening because this is my fstab: ...
0
votes
1answer
132 views

Error when enlarging a LUKS encrypted partition with Gparted

I'm having trouble locating up to date resources for this, so any help would be greatly appreciated. I have an Ubuntu VM on Virtualbox, and used the vboxmanage modifyhd command to increase the size ...
0
votes
1answer
50 views

Ubuntu - encrypted root, logistics

I am attempting to boot Ubuntu on a LUKS encrypted device - In a prior life, I specified the UUID as a kernel cmdline option and then the initramfs opened up that device with the credentials I ...
0
votes
1answer
267 views

Secondary pool will not import on boot

I have a Ubuntu 19.10 install that was originally setup with EXT4 but I migrated to root on ZFS, loosely following the instructions at https://github.com/zfsonlinux/zfs/wiki/Ubuntu-18.04-Root-on-ZFS. ...
0
votes
0answers
38 views

Creating new /boot and /boot/efi partitions

I am planning on installing Kubuntu 18.04.3 on my computer with an LVM inside of a luks encrypted volume which will have my partitions. The luks LVM will be on the device /dev/sda, the entire drive ...
0
votes
0answers
85 views

How to save the luks encrypted device password on tpm2 | ubutnu 18.04

I have encrypted my hard disks using default method(Luks encryption) present in ubuntu 18.04 and I have tpm2, now i wanted to save my passwords on tpm2 device and decrypt automatically without ...
0
votes
0answers
118 views

I messed up something with the initramfs configuration and now I can't get the cryptsetup unlock prompt on boot

I've been trying to setup Ubuntu server (current attempt with 18.04.3) to receive LUKS passphrase from dropbear, I was mostly successful, but then I tried a few things to get the passphrase from ...
0
votes
0answers
60 views

LUKS + LVM Ubuntu 19.04 Dual Boot with Windows 10: Boots Directly to Ubuntu (Boot-Repair Log Attached)

I followed the top answer of this AskUbuntu question to create LUKS and LVM partition alongside my existing Windows 10 installation (Upgraded from Windows 8) on my laptop. However, in the step 12 ...
0
votes
1answer
142 views

Mounting a Luks partition

ORIGINAL POST: I have backed up a drive with all its partitions using the command dd if=/dev/sda of=/media/oshirowanen/external-drive/backups-2019/ubuntu.img /dev/sda is an ssd which has Ubuntu 18....
0
votes
0answers
257 views

/dev/mapper/ubuntu--vg-root does not exist, tried all the usual fixes

Sorry about the screenshot but it captures my problem. Ubuntu 19.10 encrypted LVM2 setup I have followed all the guides I could find. Checked rootdelay, /proc/modules exists, did cryptsetup ...
0
votes
1answer
111 views

Repairing, or mounting an encrypted filesystem

I am trying to save data from a system that used to live on a tiny usb stick, but I suspect a hardware failure. The system came out of a suspend with the root filesystem in read only, and instead of ...
0
votes
0answers
64 views

Can't mount non-boot LUKS Partition (Ubuntu 18.04)

I have two hard drives and the second (/dev/sdb1) has been used (sparingly) as backup. I just mount it when I want to use it. Now I can't access it. Drive gives the UUID of the drive and lists a ...
0
votes
1answer
115 views

Ubuntu 19.04 LTS - Displaylink before LUKS drive encryption password

I suspect this is a dumb question but is it possible to get Displaylink drivers running before the LUKS drive encryption password is required during the boot process. When I boot I have to open my ...
0
votes
0answers
45 views

How to make startup to wait for crypttab password before showing the X11 login screen

I created encrypted partition using Luks and mounted it in /home/myuser. My /etc/crypttab looks like this: luks-241e47e1-8692-4227-869c-46e9a3058c15 UUID=241e47e1-8692-4227-869c-46e9a3058c15 none ...
0
votes
0answers
72 views

Wiping Free Space

I learnt through the web that LUKS does not encrypt free space on a disk. While installing LUbuntu and setting up LUKS I did not select the option to wipe free space on my disk.Is there any way to do ...
0
votes
0answers
271 views

Ubuntu 19.10 - missing lib_gcc.so.1 after kernel update

I am facing problem with missing lib_gcc.so.1 after kernel update. Currently i can't decrypt disk while booting - it shows alert with "incorrect password". When i press f1 i see following error ...
1
vote
0answers
66 views

LUKS won't accept password after installing Nvidia GPU driver

I have Ubuntu 18.04.3 running with full disk encryption on my 2014 macbook pro 15. To take advantage of the Nvidia GPU on my computer I decided to install the proprietary Nvidia driver (390) which was ...
0
votes
0answers
42 views

strange systemd cryptsetup behavior

there is a useful parameter keyfile-timeout which fall back to keyboard if there is no keyfile presented. This seems correct, when there is no path to the keyfile. However, if I put a entry in fstab ...
0
votes
0answers
38 views

How to set up partitions with LUKS;

I am trying to install Lubuntu and the partitioning Is confusing me a lot. I somehow installed it fine with the LxQT setup but now I want to install 18.04 for LTS. The installer is different. I want ...
0
votes
0answers
18 views

Why would Software Updater (Ubuntu 18.04) ask for the LUKS passphrase on my data storage drive?

Ubuntu 18.04 is installed on an SSD and I have a separate (LUKS encrypted) HDD that I use to store my important data (images, research documents, etc.). Unless I'm mistaken, no software that I ...
1
vote
1answer
80 views

Installing lvm on luks by “something else”

I never succeeded installing Ubuntu by choosing something else option. Because I want to change some stuff than the default ones. e.g. partition size, file system to btrfs, not making swap partition, ...
0
votes
0answers
94 views

Slow login with home drive on LUKS mounted through pam_mount

I have a separate LUKS encrypted disk on my laptop where my home directory is stored and mounted at login with pam_mount. I've been using this for years and it worked reliably on EXT4. Some time back ...
1
vote
1answer
42 views

How to SEMI-automatically mount encrypted disk at log in

Current behavior: I have Ubuntu 18.04 installed on an SSD and I use a separate HDD for my data. The HDD is encrypted with LUKS, but right now I need to manually open gnome-disk-utility and click the "...
1
vote
0answers
62 views

How to encrypt a secondary drive with a keyfile and auto-mount without root password

I have a ssd as boot drive and want to encrypt a secondary hdd and automatically mount the drive at user login. And very important, I only want to enter my password once. I tried luks and veracrypt. ...
0
votes
0answers
19 views

Converting LVM root block device to an encrypted one

Is their an easy way to convert a vanila install with unencrypted root partition to an encrypted one (eg LUKS) in Ubuntu 16.04? I know that Android offers equivalent functionality, but am unaware of ...
1
vote
1answer
49 views

recompiled kernel with luks full-disk encryption?

I need to remove xhci_hcd from my kernel. It should be a module so that I can blacklist it. I cloned git://kernel.ubuntu.com/ubuntu/ubuntu-disco.git, and I was able to successfully run fakeroot ...
0
votes
0answers
41 views

Disable encryption of LUKS partition (sda5_crypt) [duplicate]

I get the options to change the passphrase when I open the 'Disks' utility. However, I'm curious to know how to remove the passphrase (with encryption still happening with auto-decrypt on boot) or how ...
1
vote
0answers
103 views

Full disk encryption using TPM2 [16.04]

I'm trying to figure out how to implement full disk encryption with auto decrypt at boot using TPM2 module. I didn't find much information about TPM2 and xenial. Glad if someone can pour some light ...
1
vote
0answers
179 views

Is my LUKS header damaged? “Device… is too small…”

It's a 38 GB partition, still showing in fdisk as 38 GB. On entering $sudo cryptsetup luksOpen /dev/sdb2 ext I get: Device /dev/sdb2 is too small. (LUKS requires at least 1049600 bytes.) I can't ...
0
votes
0answers
51 views

How do you install Ubuntu on an external drive with luks encryption?

as the title says I want to do a installation of Ubuntu with luks encryption on an external drive. the problem is that the Ubuntu installer assumes you want to install to the internal drive unless you ...
1
vote
1answer
164 views

How can I run a sudo command as sudo (!) without password? (cryptsetup needs to be run as sudo in order to use kernel module 'device-mapper')

Solved Besides not commenting the #includedir line in /etc/sudoers out, editing sudoers.d/myOverrides with sudo visudo -f /etc/sudoers.d/myOverrides, and using the syntax I first tried, did the ...
-1
votes
1answer
93 views

If Yubikey with 2 factor auth is used on Ubuntu 19.04 can the OS be hacked via bluetooth? Or any other way remotely?

I have had issues with Ubuntu being hacked, I recently added a Yubikey with 2-factor authentication and encrypted the OS via LUKs. Is there any way that a hacker could breach my system via Bluetooth ...

1
2 3 4 5
9