mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
nixos/grub: Fix video display on efi
This commit is contained in:
parent
d4f3930201
commit
159fed47bc
@ -254,10 +254,15 @@ else {
|
||||
set timeout=$timeout
|
||||
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
|
||||
set gfxmode=640x480
|
||||
insmod gfxterm
|
||||
insmod vbe
|
||||
set gfxmode=auto
|
||||
set gfxpayload=keep
|
||||
terminal_output gfxterm
|
||||
fi
|
||||
";
|
||||
|
Loading…
Reference in New Issue
Block a user