Re: Does anyone know a way to specify that libraries be added to an initramfs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 6 Aug 2022 14:55:27 -0500
Roger Heflin <rogerheflin@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux