Creating a New Initial RAM Disk in RHEL 3, 4 or 5

If you need to create a new initrd (initial RAM Disk) in RHEL 3,4 or 4 don’t forget to make a backup of the current initrd before generate the new one.

  • Make a backup of your current initrd.
# cp /boot/initrd-$(uname -r).img /boot/initrd-$(uname -r).img_$(date +"%d%m%Y")
  • Generate a new initrd.
# mkinitrd -f -v /boot/initrd-$(uname -r).img $(uname -r)
  • After generate the new initrd, reboot your server to boot using your new initrd.
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s