[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/04: hydra: berlin: Migrate bootloader from BIOS to UEFI.
From: |
Maxim Cournoyer |
Subject: |
01/04: hydra: berlin: Migrate bootloader from BIOS to UEFI. |
Date: |
Sat, 30 Jul 2022 09:04:33 -0400 (EDT) |
apteryx pushed a commit to branch wip-san-migration
in repository maintenance.
commit 3901696c68d11a75a7e512dc34f476674f0d62c3
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jul 29 14:04:04 2022 -0400
hydra: berlin: Migrate bootloader from BIOS to UEFI.
The recently added Storage Area Network (SAN) is used to hold the ESP
partition data.
* hydra/berlin.scm (bootloader): Switch to grub-efi-bootloader.
(file-systems): Add a mount point for /boot/efi.
---
hydra/berlin.scm | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/hydra/berlin.scm b/hydra/berlin.scm
index ded3a18..2c4c4c3 100644
--- a/hydra/berlin.scm
+++ b/hydra/berlin.scm
@@ -18,7 +18,7 @@
(ice-9 match))
(use-service-modules avahi base databases dns monitoring networking admin
rsync shepherd ssh vpn web)
-(use-package-modules admin base certs databases emacs linux mail monitoring
+(use-package-modules admin base certs databases disk emacs linux mail
monitoring
ssh tls tor vim package-management
version-control
web wget ci rsync
@@ -257,16 +257,20 @@ Happy hacking!\n"))
;; RAID controller.
(initrd-modules (append (list "megaraid_sas" "scsi_transport_sas"
"mpt3sas" "libsas")
- %base-initrd-modules))
+ %base-initrd-modules))
;; Show the GRUB menu on the serial interface.
(bootloader (bootloader-configuration
- (bootloader grub-bootloader)
- (targets '("/dev/sdg"))
+ (bootloader grub-efi-bootloader)
+ (targets '("/boot/efi"))
(terminal-inputs '(serial))
(terminal-outputs '(serial))))
(file-systems (cons*
+ (file-system
+ (mount-point "/boot/efi")
+ (device (uuid "E1B3-BF92" 'fat)) ;/dev/sdi1
+ (type "vfat"))
;; The root file system resides on just a single
;; disk, no RAID :-/
(file-system
@@ -303,6 +307,7 @@ Happy hacking!\n"))
%base-user-accounts))
(packages (cons* btrfs-progs
+ dosfstools
certbot emacs wget iptables
jnettop openssh rsync
;; This is needed to set GIT_SSL_CAINFO allowing