[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72457] [PATCH v4 00/15] Rewrite bootloader subsystem.
From: |
Sergey Trofimov |
Subject: |
[bug#72457] [PATCH v4 00/15] Rewrite bootloader subsystem. |
Date: |
Tue, 06 Aug 2024 08:13:42 +0200 |
Hi Lilah,
Lilah Tascheter <lilah@lunabee.space> writes:
> Fourth time's the charm. Thanks so much for your help!
>
We're doing progress here. After a small fix the new system generation
got successfully activated. Rebooting has shown that grub can't find own
files and enters rescue mode. The culprit is that core.cfg contains
extra `/boot` in the prefix var.
Generated cfg:
--8<---------------cut here---------------start------------->8---
search.fs_uuid "6BA3-A04D" root
set "prefix=($root)/boot"
--8<---------------cut here---------------end--------------->8---
How it probably should be:
--8<---------------cut here---------------start------------->8---
search.fs_uuid "6BA3-A04D" boot
set "prefix=($boot)"
--8<---------------cut here---------------end--------------->8---
Small fixes:
--8<---------------cut here---------------start------------->8---
diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm
index 71fcc90ec7..bba5cad80d 100644
--- a/gnu/bootloader/grub.scm
+++ b/gnu/bootloader/grub.scm
@@ -259,9 +259,9 @@ (define* (core.img grub format #:key bootloader-config
store-crypto-devices
'#$(if tftp? '() '("part_msdos" "part_gpt"))
;; file systems
'#$(cond ((member fs '("ext2" "ext3" "ext4")) '("ext2"))
- ((member fs "vfat" "fat32") "fat")
- ((and tftp? efi?) "efinet")
- ((and tftp? bios?) "pxe")
+ ((member fs '("vfat" "fat32")) '("fat"))
+ ((and tftp? efi?) '("efinet"))
+ ((and tftp? bios?) '("pxe"))
(else (list fs)))
;; store crypto devs
'#$(if (any uuid? store-crypto-devices)
@@ -403,7 +403,7 @@ (define* (grub.cfg #:key bootloader-config
set color_highlight=~a
else
set menu_color_normal=cyan/blue
- set menu_color_highlight=whiute/blue
+ set menu_color_highlight=white/blue
fi~%" #$(sanitize install)
#$(colors->str color-normal)
#$(colors->str color-highlight))))))
--8<---------------cut here---------------end--------------->8---
- [bug#72457] [PATCH v4 03/15] guix: scripts: Remove unused code., (continued)
- [bug#72457] [PATCH v4 03/15] guix: scripts: Remove unused code., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 04/15] gnu: Core bootloader changes., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 01/15] guix: scripts: Rewrite reinstall-bootloader to use provenance data., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 09/15] gnu: packages: Add ukify., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 12/15] gnu: system: Update examples., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 10/15] gnu: packages: Add systemd-stub., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 11/15] gnu: bootloaders: Add uki-efi-bootloader., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 06/15] gnu: bootloader: Add raspberry pi bootloader., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 08/15] gnu: packages: Add pesign., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 13/15] doc: Update bootloader documentation., Lilah Tascheter, 2024/08/05
- [bug#72457] [PATCH v4 00/15] Rewrite bootloader subsystem.,
Sergey Trofimov <=
- [bug#72457] [PATCH v5 00/15] Rewrite bootloader subsystem., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 09/15] gnu: packages: Add ukify., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 02/15] gnu: Add bootloader target infastructure., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 06/15] gnu: bootloader: Add raspberry pi bootloader., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 07/15] gnu: system: Fix bootloader crypto device recognition., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 05/15] gnu: system: Remove useless boot parameters., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 08/15] gnu: packages: Add pesign., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 01/15] guix: scripts: Rewrite reinstall-bootloader to use provenance data., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 10/15] gnu: packages: Add systemd-stub., Lilah Tascheter, 2024/08/06
- [bug#72457] [PATCH v5 04/15] gnu: Core bootloader changes., Lilah Tascheter, 2024/08/06