Latest Update to Grub has an error with grub-mkconfig (when using grub-customizer)

Did try your fix worked like a charm. lets hope the dev from the grub customizer tool will fix this soon. but not that i’am using it now, was just playing around wanted to see if this did work. now i can fully remove grub customizer again did use it in the past just for the easy en fast. But not anymore.

1 Like

Removing grub-customizer from your system won’t remove it’s config-files which will heavily interfere with the “normal” grub-configs in /etc/grub.d/. So you will have to restore the original ones manually, which can be tricky. If not doing this, after the next grub-update, your system is fairly likely to be unbootable.

See the OP, and your subfolder named /etc/grub.d/proxifiedScripts/ for the original files, but be aware that grub-customizer has renamed these files. If wanting to restore them, you have to use the file-names from the original folder in /etc/grub.d/ .

1 Like

No worries already restored the originals back, have this version running now core/grub 2:2.06.r322.gd9b4638c5-4 but all works fine now and no grub customizer for me.

grub-customizer makes backups and provides a text file on how to completely restore to the original configuration in /etc/grub.d/backup.

That feature must be enabled, and perhaps not many new users will find it, I guess. It’s been about 2 yrs. between Grub-Customizer and me using it “before I ‘really’ started learning linux”.

Last time, I had to repair my system off of it, and that system (Arch Linux) is still running fine today.

I had some trouble with it too. It’s one of those things that’s easy enough to install and use, but if you want to get rid of it it takes some effort. I suppose someone could suggest a “restore and prep for uninstall” function in it, but what dev really wants to consider someone wanting to remove their software? :wink:

Firstly, they all want to “sell” their product. If not for money, then for their own ego.

It might be a good idea, requesting something like that from the G-C developer, although that might easily go over his head, due to the large variety of distros offering it.

they changed the way it works a lot from what it was in the beginning… it was causing a lot more issues before … it was almost fine but it needs to meet up with grub changes … and it is in no way recommended to use.

Upon the first run it shout make a backup of your current grub stuff in /etc/grub.d/backup.
This could then be used to restore things to the the pre-grub-customizer state.

1 Like

…and that is a pain in the patoot. Nothing for beginners in linux.
While technically possible, it takes some stamina and expertise to hand-roll the installation back.
I’d venture to say, only people can do it, who are aware of how to not use grub-customizer at all and stay on top of everything surrounding grub beforehand.

1 Like

The question, as I understood it, was about the existence of a “mechanism” to restore grub files back to default. The requirement for the level of competence to do so is another question.

Generally speaking, if one doesn’t know how to use a hammer, he/she might end up with a sore thumb.

image

2 Likes

Motto of the story. Don’t use the wrong hammer! :rofl:

Or finally learn how to use it, gddm.

Thanks. This help fix my issue.

sudo pacman -R grub-customizer
sudo mv /etc/default/grub  /etc/default/grub.bak
sudo rm -rf /etc/default/grub
sudo rm -rf /etc/grub.d
sudo pacman -S grub

I was having an issue after removing LTS kernel. In the grub menu on boot after I removed LTS there were two main line kernel entries and if I chose either one it just booted in to the main line kernel and my KDE desktop. Then i remember installing customizer app and trying to open it and it failing then uninstalling it. Your fix resolved the dual listings and I’m back to norml.

Thanks

1 Like