This Blog is to share our knowledge and expertise on Linux System Administration and VMware Administration

Monday, November 6, 2017

How to Rebuild initramfs (initrd) on RHEL6?

 The mkinitrd command was used to rebuild the initial ramdisk on prior versions of RHEL . This has been replaced in RHEL6 with dracut.

The equivalent command to rebuild the initramfs for the running kernel on RHEL6 is:

$dracut -f /boot/initramfs-$(uname -r).img $(uname -r)

Hope it helps.