How can I get GRUB in text mode?

When I start up, I get GRUB in framebuffer mode.

I’ve tried:

  boot.loader.grub = {
    gfxmodeEfi = "text";
    gfxmodeBios = "text";
  };

, but this does not help. I still see GRUB in framebuffer mode.