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

Not generating initramfs #41

Closed
ssergey2018 opened this issue May 29, 2022 · 8 comments
Closed

Not generating initramfs #41

ssergey2018 opened this issue May 29, 2022 · 8 comments
Labels
bug Something isn't working

Comments

@ssergey2018
Copy link

[+] Generating initramfs
dracut: Configuration file '/dev/null' not found.
dracut --conf /dev/null --confdir /dev/null --kver 5.17.11-gentoo-dist --no-compress --no-hostonly --ro-mnt --add bash btrfs --force /boot/efi/initramfs.img
Last command failed with exit code 1
Specify next action (Shell/retry/abort/continue/print)

@oddlama
Copy link
Owner

oddlama commented May 29, 2022

Thanks for reporting this, seems like the new dracut version that was released recently has silently changed the way these parameters work. I'll have a look at it and fix it when I find time next week. If you need this fix now, you can probably replace each /dev/null with <(echo).

@oddlama oddlama added the bug Something isn't working label May 29, 2022
@ssergey2018
Copy link
Author

good time
Thank you for trying to help me immediately, but I'll wait for you to fix it
I just started trying the system. Continued manual installation. System installed
Thank you for the script

@wat9rz
Copy link

wat9rz commented Jun 2, 2022

i also was having this issue, i'll try this fix when i get the error. thanks @oddlama !

@oddlama
Copy link
Owner

oddlama commented Jun 2, 2022

I'm waiting for a response on dracutdevs/dracut#1835 to fix this properly.

@wat9rz
Copy link

wat9rz commented Jun 2, 2022

as a temporary fix, i used dracut --kver 5.17.11-gentoo-dist --no-compress --no-hostonly --ro-mnt --add bash btrfs --force /boot/efi/initramfs.img instead of what the script normally uses, dracut --conf /dev/null --confdir /dev/null --kver 5.17.11-gentoo-dist --no-compress --no-hostonly --ro-mnt --add bash btrfs --force /boot/efi/initramfs.img

oddlama added a commit that referenced this issue Jun 5, 2022
Dracut changed parameter interpretation in a new version,
causing this script to error out. To properly fix this,
we require a resolution of dracutdevs/dracut#1835.
Meanwhile, this is tracked internally by #41.
@oddlama
Copy link
Owner

oddlama commented Jun 5, 2022

Thanks, I've now added the workaround to the main branch, while the issue is being discussed on the dracut project. I'll leave this open until the linked issue comes to a conclusion.

@oddlama
Copy link
Owner

oddlama commented Jun 30, 2022

There seems to be no progress on the upstream dracut issue, due to the maintainers not responding. I will mark this as solved and replace the workaround with a proper solution in case the dracut maintainers do take the issue on.

@oddlama oddlama closed this as completed Jun 30, 2022
@pvalena
Copy link

pvalena commented Jul 21, 2022

Alternative fix: dracutdevs/dracut#1878

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants