LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-25-2024, 01:44 PM   #1
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 506

Rep: Reputation: 47
Question Grub cryptomount taking longer and longer


Why does Grub's cryptomount keep taking longer and longer after I enter the password? Is this a disk corruption issue? It takes at least 5 minutes to decrypt a volume now.
 
Old 04-26-2024, 06:03 AM   #2
Pixxt
Member
 
Registered: May 2008
Distribution: Slackware, Debian,
Posts: 287

Rep: Reputation: 186Reputation: 186
Could it be your filesystem? Try a defrag if you filesystem on spinning rust, heck even try a defrag on flash if you ignore the fake danger.
 
Old 04-26-2024, 08:03 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,533

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
How long did it take when you first started using it? Compared to how long it takes now?
What changes did you make to the system which might affect it, if any?
Have you used fsck to do a filesystem check if it is a Linux filesystem?
How old is the drive? Have you run any diagnostics on it?
 
Old 04-26-2024, 03:16 PM   #4
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 506

Original Poster
Rep: Reputation: 47
I'm pretty sure it's not an issue with the drives. It's a GRUB issue.
I can mount the LUKS version 2 drives perfectly quickly with cryptsetup, but GRUB's cryptomount takes a few minutes.
I updated from i386-pc GRUB 2.06 to x86_64-efi GRUB 2.12 today, but still GRUB's cryptomount takes a few minutes to open the drives.

Last edited by Geremia; 04-26-2024 at 03:17 PM.
 
Old Yesterday, 04:34 PM   #5
Geremia
Member
 
Registered: Apr 2011
Distribution: slackware64-current
Posts: 506

Original Poster
Rep: Reputation: 47
enable/disable SSE in GRUB?

GRUB bug #59408 led me to discover this thread, which states that the issue is that SSE registers are disabled in GRUB, so the pbkdf iterations take much longer than cryptsetup with SSE enabled.

How do I do enable/disable SSE in GRUB? I don't understand the vague instructions here.

Last edited by Geremia; Yesterday at 05:02 PM.
 
  


Reply

Tags
boot, cryptomount, cryptsetup, grub, luks



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
After taking out and putting back an M.2 Drive, I can no longer boot DiBosco Linux - Software 13 06-21-2021 10:29 AM
problem taking 45 secs or longer to launch a program (e.g., OpenOffice, qpdfview, gedit, etc.) EigenFunctions Linux - Software 64 04-11-2020 12:52 PM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:53 PM.

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