From 74ef95960561a74ea9e69a0f8aa9e2a7ad421d3f Mon Sep 17 00:00:00 2001 From: grohan47 <74037058+grohan47@users.noreply.github.com> Date: Tue, 19 Apr 2022 20:54:51 +0530 Subject: [PATCH 1/7] Added some install instructions. Added installation instructions for Fedora & Added the correct grub update commands for UEFI and BIOS systems. --- README.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 938ce07..ced501e 100644 --- a/README.md +++ b/README.md @@ -201,6 +201,13 @@ Eopkg ``` sudo eopkg install grub-customizer ``` +Dnf/Fedora + +**Grub Customizer DOES NOT WORK on recent Fedora releases without extensive modification. [Manually installing](#manual-installation) is much more secure and hassle free.** + +``` +sudo dnf install grub-customizer +``` ### Install pre-made theme with Grub Customizer @@ -283,18 +290,31 @@ Ctrl+O to save, Ctrl+X to exit You will need to tell Grub to update its configuration to include the new theme. -Ubuntu and Debian-based systems: +##### Ubuntu and Debian-based systems: ``` sudo update-grub ``` -Other Linux distro: +##### Fedora, Arch & Other Linux distros: + +To find out whether you have a BIOS or UEFI system, run the following command in a terminal: +``` +inxi -M | grep -i 'UEFI\|BIOS' +``` + +If you have a BIOS system, run: ``` sudo grub-mkconfig -o /boot/grub/grub.cfg ``` +If you have a UEFI system, run: + +``` +sudo grub2-mkconfig /etc/grub2-efi.cfg +``` + ## Install theme in Ventoy Extract `Ventoy.tar` to `/ventoy/theme` directory From 584e7fc0d39e2b50da496aa3efc1b139877fca1f Mon Sep 17 00:00:00 2001 From: grohan47 <74037058+grohan47@users.noreply.github.com> Date: Tue, 19 Apr 2022 20:56:55 +0530 Subject: [PATCH 2/7] Changed order of points. --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index ced501e..0a8f2df 100644 --- a/README.md +++ b/README.md @@ -195,13 +195,7 @@ Pacman ``` sudo pacman -S grub-customizer ``` - -Eopkg - -``` -sudo eopkg install grub-customizer -``` -Dnf/Fedora +Dnf **Grub Customizer DOES NOT WORK on recent Fedora releases without extensive modification. [Manually installing](#manual-installation) is much more secure and hassle free.** @@ -209,6 +203,12 @@ Dnf/Fedora sudo dnf install grub-customizer ``` +Eopkg + +``` +sudo eopkg install grub-customizer +``` + ### Install pre-made theme with Grub Customizer - Open Grub Customizer From d1d0c2dd26011dfe50bb72e35e53b4b42a29602d Mon Sep 17 00:00:00 2001 From: grohan47 <74037058+grohan47@users.noreply.github.com> Date: Tue, 19 Apr 2022 22:07:26 +0530 Subject: [PATCH 3/7] Added some install instructions. Added installation instructions for Fedora & the correct grub update commands for UEFI and BIOS systems. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a8f2df..4ee984d 100644 --- a/README.md +++ b/README.md @@ -197,7 +197,7 @@ sudo pacman -S grub-customizer ``` Dnf -**Grub Customizer DOES NOT WORK on recent Fedora releases without extensive modification. [Manually installing](#manual-installation) is much more secure and hassle free.** +**Grub Customizer DOES NOT WORK on recent Fedora releases without extensive modification. [Manually installing](#manual-installation) a GRUB theme is much more secure and hassle free.** ``` sudo dnf install grub-customizer From 41002157cc083b9fd537a748995161950a33249e Mon Sep 17 00:00:00 2001 From: grohan47 <74037058+grohan47@users.noreply.github.com> Date: Tue, 19 Apr 2022 22:30:05 +0530 Subject: [PATCH 4/7] Added some notes to Manual Installation section Added a note to let the user know that the name of the GRUB folder varies distro to distro & Replaced ubuntu with generic name. --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4ee984d..47e78fe 100644 --- a/README.md +++ b/README.md @@ -247,6 +247,8 @@ git clone https://github.com/AdisonCavani/distro-grub-themes.git ``` sudo mkdir /boot/grub/themes +or +sudo mkdir /boot/grub2/themes ``` #### Edit or use pre-made theme @@ -260,7 +262,9 @@ cd distro-grub-themes/customize Theme must be unpacked (in folder) ``` -sudo cp -r ubuntu/ /boot/grub/themes +sudo cp -r / /boot/grub/themes +or +sudo cp -r / /boot/grub2/theme ``` #### Edit Grub config @@ -280,10 +284,16 @@ GRUB_GFXMODE=1920x1080 At the end of file add theme path: ``` -GRUB_THEME="/boot/grub/themes/ubuntu/theme.txt" +GRUB_THEME="/boot/grub/themes//theme.txt" ``` -Replace "ubuntu" with selected theme
+### Note: +- **Replace "" with selected theme's name.** + +- **To check what name your distro has given the GRUB folder, run:** + ``` + ls /boot | grep -i -w 'grub\|grub2' + ``` Ctrl+O to save, Ctrl+X to exit #### Update Grub config From 59bcdbccf5c511eba0aab7b2bcdab4fdc6226b34 Mon Sep 17 00:00:00 2001 From: grohan47 <74037058+grohan47@users.noreply.github.com> Date: Wed, 20 Apr 2022 14:52:27 +0530 Subject: [PATCH 5/7] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 47e78fe..a9c0f61 100644 --- a/README.md +++ b/README.md @@ -264,7 +264,7 @@ Theme must be unpacked (in folder) ``` sudo cp -r / /boot/grub/themes or -sudo cp -r / /boot/grub2/theme +sudo cp -r / /boot/grub2/themes ``` #### Edit Grub config @@ -285,6 +285,8 @@ At the end of file add theme path: ``` GRUB_THEME="/boot/grub/themes//theme.txt" +or +GRUB_THEME="/boot/grub2/themes//theme.txt" ``` ### Note: From e033326206b88018a4c66226d89fb3977c812640 Mon Sep 17 00:00:00 2001 From: grohan47 <74037058+grohan47@users.noreply.github.com> Date: Wed, 20 Apr 2022 15:42:34 +0530 Subject: [PATCH 6/7] Update README.md Added proper terminal commands for grub and grub2 --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a9c0f61..8bd4c50 100644 --- a/README.md +++ b/README.md @@ -318,13 +318,15 @@ inxi -M | grep -i 'UEFI\|BIOS' If you have a BIOS system, run: ``` -sudo grub-mkconfig -o /boot/grub/grub.cfg +sudo grub-mkconfig -o /etc/grub.cfg +or +sudo grub2-mkconfig -o /etc/grub2.cfg ``` If you have a UEFI system, run: ``` -sudo grub2-mkconfig /etc/grub2-efi.cfg +sudo grub2-mkconfig -o /etc/grub2.cfg && sudo grub2-mkconfig -o /etc/grub2-efi.cfg && sudo grub2-mkconfig /etc/grub2-efi.cfg ``` ## Install theme in Ventoy From 6db532b8a014d0e9e64dd15b002797ab90fd3801 Mon Sep 17 00:00:00 2001 From: grohan47 <74037058+grohan47@users.noreply.github.com> Date: Wed, 20 Apr 2022 16:15:50 +0530 Subject: [PATCH 7/7] Added more warnings --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8bd4c50..b89f315 100644 --- a/README.md +++ b/README.md @@ -197,9 +197,10 @@ sudo pacman -S grub-customizer ``` Dnf -**Grub Customizer DOES NOT WORK on recent Fedora releases without extensive modification. [Manually installing](#manual-installation) a GRUB theme is much more secure and hassle free.** +**WARNING:Grub Customizer DOES NOT WORK on recent Fedora releases without extensive modification. [Manually installing](#manual-installation) a GRUB theme is much more secure and hassle free.** ``` +Use at own risk. sudo dnf install grub-customizer ``` @@ -328,6 +329,7 @@ If you have a UEFI system, run: ``` sudo grub2-mkconfig -o /etc/grub2.cfg && sudo grub2-mkconfig -o /etc/grub2-efi.cfg && sudo grub2-mkconfig /etc/grub2-efi.cfg ``` +**WARNING:These commands have only been tested on Fedora UEFI. If you are able to install a GRUB theme using these commands successfully, please add your distro's name here.** ## Install theme in Ventoy