LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-24-2020, 02:39 PM   #1
atomiccomp
Member
 
Registered: Dec 2008
Location: UK
Distribution: Debian/Ubuntu
Posts: 41

Rep: Reputation: 0
LUKs partition won't unlock at boot 'no key available with this passphrase'


I installed an ubuntu server a week ago with the root and swap encrypted with LUKs.
2 x 1 TB with raid1, LVM and two LUKs partitions.

It did an update today and after a reboot in I get the message 'no key available with this passphrase' depsite putting the correct password in. after many failed attemps I managed to type and see that it was showing the correct password (correct UK layout)

This happens in recovery mode too.

What can I do to fault find?

Thankfully I have a recent backup however I'm wary to reinstall if LUKs is buggy os some other issue
is the cause (defective server courupting data).

I have LUKs on a centos system I installed 18 months ago and my own ubuntu server and have had zero issues. My ubuntu server has the same version and updates as the system that won't accept the password.
 
Old 03-24-2020, 08:54 PM   #2
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Rep: Reputation: Disabled
Sometimes keyboards are going bananas in strange ways over time, try replacing the keyboard and see if it helps.
 
Old 03-24-2020, 09:29 PM   #3
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,734

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
+1 to check for a flaky keyboard.

That said, what are you hoping to accomplish by encrypting root (which I’m reading as /, not /root) and swap on a server?
I ask because, as I understand it, encryptIon provides no protection on a running system, which a server would (hopefully) be doing all the time. I thought the purpose of encryption is to prevent access to a stolen or otherwise physically compromised ‘puter.
(If the OP or mods want, we can move that discussion to a new thread...)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LUKS: 'No key available with this passphrase' after windows 10 fault Filippo.rosa Linux - Security 6 01-01-2017 12:09 PM
cryptsetup - canīt open luks parittion - "no key available with this passphrase" ts0 Linux - Software 1 06-08-2013 11:46 AM
[SOLVED] How to unlock (Luks) encrypted root, during boot, when key-file is on USB?? pizzar0 Slackware 2 10-22-2011 07:14 AM
[SOLVED] Entering passphrase on LUKS partition with USB brooky9999 Slackware 7 04-09-2009 04:22 AM
cryptsetup won't open crypted fs on raid5 with known luks passphrase luboss Linux - Security 3 11-13-2008 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration