From b4c738579b011da081e1b4cbffb35ca8d37945a6 Mon Sep 17 00:00:00 2001 From: sspencerwire Date: Tue, 5 Nov 2024 10:27:30 -0600 Subject: [PATCH] Minor editing `regenerate_initramfs.md` * put initramfs in back tics within header * remove duplicate level 1 header (level 1 header provided by the title: meta) * file system, rather than filesystem * one minor command instruction simplification * might instead of may --- docs/guides/kernel/regenerate_initramfs.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/docs/guides/kernel/regenerate_initramfs.md b/docs/guides/kernel/regenerate_initramfs.md index 7a947fe15f..47f7170829 100644 --- a/docs/guides/kernel/regenerate_initramfs.md +++ b/docs/guides/kernel/regenerate_initramfs.md @@ -1,26 +1,23 @@ --- -title: Regenerate initramfs +title: Regenerate `initramfs` author: Neel Chauhan -contributors: +contributors: Steven Spencer tested_with: 9.4 tags: - hardware --- -# Regenerate initramfs - ## Introduction -An `initramfs` is the root filesystem inside a Linux kernel to help boot the system. It contains the core modules needed to boot Linux. +An `initramfs` is the root file system inside a Linux kernel to help boot the system. It contains the core modules needed to boot Linux. -Sometimes, an Linux administrator might want to regenerate the `initramfs`, say if they want to blacklist a driver or include a out-of-band module. For instance, the author did this to [enable Intel vPro on a Minisforum MS-01](https://spaceterran.com/posts/step-by-step-guide-enabling-intel-vpro-on-your-minisforum-ms-01-bios/). +Sometimes, an Linux administrator might want to regenerate the `initramfs`, say if they want to blacklist a driver or include a out-of-band module. The author did this to [enable Intel vPro on a Minisforum MS-01](https://spaceterran.com/posts/step-by-step-guide-enabling-intel-vpro-on-your-minisforum-ms-01-bios/). ## Requirements The following are the minimum requirements for using this procedure: * A Rocky Linux system or virtual machine (not a container) - * Changes to the kernel setup, such as blacklisting or adding a module ## Regenerating the `initramfs` @@ -37,7 +34,7 @@ Next, run `dracut` to regenerate the `initramfs`: dracut -f /boot/initramfs-$(uname -r).img $(uname -r) ``` -Subsequently, reboot: +Then reboot: ```bash reboot @@ -45,4 +42,4 @@ reboot ## Conclusion -The Linux kernel is extremely powerful and modular. It makes sense that some users may want to allow or disallow certain modules, and regenerating the `initramfs` allows for this to happen. So cheers, you regenerated yours! +The Linux kernel is extremely powerful and modular. It makes sense that some users might want to allow or disallow certain modules, and regenerating the `initramfs` allows for this to happen.