Update README for fedora (noob friendly) grub instructions (#505)

This commit is contained in:
Albert Solomon 2023-05-06 09:53:27 +02:00 committed by GitHub
parent 9912f9d809
commit fe7eab8576
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 2 deletions

View File

@ -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