Re: Encrypted swap with cryptsetup won't mount at startup

2015-08-11 Thread Some Body
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 11/08/2015 12:11, Arno Schuring wrote: > This is my > /etc/systemd/system/systemd-cryptsetup@cryptswap0.service. It seems to work, thanks ! I still see an error at startup when systemd tries to activate my old non-encrypted swap, but I think it's

RE: Encrypted swap with cryptsetup won't mount at startup

2015-08-11 Thread Arno Schuring
> From: somebody.mo...@gmail.com > Date: Tue, 11 Aug 2015 10:08:05 +0200 > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 11/08/2015 09:38, Arno Schuring wrote: >> On one of my machines I've gotten this (kinda) working by removing >> the systemd generator and manually creating a servi

Re: Encrypted swap with cryptsetup won't mount at startup

2015-08-11 Thread Some Body
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 11/08/2015 09:38, Arno Schuring wrote: > On one of my machines I've gotten this (kinda) working by removing > the systemd generator and manually creating a service file around > cryptdisks_start and cryptdisks_stop. I successfully mounted my encr

RE: Encrypted swap with cryptsetup won't mount at startup

2015-08-11 Thread Arno Schuring
> From: somebody.mo...@gmail.com > Date: Mon, 10 Aug 2015 14:07:11 +0200 > > Hi, > > I'm trying to encrypt my swap partition, /dev/sda7. [..] > > At boot, it seems like systemd tries to mount /dev/sda7 as a non > encrypted swap partition, and fails. Then it tries to mount cryptswap1 > following my

Encrypted swap with cryptsetup won't mount at startup

2015-08-10 Thread Some Body
Hi, I'm trying to encrypt my swap partition, /dev/sda7. I added the following entry in my /etc/crypttab file : cryptswap1 UUID=25d9539e-3993-42ad-abe2-d08ee6845194 /dev/urandomswap ("25d9539e-3993-42ad-abe2-d08ee6845194" is the UUID of /dev/sda7) And this is my /etc/fstab file : #