I've updated a centos 8.5 instance with all final updates to centos stream, via the following commands:
# dnf swap centos-linux-repos centos-stream-repos
# dnf distro-sync
It was a complete success, except for one small problem:
"Running scriptlet: kernel-core-4.18.0-358.el8.x86_64 868/868
dracut: dracut module 'network-legacy' cannot be found or installed.
warning: %posttrans(kernel-core-4.18.0-358.el8.x86_64) scriptlet failed, exit status 1
Running mkinitrd by hand confirmed the same thing:
# mkinitrd /boot/initramfs-4.18.0-358.el8.x86_64.img 4.18.0-358.el8.x86_64
Creating: target|kernel|dracut args|basicmodules
dracut: dracut module 'network-legacy' cannot be found or installed.
I salvaged the machine by making the older kernel the default in grub, but I'd like to get kernel updates moving forward.
Is there a fix?
Updated Centos 8 to stream, missing initrd for new kernel
-
- Posts: 1
- Joined: 2022/01/28 22:01:58
Re: Updated Centos 8 to stream, missing initrd for new kernel
Is dracut-network installed? If not, install it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke