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:
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?
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:
- e_MMC install on intel NUC DE3815TYKHE
- Bug 0007453: Anaconda completes installation on MMC internal card on NUC and fails to include MMC kernel drivers in initramfs
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?