Questions tagged [cryptswap]
The cryptswap tag has no usage guidance.
28
questions
0
votes
0
answers
61
views
Ubuntu 23.10 - How to set up hibernation with Secure Boot enabled
Working on a new Ubuntu install. On my ASUS laptop, Secure Boot is enabled (and likely may need to stay that way due to the pestilence of Windows 11). Reading from journalctl -b has some mention of ...
0
votes
1
answer
542
views
Setting up a RAIDed Swap Partition
I have a highly customized procedure to install Ubuntu in an encrypted ZFS file system, and RAIDed drives. A description of the installation procedure can be downloaded here:
https://www.mediafire.com/...
1
vote
1
answer
4k
views
Increasing the size of swap partition/volume does not increase the size of swap
I am trying to increase the size of swap to get hibernation to working. I have followed the answer from another question but only achieved a partial success.
The volume is larger
# lsblk
...
nvme0n1 ...
0
votes
1
answer
967
views
Problem with cryptsetup; Ubuntu doesn’t boot as usual
Until now, my computer was booting correctly. But after restarting it in the afternoon, something happened:
First, I get a message at booting, just before entering the cryptestup password: cryptsetup:...
0
votes
0
answers
31
views
Removing old kernels leads to being asked for pass phrase on boot
I am trying to help a friend who receives an unexpected error during startup. He used synaptic to cleanup unused kernels, and he is certain that he did not try to remove the current kernel which is 4....
0
votes
1
answer
417
views
Why is it so hard to implement Bitlocker style disk / partition encryption in Linux? [closed]
I am a transplant from world of Windows and want to learn linux, so am getting started with Ubuntu 20.04. I initially started with setting up a dual boot option. As I started to seriously consider ...
1
vote
0
answers
200
views
Cryptsetup waiting for encrytped source device /swapfile
I tried to comment on this post but I don't have enough reputation. I'm having the same issue as that user, except that I can't find my /etc/crypttab directory and I can't find my /etc/fstab directory ...
1
vote
1
answer
878
views
How to mount swap encrypted with LUKS on boot?
I've got a LUKS partition at /dev/sdb8.
When I decrypt it, there's a swap space at /dev/mapper/luks-bb0c88f3-1207-4db5-bb88-22a33c006d0b.
What's the correct syntax for /etc/crypttab?
The partition is ...
3
votes
2
answers
2k
views
Can't apt-get install ot remove any package. initramfs-tool failed
When I try install something, it seems my cryptswap got a problem.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package meofetch
...
0
votes
0
answers
70
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 ...
1
vote
0
answers
356
views
"Please enter passphrase..." after disk restore using clonezilla
Am using Ubuntu 16.04.
I cloned my disk using Clonezilla.
I ran the upgrade to Ubuntu 18.04.
I was unable to boot the system after the upgrade
I restored the cloned disk using Clonezilla.
Now, when I ...
1
vote
1
answer
2k
views
19.10: A swap problem related to crypttab and updating
I updated last night as seen in my logs.
Start-Date: 2020-03-16 13:56:51
Commandline: apt upgrade
Requested-By: logan (1001)
Install: linux-image-5.3.0-42-generic:amd64 (5.3.0-42.34, automatic), ...
13
votes
2
answers
6k
views
Increase size of encrypted swap
Ubuntu 18.04 is by default creating a random encrypted swap during each boot using dm-crypt/Swap encryption. For me, this is creating a 1gb swap but I cannot find where to increase the size of the ...
1
vote
1
answer
178
views
No prompt for swap partition passphrase after upgrade
I have two encrypted partitions on my system (/etc/fstab contains following lines:)
/dev/mapper/sda2_crypt / ext4 errors=remount-ro 0 1
/dev/mapper/sda3_crypt none ...
1
vote
0
answers
49
views
shared swap problem with Ubuntu 16.04 and 18.04 dual boot
I installed Ubuntu 18.04 alongside an existing Ubuntu 16.04 installation where they share swap space. I read here that this is possible, however, when I boot up Ubuntu 16.04, I get
Enter passphrase ...
1
vote
0
answers
79
views
System files are mounted readonly
My computer wont boot on Ubunutu anymore. I'm asked to enter my passphrase for encrypted disk (cryptswap1), but whatever I enter I get stuck on "Started Hold until boot process finishes up".
When I ...
0
votes
1
answer
407
views
cryptswap on SSD
I recently invested in a SSD for my laptop, I bought the Samsung 500Gb 860 Evo, which I choose specifically because the sales blurb talks about improved Linux compatibility with regard to TRIM.
I ...
0
votes
2
answers
847
views
Swap errors in logs with encrypted home, 17.10 Artful Aardvark [closed]
I get this error 1 to 4 times per hour:
Failed to start Cryptography Setup for cryptswap1.
Unit [email protected] has failed.
systemd-cryptse
crypt_init() failed: Block device ...
12
votes
1
answer
17k
views
Warnings about cryptsetup on new Ubuntu 17.10 installation?
I have just downloaded and installed a fresh Ubuntu 17.10 server system.
Upon running sudo apt update and sudo apt upgrade I happened to notice these two warnings:
WARNING: Setting CRYPTSETUP in /...
12
votes
2
answers
14k
views
swapon: stat of /dev/mapper/cryptswap1 failed: No such file or directory
I have an issue with creating encrypted swap.
I follow these steps
sudo swapoff -a
Comment existing swap configuration in /etc/crypttab
Comment existing swap configuration in /etc/fstab
Re-format ...
1
vote
2
answers
701
views
Freezing ubuntu 17.04 empty crypttab
I am experiencing random freezes in Ubuntu.
I went through several fixes proposed (checking nvidia drivers, etc..) but no solution. I bumped into Ubuntu 17.04 Freezing Issue and tried to change the ...
0
votes
1
answer
604
views
cryptswap1 messages after reseizing root partition
I resized my windows and Ubuntu partitions yesterday to make my Ubuntu partition bigger and all went well, until i rebooted to Ubuntu.
I now receive a message upon boot saying: "Please enter ...
0
votes
1
answer
70
views
Occasionally I lose write access to the OS partition and need to fsck it in recovery mode. Why is this happening?
Ubuntu 17.04, fully encypted hdd, home and swap (partition).
The first time this happened was after cold reset. And happens occasionally ever since. Once every several days or so.
I'm working as ...
4
votes
0
answers
2k
views
Swap partition not active
My swap partition is neither mounted nor active.
My system does find/recognise the swap partition but that is it
My fstab entries:
# /etc/fstab: static file system information.
#
# Use 'blkid' to ...
1
vote
1
answer
953
views
Ubuntu 16.04 System crash when out of RAM
After upgrading to Ubuntu 16.04 from 15.10. I experienced crashes (system not responding, requiring a power off) every time I was running out of physical memory (using up all the RAM).
1
vote
0
answers
316
views
16.04 Swap partition wants password on startup after Gparted resize
Ubuntu new user here. Booted off the 16.04 USB stick last night and used GParted to resize the primary Ubuntu partition - made it larger using some unallocated space.
Now I'm getting a prompt on ...
3
votes
2
answers
3k
views
Why enter passphrase for cryptswap?
After some moving of partitions, my Ubuntu Mate still boots, but strangely it asks for a passphrase for the cryptswap1 volume. I don’t enter anything and hit enter and it works. As I understand it, ...
28
votes
5
answers
28k
views
Swap not working on clean 14.04 install using encrypted home
Update 3:
I decided to reinstall the system from scratch to remove any old cruft lying around since I had been experiencing some other issues after the upgrade aswell. Howver, this issue persisted.
...