You are Here:
Linux Lite 5.0 Final is now available for download and installation



[ SOLVED ] Invisible Disk Encryption Password Request (Possible bug?)

Author (Read 3734 times)

0 Members and 2 Guests are viewing this topic.

Invisible Disk Encryption Password Request (Possible bug?)
« on: December 01, 2017, 11:04:58 AM »
 

bluelizard

  • New to Forums
  • *
  • 5
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 3.6 64bit

  • CPU: i5-3340M

  • MEMORY: 8Gb

  • VIDEO CARD: Intel Ivybridge
I installed 3.6 with LVM and encryption enabled for the whole hard drive. When I boot, I see just the feather splash screen. I can type in my encryption password and it boots normally, but there is nothing on the screen asking for the password. If it doesn't fully boot, I can't tell if it's hanging or I just typed the password in wrong.

The only related post I've found had a user installing 3.4 multiple times due to "hanging" issued until it worked correctly: https://www.linuxliteos.com/forums/start-up-and-shutdown/1st-reboot-after-install-only-have-yellow-background-with-feather/msg33720/#msg33720
I'm wondering if this user was encountering the same problem but hadn't tried typing in their password when it seemed to hang.

Is there something I'm missing here? If it is a bug, is there a verbose mode I can switch on for boot if the password request is showing up as text underneath the splash screen?
Last Edit: December 02, 2017, 10:01:42 AM by bluelizard
 


Re: Invisible Disk Encryption Password Request (Possible bug?)
« Reply #1 on: December 01, 2017, 11:25:06 AM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 858
    Posts
  • Country: 00
  • Reputation: 186
  • Linux Lite Member

  • Linux Lite: 3.4 64bit

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
 8)

Hi Bluelizard


I don't use lvm/luks (disk encryption) but I'm going to try to help. If I Google the phrase ubuntu 16.04 lvm luks password prompt I get lots of results that look like they could help. Here's the first one, for example.


[SOLVED] No LUKS password prompt for Ubuntu installation with manual partitioning
https://ubuntuforums.org/showthread.php?t=2353595


Scott
 

Re: Invisible Disk Encryption Password Request (Possible bug?)
« Reply #2 on: December 01, 2017, 01:32:07 PM »
 

bluelizard

  • New to Forums
  • *
  • 5
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 3.6 64bit

  • CPU: i5-3340M

  • MEMORY: 8Gb

  • VIDEO CARD: Intel Ivybridge
8)

I don't use lvm/luks (disk encryption) but I'm going to try to help. If I Google the phrase ubuntu 16.04 lvm luks password prompt I get lots of results that look like they could help.


I didn't find a direct solution, but it gave me the hint I needed to figure this out. LUKS is working fine, but Plymouth is covering the password prompt. Once the password is entered, it displays "Cryptsetup: (drivename) set up successfully" on top of the background, but it's hard to see with the default splash background. I tried making the background transparent, setting the background colors to 0 (black/transparent) in Plymouth's config file and updating initramfs, but the prompt is still not visible. I'm not sure if Plymouth is covering the prompt or pushing it off the screen.

What does work is shutting off the splash screen in GRUB.

Open a terminal window, then open etc/default/grub in leafpad as root:

Code: [Select]
sudo leafpad /etc/default/grub
Find this line:
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Remove "splash." "quiet" can be left in.
Code: [Select]
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
Save the file and close Leafpad. Update GRUB:
Code: [Select]
sudo update-grub2
Now it will boot without the splash screen and the LUKS password prompt shows up as plain text. Enter the password, and it continues booting normally.
Last Edit: December 01, 2017, 01:34:46 PM by bluelizard
 

Re: Invisible Disk Encryption Password Request (Possible bug?)
« Reply #3 on: December 01, 2017, 02:06:26 PM »
 

trinidad

  • Platinum Level Poster
  • **********
  • 1137
    Posts
  • Country: us
  • Reputation: 186
  • Linux Lite Member
    • dbts-analytics.com

  • Linux Lite: 4.8 64bit

  • CPU: AMD A8 5500 4 cores

  • MEMORY: 8Gb

  • VIDEO CARD: AMD/ATI Radeon HD 7560D

  • Kernel: 5.x
There are separate sprites you can configure for this in the plymouth Liteboot script. The sprite for the password must have a higher Set z number than the background sprite and the logo sprite both, or any other sprites.

Not a bug. Just something in Ubuntu that cannot be auto-configured.

TC
Last Edit: December 01, 2017, 02:13:19 PM by trinidad
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
 

Re: Invisible Disk Encryption Password Request (Possible bug?)
« Reply #4 on: December 01, 2017, 02:55:43 PM »
 

bluelizard

  • New to Forums
  • *
  • 5
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 3.6 64bit

  • CPU: i5-3340M

  • MEMORY: 8Gb

  • VIDEO CARD: Intel Ivybridge
There are separate sprites you can configure for this in the plymouth Liteboot script. The sprite for the password must have a higher Set z number than the background sprite and the logo sprite both, or any other sprites.

I tried changing the settings so everything outside of the password and dialogs has a low Z setting, but it doesn't seem to work. I also can't figure out why the password entry would be hidden, but the dialog once the password has been entered shows up. I'm going to leave this as "Solved" since shutting off the splash screen works and leave it up to someone with better Script-Fu to get Plymouth working with LUKS.
 

Re: Invisible Disk Encryption Password Request (Possible bug?)
« Reply #5 on: December 01, 2017, 03:13:48 PM »
 

