On Sat, 6 Aug 2022 14:55:27 -0500
Roger Heflin <rogerhef...@gmail.com> wrote:

> Add this option on the dracut command line:
> 
>  --install-optional <file list>
> 
> Or add a file in /etc/dracut.conf.d that contains this:
>       install_optional_items+=" <file>[ <file> ...] "
>            Specify additional files to include in the initramfs,
> separated by spaces, if they exist.
> 
> You may need to add quite a list if it is messing up other
> libraries/executables.

Thanks Roger, that worked to add libraries.  I added a few that mount
needed, hoping that dracut would then find the root partition, mount
it, and the kernel would find the rest in the system files.  But, it was
not to be, still hung on boot. Since there are about 80 libraries that
are in the initramfs' that boot that aren't in the initramfs' that
don't boot, I'll script it. Fortunately, the install_optional_items
option can be repeated.  

For any one reading this in the future, I used the full path to the
libraries and links.  dracut copied or created the links correctly.
I'm not sure the path is necessary, since executables can be added as
just the name.  But I tried it with the path first, and it worked, so I
never checked.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to