From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Failed to start service 'device-mapping Date: Sun, 26 Jun 2016 23:00:15 +0200 Message-ID: <8737nzll7k.fsf@gnu.org> References: <3ced718a-b8d0-3eb0-6c3b-ea9cd5513214@ninthfloor.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHHAG-0007z6-Lb for help-guix@gnu.org; Sun, 26 Jun 2016 17:00:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHHAB-0007gW-HT for help-guix@gnu.org; Sun, 26 Jun 2016 17:00:23 -0400 In-Reply-To: <3ced718a-b8d0-3eb0-6c3b-ea9cd5513214@ninthfloor.org> (Kete Foy's message of "Fri, 24 Jun 2016 19:49:06 +0000") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Kete Foy Cc: help-guix@gnu.org Kete Foy skribis: > I checked my config.scm (attached), but I don't see any missing parens > or any discrepancy from Ludo's example > . 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-39ad76210= cfa")) > (target "crypthome") > (type luks-device-mapping)))) Are you sure the UUID is correct? It must be a LUKS UUID, as returned by =E2=80=9Ccryptsetup luksUUID /dev/sdXXYY=E2=80=9D, not an ext2 UUID. Also, the ability to use LUKS UUIDs like this was not available in 0.10.0. So if you=E2=80=99re installing from the 0.10.0 USB image, you must first =E2=80=98guix pull=E2=80=99. Apart from that the config looks OK. HTH! Ludo=E2=80=99.