help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: system hangs at boot - LUKS /home/ problem(?)


From: Fulbert
Subject: Re: system hangs at boot - LUKS /home/ problem(?)
Date: Tue, 26 Mar 2024 18:58:44 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0

I forgot to mention : LUKS version 2 with PBKDF: argon2i. I remember reading
that guix supported LUKS2 except for /boot… but I might be wrong. At least it
has worked for month on my computer until guix d5f857a (22 mar 2024).

So, new question, do I have to convert to LUKS1 ?

Le 26.03.24 à 16:15, Fulbert a écrit :

Hello! Seeking some help/suggestions to solve a problem preventing
my system to boot up, which was working properly up to guix 9b84b36
(21 mar 2024) (note: I confess that my system is not totally pure).

Starting with guix d5f857a (22 mar 2024) up to my latest guix pull
with 1415ea7, the **system hangs during boot**, and it does before
anything is written to /var/log/messages. So, using a video capture
of the screen at boot, I was abble to catch :

#+begin_src boot
shepherd[1]: Exception caught while while starting device-mapping-luks-homes: 
(unbound-variable #f "Unbound variable: "S" (bytevector?) #f)
#+end_src

… which appears to be the culprit ?!

follows a long list of "shepherd[1]: Service XXX depends on YYY" and
then
#+begin_src boot
shepherd[1]: The following services could not be started in the background: 
<follows the list of all services the system should start>
#+end_src

 From there : a blinking cursor and the only way out I found is
CTRL-ALT-DEL, which triggers shepherd to stop some services. After
that I have to shutdown using hardware button.

My system and its config.scm have not changed and I see nothing
relevant, related to LUKS/dm-crypt, in `guix pull -l`.

My LUKS is configured like so :

   (mapped-devices
     (list
       (mapped-device
         (source (uuid "<the uuid>"))
         (target "luks-homes")
         (type luks-device-mapping))))

   (file-systems
     (append
       (list
         […]
         (file-system (mount-point "/home")
                      (device (file-system-label "luks-homes"))
                      (type "ext4")
                      (dependencies mapped-devices))
         […]

Any help would be appreciated.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]