From fe7eab8576c233577b1b86448080f21ee58d8db7 Mon Sep 17 00:00:00 2001 From: Albert Solomon <48782826+AlbertSolomon@users.noreply.github.com> Date: Sat, 6 May 2023 09:53:27 +0200 Subject: [PATCH] Update README for fedora (noob friendly) grub instructions (#505) --- README.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dbd5909..0db0e04 100644 --- a/README.md +++ b/README.md @@ -302,7 +302,12 @@ If daemon has been installed, live stats of CPU/system load monitoring and optim **A:** If you're using `intel_pstate/amd-pstate` CPU management driver, consider changing it to `acpi-cpufreq`. -This can be done by editing the `GRUB_CMDLINE_LINUX_DEFAULT` params in `/etc/default/grub`. +This can be done by editing the `GRUB_CMDLINE_LINUX_DEFAULT` params in `/etc/default/grub`. For instance: + +``` + sudo nano /etc/default/grub + # make sure you have nano installed, or you can use your favorite text editor. +``` For Intel users: @@ -316,7 +321,20 @@ For AMD users: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash initcall_blacklist=amd_pstate_init amd_pstate.enable=0" ``` -After you are done, run `sudo update-grub` or `sudo grub-mkconfig -o /boot/grub/grub.cfg`, if you are using Arch. +Once you have made the necessary changes to the GRUB configuration file, you can update it by running `sudo update-grub` or `sudo grub-mkconfig -o /boot/grub/grub.cfg` on Arch Linux. On the other hand, for Fedora, you can update the configuration file by running one of the following commands: + +``` + sudo grub2-mkconfig -o /etc/grub2.cfg +``` + +``` + sudo grub2-mkconfig -o /etc/grub2-efi.cfg +``` + +``` + sudo grub2-mkconfig -o /boot/grub2/grub.cfg + # Legacy boot method for grub update. +``` ### AUR