I have an Ubuntu 20.04 on a desktop with 1 hard disk. For the last 2 or 3 months, the boot has slowed down and during bootup, there is an "error: not an assignment" message that flashes and disappears. I checked the questions in this forum from the past, and have checked the syntax of the /etc/grub.d/default file.. it is a very standard file and i don't see any syntax changes.. I have also downloaded grub-customiser and verified the grub config and there are no errors - but the boot is slow, and "error: not an assignment" still persists.
I do not have any custom config under 00_header, or 10_linux or 40_custom.
Is there anything else i need to check?
Update for @ChanganAuto: No errors when running 'sudo update-grub'
@pasmanpasmański, thank you and noted. Updated /etc/default/grub, and ran 'sudo update-grub' and rebooted.. no change, i still get the error:not an assignment message.
~$ grep TIMEOUT /etc/default/grub
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=0
Update: Dec 10
$ grep MODULES /etc/default/grub
#GRUB_PRELOAD_MODULES="part_gpt"
Commented out the preload modules, ran sudo update-grub and still no luck.. the error: not an assignment message persists
Update: resolved
After reading through a few more posts, I finally decided to run boot-repair
- and it seems to have fixed my problem - the error message has disappeared - though it is a bit sad not knowing exactly what caused it or how it was fixed - boot repair info is below in case it is useful https://paste.ubuntu.com/p/XHZMck23s6