Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dracut failled to boot a crypt_luks with systemd-gpt-auto mount !!! #2659

Open
user7z opened this issue Jul 1, 2024 · 2 comments
Open

dracut failled to boot a crypt_luks with systemd-gpt-auto mount !!! #2659

user7z opened this issue Jul 1, 2024 · 2 comments
Labels
bug Our bugs

Comments

@user7z
Copy link

user7z commented Jul 1, 2024

Describe the bug
dracut stuck at boot , it shows prompt k asking for password , entering the password and successfully decrypt the partition but failled to pass to systemd

Distribution used
bouth Gentoo and archlinux

Dracut version
the current version in archlinux
and gentoo's current version

Init system
systemd

To Reproduce
just encrypt partition with luks and wait for systemd-gpt-auto to auto mount

Expected behavior
i expect dracut to give the action to systemd so it mount the GPT discoverable partitions ,

Additional context
in gentoo wiki and forumes they recommend set root=/dev/gpt-auto-root : Some tools may become confused if there is no root= parameter on the kernel command line at all. To placate such tools add root=/dev/gpt-auto-root to the kernel command line. This trick is also usefull if a swapfile on the root partition is used instead of a swap partition for hibernation, i.e. one may specify the resume target on the kernel command line as resume=/dev/gpt-auto-root resume_offset=xxxxxxxxx.
but that doesnot work
here is the report
Uploading rdsosreport.txt…

@user7z user7z added the bug Our bugs label Jul 1, 2024
@LaszloGombos
Copy link
Collaborator

Arch wiki recommends

dracut --hostonly --no-hostonly-cmdline /boot/initramfs-linux.img

Can you please also try that ?

@user7z
Copy link
Author

user7z commented Jul 1, 2024

Arch wiki recommends

dracut --hostonly --no-hostonly-cmdline /boot/initramfs-linux.img

Can you please also try that ?

it did waht root=gpt-auto did , a few services loads and then sends a quick shutdown , the journal
Uploading jrnl.txt…
but iam sorry the command you sent requires a bootloader i gues , i well retry iy with --uefi instead since that what iam using

the system boot , thank you i well do more testing and i share back , thank you again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Our bugs
Projects
None yet
Development

No branches or pull requests

2 participants