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 05-04-2023, 10:17 AM   #1
lupe
Member
 
Registered: Dec 2008
Distribution: Slackware, FreeBSD, NetBSD, Haiku
Posts: 60

Rep: Reputation: 2
initrd doesn't show the line asking for cryptsetup password at boot.


Hi,

I want to move the Slackware NVME system disk from one computer to another.
The disk is booting fine in the old system, using UEFI, elilo, a /boot partition in clear mode and the rest of the system is using LVM on top of cryptsetup + LUKS.

At the new computer, UEFI seems to do its job, elilo as well.
The boot process shows these messages:

"""
ELILO v3.16 for EFI/x86_64
.
Loading kernel vmlinuz... done
Loading file initrd.gz...done
"""

But it gets stuck.
After some time trying to tackle why the system was not trying to open the encrypted root, I found out that I could just insert my password via keyboard and the system could finish booting.

What should I change to see a line asking for the cryptsetup luks password to open the encrypted container?
 
Old 05-04-2023, 04:23 PM   #2
ldarby
LQ Newbie
 
Registered: Nov 2019
Location: UK
Distribution: TBD
Posts: 25

Rep: Reputation: Disabled
See this thread: https://www.linuxquestions.org/quest...175671086-new/
 
1 members found this post helpful.
Old 05-04-2023, 05:50 PM   #3
lupe
Member
 
Registered: Dec 2008
Distribution: Slackware, FreeBSD, NetBSD, Haiku
Posts: 60

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by ldarby View Post
That's it @ldarby! Spot on!
I would never find this on my own.

My system is a Intel i3 12100 CPU and an ASRock B660M-HDV mobo.

In the BIOS:
- Advanced mode (F6)
- Advanced
- Chipset
- Above 4G Decoding -> set to Disabled

After changing the BIOS setting, the relevant line in dmesg seems to be:
Code:
i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
Thank you very much!
 
Old 05-09-2023, 01:56 AM   #4
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Rep: Reputation: Disabled
Quote:
Originally Posted by lupe View Post
Hi,

I want to move the Slackware NVME system disk from one computer to another.
The disk is booting fine in the old system, using UEFI, elilo, a /boot partition in clear mode and the rest of the system is using LVM on top of cryptsetup + LUKS.

At the new computer, UEFI seems to do its job, elilo as well.
The boot process shows these messages:

"""
ELILO v3.16 for EFI/x86_64
.
Loading kernel vmlinuz... done
Loading file initrd.gz...done
"""

But it gets stuck.
After some time trying to tackle why the system was not trying to open the encrypted root, I found out that I could just insert my password via keyboard and the system could finish booting.

What should I change to see a line asking for the cryptsetup luks password to open the encrypted container?
ELILO is broken, use Limine https://slackbuilds.org/repository/1...?search=limine
It fixed the prompt for me.
 
  


Reply

Tags
boot, cryptsetup, key, luks, slackware



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
Cryptsetup 1.6.4 doesn't work in initrd slaka Linux - Software 1 05-29-2014 04:41 PM
adding --allow-discards to cryptsetup in initrd to allow TRIM in LVM/encrypted SSD mostlyharmless Slackware 1 12-05-2013 07:51 PM
UUID= syntax not recognized by cryptsetup in initrd LUKSDEV johnbristol Slackware - Installation 12 03-24-2012 05:05 PM
How to add non-US keyboard layout to initrd (cryptsetup)? malo_umoran Slackware 6 04-05-2008 08:44 AM
Failed to symbolic-link boot/initrd.img-2.6.18-4-486 to initrd.img Scotteh Linux - Software 8 06-01-2007 11:24 PM

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

All times are GMT -5. The time now is 03:08 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