Added the proper Fedora update command

Added the correct commands to update GRUB on Fedora.
This commit is contained in:
grohan47 2022-08-25 20:41:54 +05:30 committed by GitHub
parent fe0cf34232
commit 45f4a11aa3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -345,6 +345,16 @@ or
``` ```
sudo grub2-mkconfig -o BOOT_GRUB_LOCATION/grub.cfg sudo grub2-mkconfig -o BOOT_GRUB_LOCATION/grub.cfg
``` ```
On Fedora and RHEL-based distros:
```
sudo grub2-mkconfig -o /etc/grub2.cfg #For BIOS systems
```
OR
```
sudo grub2-mkconfig -o /etc/grub2-efi.cfg #For UEFI systems
```
**WARNING: these commands may not work for you. Your GRUB config directory may vary depending on your distribution.** **WARNING: these commands may not work for you. Your GRUB config directory may vary depending on your distribution.**