From 07fb2f4a973765b5890b79316daf3ca4a4671862 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Mon, 14 Aug 2023 17:35:47 -0400 Subject: [PATCH] nixos/iso-image: Tear down GOP and rely on console for Linux boot This solves an issue where *some systems* (tested on Steam Deck) the EFI GOP may be broken during stage-1. --- nixos/modules/installer/cd-dvd/iso-image.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/installer/cd-dvd/iso-image.nix b/nixos/modules/installer/cd-dvd/iso-image.nix index ee38d41982a4..1c38e29aefa4 100644 --- a/nixos/modules/installer/cd-dvd/iso-image.nix +++ b/nixos/modules/installer/cd-dvd/iso-image.nix @@ -24,6 +24,9 @@ let # Name appended to menuentry defaults to params if no specific name given. option.name or (optionalString (option ? params) "(${option.params})") }' ${optionalString (option ? class) " --class ${option.class}"} { + # Fallback to UEFI console for boot, efifb sometimes has difficulties. + terminal_output console + linux ${defaults.image} \''${isoboot} ${defaults.params} ${ option.params or "" }