Skip to content

Instantly share code, notes, and snippets.

@imabug
Created June 14, 2025 01:10
Show Gist options
  • Select an option

  • Save imabug/285ad15ad6a5d9e3b35739b407ea071c to your computer and use it in GitHub Desktop.

Select an option

Save imabug/285ad15ad6a5d9e3b35739b407ea071c to your computer and use it in GitHub Desktop.
Rebuild initramfs
Sometimes when updating the kernel in Fedora, the initramfs doesn't get built for some reason. To force a rebuild,
sudo dracut --force --kver <kernel>
where <kernel> is the kernel version to build the initramfs for.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment