How do I create an initramfs image?

How do I create an initramfs image?
Answer
Create the New Initramfs or Initrd
  1. Create a backup copy of the current initramfs: cp -p /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r).img.bak.
  2. Now create the initramfs for the current kernel: dracut -f.
 

Tìm kiếm

Back
Top