From 2faa1e688ed658b6f2674af87d909e36651bc96e Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Sat, 12 Oct 2024 15:10:37 +0200 Subject: fix(mcdowell): actually fix the bootloader with custom installation --- systems/mcdowell.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'systems') 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)))) -- cgit v1.2.3