Checking if initrd has the correct modules installed

Written by James McDonald

February 9, 2011

# mkinitrd /boot/initrd-2.6.18-194.el5.img `uname -r` -f

# command to include a module
mkinitrd -v -f /boot/initrd-`uname -r`.img `uname -r` --preload=scsi_dh_rdac
# -f /boot/initrd-`uname -r`.img is the new initrd you are creating and -f says to overwrite if it exists.
# `uname -r` means create an initrd to suit the currently running kernel

# command to check if initrd has a specific module
zcat initrd-2.6.18-194.el5.img | cpio -it| grep -i scsi_dh_rdac

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

Squarespace Image Export

To gain continued access to your Squarespace website images after cancelling your subscription you have several...

MySQL 8.x GRANT ALL STATEMENT

-- CREATE CREATE USER 'tgnrestoreuser'@'localhost' IDENTIFIED BY 'AppleSauceLoveBird2024'; GRANT ALL PRIVILEGES ON...

Exetel Opt-Out of CGNAT

If your port forwards and inbound and/or outbound site-to-site VPN's have failed when switching to Exetel due to their...