* util/grub-mkconfig.in: Stop setting GRUB_VIDEO_BACKEND. Make it
available as a user override instead. Replace the gfxterm backend check with a check that ${GRUB_PREFIX}/video.lst is non-empty. * util/grub.d/00_header.in (load_video): New generated function. Call it before loading gfxterm rather than loading ${GRUB_VIDEO_BACKEND}. * util/grub.d/10_linux.in (linux_entry): Call load_video. * util/grub.d/30_os-prober.in (osx_entry): Likewise. * docs/grub.texi (Simple configuration): Document GRUB_VIDEO_BACKEND.
This commit is contained in:
parent
d49703d151
commit
e4311a9f0f
5 changed files with 35 additions and 17 deletions
|
@ -934,6 +934,16 @@ Disable the generation of recovery mode menu entries for Linux.
|
|||
@item GRUB_DISABLE_NETBSD_RECOVERY
|
||||
Disable the generation of recovery mode menu entries for NetBSD.
|
||||
|
||||
@item GRUB_VIDEO_BACKEND
|
||||
If graphical video support is required, either because the @samp{gfxterm}
|
||||
graphical terminal is in use or because @samp{GRUB_GFXPAYLOAD_LINUX} is set,
|
||||
then @command{grub-mkconfig} will normally load all available GRUB video
|
||||
drivers and use the one most appropriate for your hardware. If you need to
|
||||
override this for some reason, then you can set this option.
|
||||
|
||||
After @command{grub-install} has been run, the available video drivers are
|
||||
listed in @file{/boot/grub/video.lst}.
|
||||
|
||||
@item GRUB_GFXMODE
|
||||
Set the resolution used on the @samp{gfxterm} graphical terminal. Note that
|
||||
you can only use modes which your graphics card supports via VESA BIOS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue