Latest amendment in first post.
Short summary - Change grub to grub-vanilla.
grub-vanilla is now in stable branch. Strongly recommend all to change to grub-vanilla, even for those who want a hidden grub menu. It's less problematic. Faster, Easier, and Simpler.
grub-vanilla will be less error prone and the possibility of getting into boot problems will be vastly reduced. We'll still get into problems with people using grub-customizer or manually changing /etc/grub.d/. But using grub-vanilla will be a great step in getting grub to behave as grub should.
There is almost no difference from upstream grub.
Some more details -
- remove all grubenv entries. This should do.
sudo rm /boot/grub/grubenv
sudo grub-editenv /boot/grub/grubenv create
- The existing /etc/default/grub will be used after grub-vanilla is installed.
You might want to check if you want to keep original settings.
- For those wishing to have the original manjaro theme (instead of the black and white text grub menu), at /etc/default/grub (but existing /etc/default/grub will have these anyway, if you haven't removed it).
For those who want to have a 'classic' black/white text, comment out both lines (default settings will replace - GRUB_TERMINAL_OUTPUT commented out will be 'console')
Default is 'menu'. Meaning if not specified (or commented out) in /etc/default/grub, it defaults to 'menu'. For whose who want hidden menu, specify it to 'hidden' That's it. But I'd personally recommend 'countdown' instead. Try it for yourself.
Press 'esc' key from hidden or countdown menu to get to the menu. NOT any other key like 'shift' or 'F8'. That's for the ■■■■
btrfs and f2fs
For those on btrfs and f2fs, Do not use GRUB_SAVEDEFAULT=
GRUB_DEFAULT= can still be used as this does not use grubenv.
And btrfs and f2fs do not need /boot to be in a separate partition.
Just do not use GRUB_SAVEDEFAULT=