我如何运行“vbeinfo”?

ænd*_*rük 36 grub2 uefi display-resolution

/etc/default/grub说要运行的说明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
Run Code Online (Sandbox Code Playgroud)

但是在 GRUB 中找不到该命令,

grub> vbeinfo
error: can't find command `vbeinfo'.
Run Code Online (Sandbox Code Playgroud)

或在终端:

$ vbeinfo
vbeinfo: command not found
Run Code Online (Sandbox Code Playgroud)

它在哪里?

小智 43

如果有人仍然关心它实际上

videoinfo
Run Code Online (Sandbox Code Playgroud)

用于 grub-efi


ubf*_*an1 5

vbeinfo 是 grub-pc 中的一个模块,而不是 grub-efi 中的模块。我想您可以使用旧 grub 启动外部媒体并运行 vbeinfo,但它不是新 grub 的一部分。可能安全启动对 grub 可以运行的内容产生了一些限制。