summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Paśnikowski <marek@marekpasnikowski.pl>2024-10-12 15:10:37 +0200
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-10-12 15:10:37 +0200
commit2faa1e688ed658b6f2674af87d909e36651bc96e (patch)
tree7e1e90e5b4ed6a19f280920905b36394d0bc58a2
parent48017369ec29b2212980fc36bb439d11c88dfadf (diff)
fix(mcdowell): actually fix the bootloader with custom installation
-rw-r--r--systems/mcdowell.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/systems/mcdowell.scm b/systems/mcdowell.scm
index 8ea848d..a738402 100644
--- a/systems/mcdowell.scm
+++ b/systems/mcdowell.scm
@@ -12,12 +12,18 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(define bootloader-target-mcdowell
- "/mnt/boot")
+ "/dev/sdb")
(define (desktop-services-mcdowell)
(use-modules (suweren system))
%suweren-services)
+(define (grub-mkrescue-bootloader-mcdowell)
+ (use-modules (gnu packages bootloaders))
+ ((@ (gnu bootloader) bootloader)
+ (inherit grub-bootloader)
+ (package grub-hybrid)))
+
(define keyboard-layout-mcdowell
((@ (gnu system keyboard) keyboard-layout)
"pl"))
@@ -33,7 +39,7 @@
(define (bootloader-mcdowell)
(use-modules (gnu bootloader grub))
((@ (gnu bootloader) bootloader-configuration)
- (bootloader grub-efi32-bootloader)
+ (bootloader (grub-mkrescue-bootloader-mcdowell))
(keyboard-layout keyboard-layout-mcdowell)
(targets (list bootloader-target-mcdowell))))