How do I run 'vbeinfo'?

The instructions in /etc/default/grub say to run vbeinfo,

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

but that command isn't found in GRUB,

grub> vbeinfo
error: can't find command `vbeinfo'.

or in the terminal:

$ vbeinfo
vbeinfo: command not found

Where is it?


Solution 1:

If anyone still cares its actually

videoinfo

for grub-efi

Solution 2:

vbeinfo is a module in grub-pc, not in grub-efi. I suppose you could boot an external media with the old grub and run vbeinfo, but it is not a part of the new grub. Probably secure boot led to some restrictions on what grub can run.