Questions tagged [cryptswap]

27 questions
28
votes
5 answers

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. On a clean install, choosing to install using…
ajn
  • 495
  • 1
  • 5
  • 9
12
votes
1 answer

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 /etc/initramfs-tools/initramfs.conf is deprecated and…
RocketNuts
  • 347
  • 3
  • 4
  • 15
12
votes
2 answers

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 swap partition with gparted as linux-swap sudo…
X XXX X
  • 123
  • 1
  • 1
  • 5
12
votes
2 answers

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 swap it creates on each boot. How can we increase…
xendi
  • 347
  • 3
  • 14
4
votes
0 answers

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 print the universally unique identifier for a #…
user634299
  • 41
  • 2
  • 8
3
votes
2 answers

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, the swap partition only needs a random passphrase…
user69748
  • 2,333
  • 2
  • 17
  • 14
3
votes
2 answers

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 t@pop-os:~$ sudo apt-get remove neofetch Reading…
1
vote
2 answers

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 crypttab. I followed the instruction but upon…
Neco
  • 13
  • 3
1
vote
1 answer

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).
Marc Belmont
  • 266
  • 1
  • 10
1
vote
0 answers

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 startup asking for a passphrase. Same type of prompt…
Smathers
  • 11
  • 2
1
vote
0 answers

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 either. Some additional info: I have several…
Alex Eastman
  • 141
  • 4
1
vote
1 answer

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 encrypted with a password. I want to activate it…
adazem009
  • 982
  • 3
  • 14
  • 26
1
vote
0 answers

"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 boot the machine, I get the message "Please enter…
Amblymoron
  • 109
  • 1
  • 14
1
vote
1 answer

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), linux-tools-5.3.0-42:amd64 (5.3.0-42.34, automatic),…
Sarzorus
  • 13
  • 5
1
vote
1 answer

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 swap sw 0 0 Before release…
PHP Learner
  • 2,698
  • 9
  • 29
  • 48
1
2