Encrypted installation failure

Help with issues regarding installation of Debian

Encrypted installation failure

Postby Doggybag » 2017-08-29 14:55

I've just installed debian (on a dual-boot with an existing windows 10). I installed with a /boot partition and an encrypted volume with two partitions, one for / and one for swap. When I boot grub comes up and then the prompt from dm_crypt to unlock the disk. After entering the password I get the message 'unknown fstype, bad password or options'. Any suggestions? (The password is correct - if I enter a wrong password I get a different message, saying no key available with this passphrase.)

EDIT: Actually the message about 'no key available with this passphrase' sometimes comes up and sometimes doesn't - even with a passphrase that's definitely wrong.
Doggybag
 
Posts: 15
Joined: 2017-08-15 08:14

Re: Encrypted installation failure

Postby Doggybag » 2017-08-30 10:06

I just tried a reinstall - exactly the same result.

Is this a bug? In which package?
Doggybag
 
Posts: 15
Joined: 2017-08-15 08:14

Re: Encrypted installation failure

Postby Ardouos » 2017-08-30 10:11

How did you install Debian? What iso file did you use?
User avatar
Ardouos
 
Posts: 914
Joined: 2013-11-03 00:30
Location: Elicoor II

Re: Encrypted installation failure

Postby Doggybag » 2017-08-30 11:58

I used the 9.1 live xfce iso (on usb), with restricted firmware on a separate usb. The first time I used the graphical install, the second the text-based one.

Is the problem to do with encrypting both in one container?
Doggybag
 
Posts: 15
Joined: 2017-08-15 08:14

Re: Encrypted installation failure

Postby Doggybag » 2017-08-30 12:35

Well, after another failed attempt, I've got it working. Instead of putting two partitions directly in the luks container, I put an lvm group in luks, then created the logical volumes for / and swap in that. Now to test if hibernation works (that's the only reason I want swap).
Doggybag
 
Posts: 15
Joined: 2017-08-15 08:14


Return to Installation

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable