diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-02-19 15:35:46 -0500 |
|---|---|---|
| committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2020-03-17 23:08:16 -0400 |
| commit | aaffde38b54c978e2425fa88eea733dc80f87444 (patch) | |
| tree | 195855a225ce7fda4c28317c0555317a98e4df2c /gnu | |
| parent | f6b950319cb41822e2b3f1b55357037da433e1df (diff) | |
bootloader: grub: Use the all_video module in graphic mode.
* gnu/bootloader/grub.scm (eye-candy): Load the module 'all_video'
which automatically loads all the available and relevant video
modules.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/bootloader/grub.scm | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm index b99f5fa4f4b..36a964e8f5a 100644 --- a/gnu/bootloader/grub.scm +++ b/gnu/bootloader/grub.scm | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | ;;; Copyright © 2017 Leo Famulari <leo@famulari.name> | 4 | ;;; Copyright © 2017 Leo Famulari <leo@famulari.name> |
| 5 | ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> | 5 | ;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> |
| 6 | ;;; Copyright © 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> | 6 | ;;; Copyright © 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> |
| 7 | ;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com> | ||
| 7 | ;;; | 8 | ;;; |
| 8 | ;;; This file is part of GNU Guix. | 9 | ;;; This file is part of GNU Guix. |
| 9 | ;;; | 10 | ;;; |
| @@ -162,21 +163,8 @@ system string---e.g., \"x86_64-linux\"." | |||
| 162 | (string-append "set gfxmode=" (string-join gfxmode ";")) | 163 | (string-append "set gfxmode=" (string-join gfxmode ";")) |
| 163 | "# Leave 'gfxmode' to 'auto'.")) | 164 | "# Leave 'gfxmode' to 'auto'.")) |
| 164 | " | 165 | " |
| 165 | insmod video_bochs | 166 | insmod all_video |
| 166 | insmod video_cirrus | ||
| 167 | insmod gfxterm | 167 | insmod gfxterm |
| 168 | |||
| 169 | if [ \"${grub_platform}\" == efi ]; then | ||
| 170 | # This is for (U)EFI systems (these modules are unavailable in the | ||
| 171 | # non-EFI GRUB.) If we don't load them, GRUB boots in \"blind mode\", | ||
| 172 | # which isn't convenient. | ||
| 173 | insmod efi_gop | ||
| 174 | insmod efi_uga | ||
| 175 | else | ||
| 176 | # These are specific to non-EFI Intel machines. | ||
| 177 | insmod vbe | ||
| 178 | insmod vga | ||
| 179 | fi | ||
| 180 | ") | 168 | ") |
| 181 | "")) | 169 | "")) |
| 182 | 170 | ||
