nixos/grub: Fix video display on efi
This commit is contained in:
parent
d4f3930201
commit
159fed47bc
nixos/modules/system/boot/loader/grub
|
@ -254,10 +254,15 @@ else {
|
||||||
set timeout=$timeout
|
set timeout=$timeout
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Setup the graphics stack for bios and efi systems
|
||||||
|
insmod vbe
|
||||||
|
insmod efi_gop
|
||||||
|
insmod efi_uga
|
||||||
|
insmod font
|
||||||
if loadfont " . $grubBoot->path . "/grub/fonts/unicode.pf2; then
|
if loadfont " . $grubBoot->path . "/grub/fonts/unicode.pf2; then
|
||||||
set gfxmode=640x480
|
|
||||||
insmod gfxterm
|
insmod gfxterm
|
||||||
insmod vbe
|
set gfxmode=auto
|
||||||
|
set gfxpayload=keep
|
||||||
terminal_output gfxterm
|
terminal_output gfxterm
|
||||||
fi
|
fi
|
||||||
";
|
";
|
||||||
|
|
Loading…
Reference in New Issue