Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

Dracut cryptsetup error on boot but system still works

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
strm
n00b
n00b
Posts: 15
Joined: Thu Dec 26, 2024 12:30 am

Dracut cryptsetup error on boot but system still works

  • Quote

Post by strm » Sun Mar 01, 2026 1:40 pm

Hi folks!

My system is booting up and running fine. However, when dracut stops at boot to wait for the luks passphrase for the root fs, it always prints out a warning like this:

dracut-initqueue: Failed to start systemd-cryptsetup@rootfs\x20rootfs.service: Unit ystemd-cryptsetup@rootfs\x20rootfs.service not found

I tried with kernel cmd line rootdelay=20 to no avail.
Top
ChaoticCookie
n00b
n00b
Posts: 3
Joined: Sun Nov 30, 2025 11:02 pm

  • Quote

Post by ChaoticCookie » Wed Mar 04, 2026 5:45 pm

Have you checked out https://wiki.gentoo.org/wiki/Rootfs_encryption#Systemd

Can you paste the contents of your grub cmdline?

Code: Select all

cat /proc/cmdline
Top
strm
n00b
n00b
Posts: 15
Joined: Thu Dec 26, 2024 12:30 am

  • Quote

Post by strm » Sun Mar 08, 2026 4:34 pm

Thx for the hint. I have checked out and read the article. systemd is compiled with USE flag cryptsetup and dracut with dracut-cpio.

The cmdline is

Code: Select all

initrd=\EFI\.. quiet splash amdgpu.dpm=1 amdgpu.dcdebugmask=0x12 amdgpu.lockup_timeout=100000 rootdelay=90 root=UUID=.. rd.luks.key=..=/swap.key:UUID=.. rd.luks.name=..=rootfs rd.luks.name=..=swapfs rd.luks.options=..=keyfile-timeout=90s resume=/dev/mapper/swapfs systemd.machine_id=..
Top
ChaoticCookie
n00b
n00b
Posts: 3
Joined: Sun Nov 30, 2025 11:02 pm

  • Quote

Post by ChaoticCookie » Mon Mar 09, 2026 6:23 pm

Sounds like you maybe hitting a bug with rd.luks.key. From

Code: Select all

man 7 dracut.cmdline
crypto LUKS - key on removable device support
NB: If systemd is included in the dracut initrd, dracut’s built in removable device keying support won’t work. systemd will prompt for a password from the console even if you’ve supplied rd.luks.key. You may be able
to use standard systemd fstab(5) syntax to get the same effect. If you do need rd.luks.key to work, you will have to exclude the "systemd" dracut module and any modules that depend on it. See dracut.conf(5) and
https://bugzilla.redhat.com/show_bug.cgi?id=905683 for more information.
[/quote]

Can you try it without a keyfile and entering a password manually?
Top
zen_desu
Guru
Guru
Posts: 501
Joined: Fri Oct 25, 2024 3:14 pm
Location: your area

  • Quote

Post by zen_desu » Mon Mar 09, 2026 6:56 pm

it only prints a warning but boots fine?
µgRD dev
Wiki writer
Top
strm
n00b
n00b
Posts: 15
Joined: Thu Dec 26, 2024 12:30 am

Re: Dracut cryptsetup error on boot but system still works

  • Quote

Post by strm » Sun Apr 05, 2026 10:10 pm

Sry for the late reply.

Yes. It shows the warning but boots fine. I disabled keyfile and use password instead. Same result.
Top
Post Reply

6 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic