Grub menu doesn't show even after configuring it to

I had the same issue Fully working grub on totally black screen after nvidia-340xx-dkms build and install

As a work-around, set
GRUB_TERMINAL_OUTPUT=console

and you get a small graphical output, not pretty but does the job.