Messed up grub?

I installed a bootloader theme from CTT and now I get this trying to update grub:
brian@Zorin-OptiPlex-9020:~$ sudo update-grub
Sourcing file /etc/default/grub' Sourcing file /etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
/usr/sbin/grub-probe: error: failed to get canonical path of `/boot/grub/unicode.pf2GRUB_TIMEOUT_STYLE=menu'.
No path or device is specified.
I never saw the new theme I installed and can't even use the Grub Customizer app now, I get the same error from it.
I should mention that grub still works and is using what I changed with that app weeks ago.

Across the forum, you can find posts where I recommend against using Grub Customizer.

This is why.

It places files in new locations rather than logically using the existing files and configurations. There are already directories present for containing a grub theme. Redirecting it elsewhere creates confusion and potential problems.

And untangling Grub if removing Grub Customizer can be tedious. Since it has set new redirects to who knows where... it can be very hard to remove it and retain a working grub.

You might consider manually moving your theme to /boot/grub/themes

Then edit your grub file

sudo nano /etc/default/grub

at the bottom:
GRUB_THEME=/boot/grub/themes/YOUR-THEME-FOLDER/theme.txt

export GRUB_COLOR_NORMAL="green/black"
export GRUB_COLOR_HIGHLIGHT="light-green/black"
export GRUB_MENU_PICTURE="/media/brian/Backup Plus/Wallpaper/Game-wallpaper-103>
GRUB_FONT="/boot/grub/unicode.pf2"GRUB_TIMEOUT_STYLE="menu"
GRUB_TIMEOUT="60"
GRUB_THEME="/boot/grub/themes/Vimix/theme.txt"
GRUB_GFXMODE="auto"
If I'm understanding that right those things are correct already?

Wow...

Well, that is not what Default Grub looks like...

These should be separate lines
It would be:

GRUB_FONT="/boot/grub/unicode.pf2"
GRUB_TIMEOUT_STYLE="menu"
1 Like

export GRUB_COLOR_NORMAL="green/black"
export GRUB_COLOR_HIGHLIGHT="light-green/black"
#export GRUB_MENU_PICTURE="/media/brian/Backup Plus/Wallpaper/Game-wallpaper-10>
GRUB_FONT="/boot/grub/unicode.pf2"
GRUB_TIMEOUT_STYLE="menu"
GRUB_TIMEOUT="60"
GRUB_THEME="/boot/grub/themes/Vimix/theme.txt"
GRUB_GFXMODE="auto"

I can't for the life of me figure out how to save the changes.

Once I figured out how to save all is well with a new boot theme. Thanks Aravisian

1 Like

Sorry, I was on the road for a moment.

Future reference; there are two ways you can do so in nano.
1.) ctrl+o then enter then ctrl+x
2.) ctrl+x y then enter

1 Like