How To Install dracut-network on Fedora 36

In this tutorial we learn how to install dracut-network in Fedora 36. dracut-network is dracut modules to build a dracut initramfs with network support

Introduction

In this tutorial we learn how to install dracut-network on Fedora 36.

What is dracut-network

This package requires everything which is needed to build a generic all purpose initramfs with network support with dracut.

We can use yum or dnf to install dracut-network on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install dracut-network.

Install dracut-network on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install dracut-network using dnf by running the following command:

sudo dnf -y install dracut-network

Install dracut-network on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install dracut-network using yum by running the following command:

sudo yum -y install dracut-network

How To Uninstall dracut-network on Fedora 36

To uninstall only the dracut-network package we can use the following command:

sudo dnf remove dracut-network

dracut-network Package Contents on Fedora 36

/usr/lib/dracut/modules.d/01systemd-networkd
/usr/lib/dracut/modules.d/01systemd-networkd/module-setup.sh
/usr/lib/dracut/modules.d/35network-legacy
/usr/lib/dracut/modules.d/35network-legacy/dhclient-script.sh
/usr/lib/dracut/modules.d/35network-legacy/dhclient.conf
/usr/lib/dracut/modules.d/35network-legacy/dhcp-multi.sh
/usr/lib/dracut/modules.d/35network-legacy/ifup.sh
/usr/lib/dracut/modules.d/35network-legacy/kill-dhclient.sh
/usr/lib/dracut/modules.d/35network-legacy/module-setup.sh
/usr/lib/dracut/modules.d/35network-legacy/net-genrules.sh
/usr/lib/dracut/modules.d/35network-legacy/parse-bond.sh
/usr/lib/dracut/modules.d/35network-legacy/parse-bridge.sh
/usr/lib/dracut/modules.d/35network-legacy/parse-ibft.sh
/usr/lib/dracut/modules.d/35network-legacy/parse-ifname.sh
/usr/lib/dracut/modules.d/35network-legacy/parse-ip-opts.sh
/usr/lib/dracut/modules.d/35network-legacy/parse-team.sh
/usr/lib/dracut/modules.d/35network-legacy/parse-vlan.sh
/usr/lib/dracut/modules.d/35network-manager
/usr/lib/dracut/modules.d/35network-manager/initrd-no-auto-default.conf
/usr/lib/dracut/modules.d/35network-manager/module-setup.sh
/usr/lib/dracut/modules.d/35network-manager/nm-config.sh
/usr/lib/dracut/modules.d/35network-manager/nm-initrd.service
/usr/lib/dracut/modules.d/35network-manager/nm-lib.sh
/usr/lib/dracut/modules.d/35network-manager/nm-run.sh
/usr/lib/dracut/modules.d/35network-manager/nm-wait-online-initrd.service
/usr/lib/dracut/modules.d/35network-wicked
/usr/lib/dracut/modules.d/35network-wicked/module-setup.sh
/usr/lib/dracut/modules.d/35network-wicked/wicked-config.sh
/usr/lib/dracut/modules.d/35network-wicked/wicked-run.sh
/usr/lib/dracut/modules.d/40network
/usr/lib/dracut/modules.d/40network/dhcp-root.sh
/usr/lib/dracut/modules.d/40network/ifname-genrules.sh
/usr/lib/dracut/modules.d/40network/module-setup.sh
/usr/lib/dracut/modules.d/40network/net-lib.sh
/usr/lib/dracut/modules.d/40network/netroot.sh
/usr/lib/dracut/modules.d/45ifcfg
/usr/lib/dracut/modules.d/45ifcfg/module-setup.sh
/usr/lib/dracut/modules.d/45ifcfg/write-ifcfg.sh
/usr/lib/dracut/modules.d/90kernel-network-modules
/usr/lib/dracut/modules.d/90kernel-network-modules/module-setup.sh
/usr/lib/dracut/modules.d/90qemu-net
/usr/lib/dracut/modules.d/90qemu-net/module-setup.sh
/usr/lib/dracut/modules.d/95cifs
/usr/lib/dracut/modules.d/95cifs/cifs-lib.sh
/usr/lib/dracut/modules.d/95cifs/cifsroot.sh
/usr/lib/dracut/modules.d/95cifs/module-setup.sh
/usr/lib/dracut/modules.d/95cifs/parse-cifsroot.sh
/usr/lib/dracut/modules.d/95fcoe
/usr/lib/dracut/modules.d/95fcoe-uefi
/usr/lib/dracut/modules.d/95fcoe-uefi/module-setup.sh
/usr/lib/dracut/modules.d/95fcoe-uefi/parse-uefifcoe.sh
/usr/lib/dracut/modules.d/95fcoe/cleanup-fcoe.sh
/usr/lib/dracut/modules.d/95fcoe/fcoe-edd.sh
/usr/lib/dracut/modules.d/95fcoe/fcoe-up.sh
/usr/lib/dracut/modules.d/95fcoe/lldpad.sh
/usr/lib/dracut/modules.d/95fcoe/module-setup.sh
/usr/lib/dracut/modules.d/95fcoe/parse-fcoe.sh
/usr/lib/dracut/modules.d/95fcoe/stop-fcoe.sh
/usr/lib/dracut/modules.d/95iscsi
/usr/lib/dracut/modules.d/95iscsi/cleanup-iscsi.sh
/usr/lib/dracut/modules.d/95iscsi/iscsiroot.sh
/usr/lib/dracut/modules.d/95iscsi/module-setup.sh
/usr/lib/dracut/modules.d/95iscsi/mount-lun.sh
/usr/lib/dracut/modules.d/95iscsi/parse-iscsiroot.sh
/usr/lib/dracut/modules.d/95nbd
/usr/lib/dracut/modules.d/95nbd/module-setup.sh
/usr/lib/dracut/modules.d/95nbd/nbd-generator.sh
/usr/lib/dracut/modules.d/95nbd/nbdroot.sh
/usr/lib/dracut/modules.d/95nbd/parse-nbdroot.sh
/usr/lib/dracut/modules.d/95nfs
/usr/lib/dracut/modules.d/95nfs/module-setup.sh
/usr/lib/dracut/modules.d/95nfs/nfs-lib.sh
/usr/lib/dracut/modules.d/95nfs/nfs-start-rpc.sh
/usr/lib/dracut/modules.d/95nfs/nfsroot-cleanup.sh
/usr/lib/dracut/modules.d/95nfs/nfsroot.sh
/usr/lib/dracut/modules.d/95nfs/parse-nfsroot.sh
/usr/lib/dracut/modules.d/95ssh-client
/usr/lib/dracut/modules.d/95ssh-client/module-setup.sh
/usr/lib/dracut/modules.d/99uefi-lib
/usr/lib/dracut/modules.d/99uefi-lib/module-setup.sh
/usr/lib/dracut/modules.d/99uefi-lib/uefi-lib.sh

References

Summary

In this tutorial we learn how to install dracut-network on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).