trinidad

  • Platinum Level Poster
  • **********
  • 1137
    Posts
  • Country: us
  • Reputation: 186
  • Linux Lite Member
    • dbts-analytics.com

  • Linux Lite: 4.8 64bit

  • CPU: AMD A8 5500 4 cores

  • MEMORY: 8Gb

  • VIDEO CARD: AMD/ATI Radeon HD 7560D

  • Kernel: 5.x
Get back to you. Not on LL right now.

There is a bug but only with some nvidia drivers.

Did you happen to have one successful boot where the password prompt was displayed in plymouth, and then on the next boot quit working? 

TC
Last Edit: December 01, 2017, 03:58:17 PM by trinidad
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
 

Re: Invisible Disk Encryption Password Request (Possible bug?)
« Reply #6 on: December 01, 2017, 04:09:10 PM »
 

bonnevie

  • Occasional Poster
  • **
  • 73
    Posts
  • Country: ca
  • Reputation: 13
  • Linux Lite Member

  • Linux Lite: 4.8 64bit

  • CPU: AMD Sempron

  • MEMORY: 3Gb

  • VIDEO CARD: NVidia GEForce 8200G

  • Kernel: 4.x
I'm a bit late to this conversation, but the same thing is happening with my Intel SSD setup. The solution for me is simply to hit Esc, which makes the splash screen disappear, unhiding LUSK verbose.
Last Edit: December 01, 2017, 04:11:11 PM by bonnevie
1) Compaq-Presario-CQ60-Notebook (2008) AMD-Sempron
2) ThinkPad E540 LL4.8 64 bit Host, VM LL4.8 64-bit guest
Intel i3 QuadCore 12GB RAM
 

Re: Invisible Disk Encryption Password Request (Possible bug?)
« Reply #7 on: December 02, 2017, 08:59:45 AM »
 

bluelizard

  • New to Forums
  • *
  • 5
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 3.6 64bit

  • CPU: i5-3340M

  • MEMORY: 8Gb

  • VIDEO CARD: Intel Ivybridge
Did you happen to have one successful boot where the password prompt was displayed in plymouth, and then on the next boot quit working? 

TC

No. It never worked.

I'm a bit late to this conversation, but the same thing is happening with my Intel SSD setup. The solution for me is simply to hit Esc, which makes the splash screen disappear, unhiding LUSK verbose.

I tried this with and without "quiet" in GRUB's boot options, and it just shows a blank screen.
 

Re: Invisible Disk Encryption Password Request (Possible bug?)
« Reply #8 on: December 02, 2017, 09:15:34 AM »
 

ian_r_h

  • Merchandise Supporter
  • Forum Regular
  • *****
  • 103
    Posts
  • Country: gb
  • Reputation: 10
  • Linux Lite Member

  • Linux Lite: 3.6 64bit
Also chipping in rather late after modem issues earlier.

I have whole disk encryption on my old Acer laptop (my test unit) and my two main LL units (bespoke hardware).  Each unit has the same invisible passphrase prompt feature - but entering the password poses no additional problem (except as said above the confirmation of encryption setup is hard to read white on yellow).  Each unit is, I think, Intel graphics - and it happens on the internal monitor and/or external (Acer) ones.

Just confirming the "feature", as I don't consider it serious enough to suggest it as a bug as such.

But it might be useful to add it to the manual in future, as it is confusing for us newbies when first encountered!  :)
Don't worry about artificial intelligence.  Worry about natural stupidity.  :)
 

Re: Invisible Disk Encryption Password Request (Possible bug?)
« Reply #9 on: December 02, 2017, 09:26:55 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7572
    Posts
  • Country: nz
  • Reputation: 711
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 3.8 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 4.x
We're likely to go with a black background boot splash in Series 4.x

This should help people with disk encryption see things more clearly.
 

Re: Invisible Disk Encryption Password Request (Possible bug?)
« Reply #10 on: December 02, 2017, 10:26:36 AM »
 

trinidad

  • Platinum Level Poster
  • **********
  • 1137
    Posts
  • Country: us
  • Reputation: 186
  • Linux Lite Member
    • dbts-analytics.com

  • Linux Lite: 4.8 64bit

  • CPU: AMD A8 5500 4 cores

  • MEMORY: 8Gb

  • VIDEO CARD: AMD/ATI Radeon HD 7560D

  • Kernel: 5.x
This is a decent read.

https://help.ubuntu.com/community/ManualFullSystemEncryption

Also you might want to try the page down first then page up keys to display the missing prompt (effectively wipes the plymouth splash on some generic 104 keyboards). A lot of this stuff is headed for obselescence because encryption can be handled by board chips now. I doubt these "bugs" will be considered serious in a year or two, and more than likely will be ignored and left to deprecate just expecting users to deploy workarounds.

For perfectionists there are very tedious system specific fixes for this, but they all basically have to be run all over again each time you update a kernel.

I doubt plymouth as we know it has much of a life span left. Grub on the other hand is going to be the go to in the future for grapical boot displays.

https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/556372

https://lintian.debian.org/maintainer/bigon@debian.org.html#plymouth_0.9.3-1

http://installion.co.uk/ubuntu/xenial/main/p/plymouth/uninstall/

TC
Last Edit: December 02, 2017, 10:57:43 AM by trinidad
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
 


Tags: lvm boot login encryption 
 


Linux Lite 5.0 Final is now available for download and installation