rebuild initrd (RHEL 3, 4, 5)

cp /boot/initrd-$(uname -r).img /boot/initrd-$(uname -r).img.bak
mkinitrd -f -v /boot/initrd-$(uname -r).img $(uname -r

Rebuilding the initramfs (RHEL 6)
dracut -f initramfs-2.6.32-71.el6.x86_64.img 2.6.32-71.el6.x86_64

Leave a Reply

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