Back to the home page
Contents of this page:
- 1. How Grub Customizer complicates your boot system
- 2. How to undo the complications that Grub Customizer has afflicted
How Grub Customizer complicates your boot system1. There's a third-party tool called Grub Customizer, which massively complicates your bootloader. It heavily changes the contents of the system folder /etc/grub.d, which is where important parts of Grub reside. These changes don't disappear, when you remove Grub Customizer after using it!
In that system folder, Grub Customizer changes files into so-called "proxified" files, which creates a complex and unclear situation. This additional thick layer of complexity may have something to do with the problems it can cause: the more you complicate something, the bigger the risk of failures....
Another negative indication is that Grub Customizer isn't present in the official software sources.
The main problem with Grub Customizer in a nutshell: as long as it works as expected, all is fine.
But when there is a problem, removing it and trying to boot without it can create big difficulties. Because the program has done major changes in /etc/grub.d, which would all have to be undone manually. For uninstalling Grub Customizer after using it, does not remove its changes.
That's the downside of the complexity it adds. And for what? For a few things, most of which are non-essential, that can usually also be done without adding a thick layer of complexity....
Grub Customizer (grub-customizer) may look easy and nifty, but can mess up a vital part of your operating system. Your bootloader is as vital as it gets: after all, a system that won't boot anymore, is useless.
Furthermore, most of what Grub Customizer does can also be achieved by other means, without adding thick layers of complexity "under the hood".
Thankfully, Grub Customizer isn't present in the official software repositories. Let's hope it stays out.
Just to make this clear: I mean no disrespect towards Daniel Richter, who is the author of Grub Customizer. I have no doubt that he's a highly skilled programmer and very good at his job. I just think that Grub Customizer is based on a fundamentally wrong technical concept.
If you're interested in the details: below, you'll find the results of my test of Grub Customizer.
I ran a test in a virtual machine with Linux Mint 19.2 Cinnamon: in it, I installed Grub Customizer 5.1.0. Single boot of course, no other operating systems. But I changed the order of the installed kernels somewhat and I set a nice background for the Grub menu. Then I saved the settings.
This is a clean original /etc/grub.d, before using Grub Customizer (click on the image to enlarge it):
And this is /etc/grub.d, after using Grub Customizer like I described. It shows three new folders (click on the image to enlarge it):
Note the file called linux in the new folder proxifiedScripts (click on the image to enlarge it):
Grub Customizer has put the entire contents of /etc/grub.d into the backup folder, which can only mean that the original contents have been changed (click on the image to enlarge it):
The same with /boot/grub:
How to undo the complications that Grub Customizer has afflicted2. If you're a victim of Grub Customizer, you can restore a Timeshift snapshot in order to get rid of it. If you don't have such a snapshot I advise to let it be, as long as it works....
Emergency measure: in case of boot problems, and only then, you should be able to undo GC's complications like this (as yet insufficiently tested, so beware):
a. For this you need to boot into your system, one way or the other. So the boot problems you experience shouldn't prevent you from doing so, or this how-to will be unusable for you.
b. Launch a terminal window.
(You can launch a terminal window like this: *Click*)
c. One by one, copy/paste the following blue lines into the terminal (press Enter after each individual line):
sudo mkdir -v /etc/gcbackup
sudo cp -v -r /etc/grub.d/backup/* /etc/gcbackup
sudo rm -v -r /boot/grub/*
sudo rm -v -r /etc/grub.d/*
sudo rm -v /etc/default/grub
sudo cp -v -r /etc/gcbackup/boot_grub/* /boot/grub
sudo cp -v -r /etc/gcbackup/etc_grub_d/* /etc/grub.d
sudo cp -v /etc/gcbackup/default_grub /etc/default/grub
sudo rm -v -r /etc/gcbackup
If that fails or doesn't produce the desired results, a clean re-installation of your Linux Mint or Ubuntu is the best solution....
Want more tips?
Do you want more tips and tweaks? There's a lot more of them on this website!
Speed up your Linux Mint!
Clean your Linux Mint safely
Avoid 10 fatal mistakes
To the content of this website applies a Creative Commons license.
Back to the home page