Article 5PBFA How to update initramfs from kickstart when installing to eMMC disk

How to update initramfs from kickstart when installing to eMMC disk

by
midnightoil
from LinuxQuestions.org on (#5PBFA)
I'm trying to install Centos 8 to an embedded computer fitted with onboard eMMC storage. The installation completes successfully but the system does not boot.

After reset, the grub2 boot menu is displayed showing the installed kernels but the boot process goes no further.

A few articles mention that Centos/anaconda does not include the proper drivers for accessing eMMC devices in the newly created initramfs file on the target machine:Which says you need to add some additional drivers to the initramfs files:

Code:dracut -f --add-drivers " mmc_core mmc_block sdhci sdhci-pci "I tried that by switching to a different console after a normal installation completed but dracut failed with:

Code:dracut: Cannot find /usr/lib/dracut/dracut-init.sh.This Red Hat article supposedly explains how to get around that problem and update the initramfs but I cannot access.

Anyone know how I can get the correct drivers into the initramfs during an automated kickstart installation?latest?d=yIl2AUoC8zA latest?i=X8F6I1oVqTk:XrOtzxQ5F94:F7zBnMy latest?i=X8F6I1oVqTk:XrOtzxQ5F94:V_sGLiP latest?d=qj6IDK7rITs latest?i=X8F6I1oVqTk:XrOtzxQ5F94:gIN9vFwX8F6I1oVqTk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments