Booting Centos 7 with newer 5.x kernels fails with Realtek ethernet interfaces

If you have the problem described for example here, you can’t boot with newer ElRepo-kernels because the kernel driver für your Realtek ethernet card ist not loaded into the initrd environment, you can add them into /etc/dracut.conf

add_drivers+=”r8169 realtek “

and rebuild the initramfs with something like

dracut -f -v /boot/initramfs-5.8.5-1.el7.elrepo.x86_64.img 5.8.5-1.el7.elrepo.x86_64
grub2-mkconfig -o /boot/grub2/grub.cfg

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s