unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Kete Foy <kete@ninthfloor.org>
Cc: help-guix@gnu.org
Subject: Re: Failed to start service 'device-mapping
Date: Sun, 26 Jun 2016 23:00:15 +0200	[thread overview]
Message-ID: <8737nzll7k.fsf@gnu.org> (raw)
In-Reply-To: <3ced718a-b8d0-3eb0-6c3b-ea9cd5513214@ninthfloor.org> (Kete Foy's message of "Fri, 24 Jun 2016 19:49:06 +0000")

Kete Foy <kete@ninthfloor.org> skribis:

> I checked my config.scm (attached), but I don't see any missing parens
> or any discrepancy from Ludo's example
> <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00964.html>. I
> also based the rest on rain1's github wiki:
> https://gitlab.com/rain1/guix-wiki/wikis/encrypted-home-config.scm.
>
> I booted the computer, and Grub loaded the kernel. Then, the device
> mapper failed to start, and apparently, every service afterward also
> failed to start: user-processes, guix-daemon, term-tty6, dbus-system,
> xorg-server, etc. I'm trying to run with an encrypted partition mounted
> at /home.
>
> Do I need to correct my config.scm and run the herd and guix system init
> commands again?

>   (mapped-devices (list (mapped-device
>                          (source (uuid "ea0f857c-038b-4dda-b81f-39ad76210cfa"))
>                          (target "crypthome")
>                          (type luks-device-mapping))))

Are you sure the UUID is correct?  It must be a LUKS UUID, as returned
by “cryptsetup luksUUID /dev/sdXXYY”, not an ext2 UUID.

Also, the ability to use LUKS UUIDs like this was not available in
0.10.0.  So if you’re installing from the 0.10.0 USB image, you must
first ‘guix pull’.

Apart from that the config looks OK.

HTH!

Ludo’.

  reply	other threads:[~2016-06-26 21:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-24 19:49 Failed to start service 'device-mapping Kete Foy
2016-06-26 21:00 ` Ludovic Courtès [this message]
2016-06-26 23:17   ` Kete Foy
2016-06-27  7:14   ` Kete Foy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8737nzll7k.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=kete@ninthfloor.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).