[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37851: Grub installation only checks for encrypted /boot folder
From: |
Miguel Arruga Vivas |
Subject: |
bug#37851: Grub installation only checks for encrypted /boot folder |
Date: |
Mon, 21 Oct 2019 13:07:09 +0200 |
Hi,
The following configuration results in an unbootable system. The
root partition must be manually mounted with cryptomount in order to
boot the system.
The core issue is that grub unencrypts automatically, as
GRUB_ENABLE_CRYPTODISK=y was provided during installation, the /boot
partition, but not the partition which contains /gnu/store.
Happy hacking!
Miguel
==================== config.scm ====================
;; ....
(operating-system
;; ...
(bootloader
(bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")))
(mapped-devices
(list (mapped-device
(source (uuid "uuid root device"))
(target "root")
(type luks-device-mapping))
(mapped-device
(source (uuid "uuid boot device"))
(target "boot")
(type luks-device-mapping))))
(file-systems
(cons* (file-system
(mount-point "/")
(device "/dev/mapper/root")
(type "btrfs")
(dependencies mapped-devices))
(file-system
(mount-point "/boot")
(device "/dev/mapper/boot")
(type "ext4")
(dependencies mapped-devices))
%base-file-systems)))
==================== config.scm ====================
- bug#37851: Grub installation only checks for encrypted /boot folder,
Miguel Arruga Vivas <=