You are not logged in.

#1 2014-03-21 23:03:58

MickeyRat
Member
Registered: 2011-11-15
Posts: 81

LUKS pauses while getting the password

I just completed my first LVM on LUKS Arch installation and it's working fine but,I have one question. When it boots, I can see the kernel loading then it prompts for the encryption password.  That's expected.  However before you can enter the password, the screen goes dark for 10 seconds and the prompt comes back.  After you enter the password, it says it's pausing for 10 seconds while waiting on the disk but, it doesn't pause.  It boots normally.  Is this normal?

Within the LUKS container, I'm using 3 LVM volumes for root, home, and swap.  I'm using a GPT partition table with a legacy BIOS (no UEFI) and syslinux as the boot loader.  The kernel options in syslinux.cfg are:

cryptdevice=/dev/sda3:mydisk root=/dev/mapper/mydisk-rootvol rw

As I said, except for this quirk, the system boots normally.


Some cause happiness wherever they go; others whenever they go.
- Oscar Wilde

Offline

#2 2014-04-04 16:17:13

Gregosky
Member
From: UK
Registered: 2013-07-26
Posts: 86

Re: LUKS pauses while getting the password

There is no delay when I'm booting my LUKS partitions however I'm not using LVM.

Offline

#3 2014-04-04 16:38:16

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,162
Website

Re: LUKS pauses while getting the password

No delays on either of my LVM on LUKS setups.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#4 2014-04-05 16:32:50

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,092
Website

Re: LUKS pauses while getting the password

MickeyRat wrote:

After you enter the password, it says it's pausing for 10 seconds while waiting on the disk but, it doesn't pause.  It boots normally.  Is this normal?

Sure, it's waiting up to 10 seconds for the device to appear. Working as intended.

Last edited by falconindy (2014-04-05 16:33:35)

Offline

#5 2014-04-10 08:36:47

penguin
Member
From: Gotham City
Registered: 2010-12-31
Posts: 116

Re: LUKS pauses while getting the password

I see a similar thing, but instead of the screen going black it continues to print a few lines of kernel modules loding after it prompted me for password, then I have to type the password in while it's counting up seconds, so each "**" I type is removed by the seconds counter.

It works, just looks a bit "messy".

I have "just" LUKS on /home, no LVM.

Offline

#6 2014-04-10 08:51:50

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: LUKS pauses while getting the password

@penguin: This might make you happy https://bugs.archlinux.org/task/39564#comment121359

@MickeyRat: The 10 second black screen sounds like some kind of graphics initialization. Can you post the output of lsmod, dmesg and lsinitcpio -a /boot/initramfs-linux.img?

Offline

#7 2014-04-10 16:50:51

penguin
Member
From: Gotham City
Registered: 2010-12-31
Posts: 116

Re: LUKS pauses while getting the password

@brain0 thanks. Spot in.

Offline

Board footer

Powered by FluxBB