From: Alexander Puchmayr <alexander.puchmayr@linznet.at>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Uefi + uki stuck while booting (/dev/gpt-auto-root)
Date: Sun, 16 Jun 2024 10:04:26 +0200 [thread overview]
Message-ID: <22321113.EfDdHjke4D@zeus> (raw)
Hi there,
I just tried to prepare my new laptop for UFEI+secureboot by creating a single
unified kernel image including kernel,initrd,microcode,etc.
NB: The partition layout has a vfat/Efi partition and a luks encrypted lvm
container holding SYS(Root), Data(home) and swap.
I added uki and ukify use flags to installkernel and systemd, checked the
configuration again and configured the kernel by emerge --config sys-kernel/
gentoo-kernel.
Bulding the kernel image seems to work fine, the log messages say its creating
a initrd using dracut, creating a efi file, signing it properly and even
installs it under /boot/efi/EFI/Linux.
When booting it, it loads the kernel and then seems to get stuck:
Timed out waiting for device /dev/gpt-auto-root
Dependency failed for File System Check in /dev/gpt-auto-root
Dependency failed for Root Partition
Dependency failed for Initrd Root File System
Dependency failed for Initrd Mountpoints Configured in the Real Root
Dependency failed for Initrd Root Device
Then it ends up in an emergency shell.
There's a log in /run/initramfs/rdsosreport.txt, which reveals that it does
not find my encrypted lvm partition (LUKS encrypted lvm container holding SYS,
DATA, SWAP, etc), which obviously needs to be setup first. Seems like some boot
parameter is missing.
Checking systemd's USE flags: Relevant flags lvm + cryptsetup + boot +
secureboot use flags are set
To me it looks like as if its missing information which partition to use for
decrypting/mounting, and which lvm volume to use as real-root.
Is this a dracut configuration? A systemd configruation? An installkernel
configuration? Something else?
Thanks
Alex
next reply other threads:[~2024-06-16 8:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-16 8:04 Alexander Puchmayr [this message]
2024-06-16 10:59 ` [gentoo-user] Uefi + uki stuck while booting (/dev/gpt-auto-root) Michael
2024-06-17 6:23 ` [gentoo-user] [SOLVED] " Alexander Puchmayr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=22321113.EfDdHjke4D@zeus \
--to=alexander.puchmayr@linznet.at \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox