summaryrefslogtreecommitdiff
path: root/gnu/bootloader
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2026-03-03 10:42:45 +0100
committerJanneke Nieuwenhuizen <janneke@gnu.org>2026-03-05 07:24:02 +0100
commita6e48bf329d914b91731d58423fe4cb503252cb1 (patch)
tree5a5c607ec2b235c7e1fd568ca46d200be1666bd4 /gnu/bootloader
parenta31ac4846c02e862a65725c871ae4d2730c4d36f (diff)
bootloader: grub: Always use rumpdisk-style root for the 64-bit Hurd.
* gnu/bootloader/grub.scm (make-grub-configuration): When building for the 64-bit Hurd, use RumpDisk root device name. Change-Id: Iffa9af0a504ea698d055208ac9ed66ea7eac03d7
Diffstat (limited to 'gnu/bootloader')
-rw-r--r--gnu/bootloader/grub.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm
index a6a700aee6d..88c8d13c543 100644
--- a/gnu/bootloader/grub.scm
+++ b/gnu/bootloader/grub.scm
@@ -3,7 +3,7 @@
3;;; Copyright © 2016 Chris Marusich <cmmarusich@gmail.com> 3;;; Copyright © 2016 Chris Marusich <cmmarusich@gmail.com>
4;;; Copyright © 2017 Leo Famulari <leo@famulari.name> 4;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
5;;; Copyright © 2017, 2020 Mathieu Othacehe <m.othacehe@gmail.com> 5;;; Copyright © 2017, 2020 Mathieu Othacehe <m.othacehe@gmail.com>
6;;; Copyright © 2019, 2020, 2023, 2024 Janneke Nieuwenhuizen <janneke@gnu.org> 6;;; Copyright © 2019, 2020, 2023, 2024, 2026 Janneke Nieuwenhuizen <janneke@gnu.org>
7;;; Copyright © 2019, 2020 Miguel Ángel Arruga Vivas <rosen644835@gmail.com> 7;;; Copyright © 2019, 2020 Miguel Ángel Arruga Vivas <rosen644835@gmail.com>
8;;; Copyright © 2020 Maxim Cournoyer <maxim@guixotic.coop> 8;;; Copyright © 2020 Maxim Cournoyer <maxim@guixotic.coop>
9;;; Copyright © 2020 Stefan <stefan-guix@vodafonemail.de> 9;;; Copyright © 2020 Stefan <stefan-guix@vodafonemail.de>
@@ -427,8 +427,11 @@ when booting a root file system on a Btrfs subvolume."
427 (arguments (menu-entry-multiboot-arguments entry)) 427 (arguments (menu-entry-multiboot-arguments entry))
428 ;; Choose between device names as understood by Mach's built-in 428 ;; Choose between device names as understood by Mach's built-in
429 ;; IDE driver ("hdX") and those understood by rumpdisk ("wdX" 429 ;; IDE driver ("hdX") and those understood by rumpdisk ("wdX"
430 ;; in the "noide" case). 430 ;; in the "noide" case). There are no IDE drivers in Mach for
431 (disk (if (member "noide" arguments) "w" "h")) 431 ;; hurd64, so always use rumpdisk there.
432 (rumpdisk? (or (target-hurd64?)
433 (member "noide" arguments)))
434 (disk (if rumpdisk? "w" "h"))
432 (device-spec (and=> device file-system-device->string)) 435 (device-spec (and=> device file-system-device->string))
433 (device-name (and=> device-spec device-spec->device-name)) 436 (device-name (and=> device-spec device-spec->device-name))
434 (modules (menu-entry-multiboot-modules entry))) 437 (modules (menu-entry-multiboot-modules entry)))