Linux - Using dracut kver, Build an initramfs using dracut

Using dracut kver

Please be careful what you are doing, this can break you server or machine

sometimes the kernel might have updated but initramfs would have been broken, in such condition dracut -kver can be used
 # dracut --kver 4.8.x.x86_64
Quick way to build initramfs for a specific kernel version is to invoke dracut with the --kver option

To update boot.cfg /boot/grub2/grub.cfg
 # grub2-mkconfig -o /boot/grub2/grub.cfg

 # reboot

If server is not up, its broken. Try to rescue from boot-CD

The topic on Linux - Using dracut kver is posted by - Indhrani

Hope you have enjoyed, Linux - Using dracut kverThanks for your time

Tech Bluff