From unknown Sat Aug 16 13:49:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27069: LUKS partition ruined by guix init Resent-From: someone@selfhosted.xyz Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 25 May 2017 16:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27069 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 27069@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149572956314667 (code B ref -1); Thu, 25 May 2017 16:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 May 2017 16:26:03 +0000 Received: from localhost ([127.0.0.1]:37881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDvaM-0003oS-EZ for submit@debbugs.gnu.org; Thu, 25 May 2017 12:26:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDv9c-00036p-NS for submit@debbugs.gnu.org; Thu, 25 May 2017 11:58:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDv9W-0006uO-QA for submit@debbugs.gnu.org; Thu, 25 May 2017 11:58:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46352) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dDv9W-0006uK-Mz for submit@debbugs.gnu.org; Thu, 25 May 2017 11:58:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDv9V-0000td-90 for bug-guix@gnu.org; Thu, 25 May 2017 11:58:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDv9S-0006ts-6S for bug-guix@gnu.org; Thu, 25 May 2017 11:58:17 -0400 Received: from server0.selfhosted.xyz ([185.147.237.19]:37208) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dDv9R-0006rw-Nc for bug-guix@gnu.org; Thu, 25 May 2017 11:58:14 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by server0.selfhosted.xyz (Postfix) with ESMTP id 494029E82 for ; Thu, 25 May 2017 17:57:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1495727878; bh=S9nDUP6y79yNPOiotieREPoE1EJBe+iSfCwJXWOz7Cc=; h=Date:From:To:Subject; b=gLsF01VZN2OUFb9AHYf5B8ZxpKUNVrQw0gBbAR4LcST5v1gv0ganBcK6AtdKKmth9 7eU1IYQfadD2b0GGMyjxzPkt80kpWXWtvRkvCr2aX2urEZa7CothJCtPaoZ64zGzS6 hkLGEYiljoAUNSZDGQ2ZtK0ZQFtz85vvJVPqENnw7bhXrKiE6sTrJC2VSwt17HNBB4 StUge74CX2DjLRU8NNc70EuVqn5qsIlho38qSclARSxDk1AS0lt7NNB+dfvXM3GYRt qYyjerWN7DWFUfQhlzX8d8QC5aJVkFcuNnDnR9EPyKAu+ypX5dg+42NNpMBA3SrEGN sk6C3PjTNay5Q== X-Fuglu-Suspect: 7386e3711d5447b18582effac6c8f125 X-Fuglu-Spamstatus: NO Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mail@selfhosted.xyz) by server0.selfhosted.xyz (Postfix) with ESMTPSA for ; Thu, 25 May 2017 17:57:47 +0200 (CEST) Date: Thu, 25 May 2017 17:53:42 +0200 (CEST) From: someone@selfhosted.xyz X-X-Sender: user1@localhost Message-ID: MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Mailman-Approved-At: Thu, 25 May 2017 12:26:00 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) Hi, I have several times over tried to install to a LUKS-partition with btrfs and failed but last time I almost had success. guix init command complained that the bios_grub flag wasn't set after many hours of compiling packages and therefore didn't install grub at first. I checked the partition with "cryptsetup luksUUID /dev/sda1" before rerunning guix init and it gives me the luksUUID so the partition seemed intact up to that point. However, after setting the bios_grub flag and rerunning guix init, the installation is successful but afterwards the cryptsetup luksUUID command says that the partition is not a valid luks device, so it seems like the GRUB installation part is what ruins the partition. From unknown Sat Aug 16 13:49:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27069: LUKS partition ruined by guix init Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 25 May 2017 16:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27069 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: someone@selfhosted.xyz, 27069@debbugs.gnu.org Received: via spool by 27069-submit@debbugs.gnu.org id=B27069.149573050023135 (code B ref 27069); Thu, 25 May 2017 16:42:02 +0000 Received: (at 27069) by debbugs.gnu.org; 25 May 2017 16:41:40 +0000 Received: from localhost ([127.0.0.1]:37907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDvpT-000615-Pa for submit@debbugs.gnu.org; Thu, 25 May 2017 12:41:39 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:33829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDvpR-00060w-BI for 27069@debbugs.gnu.org; Thu, 25 May 2017 12:41:38 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8D40F20CB6; Thu, 25 May 2017 12:41:36 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Thu, 25 May 2017 12:41:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=Umub8j3fNKM8sf5HT2IOshFW5eF4XV6Yq0T8Ta/57 wA=; b=cHFw7Olox2H8v6JGTd4hWfpfN3/+xo6nR4OBoOOC52I42qhl1WPmB+Xj9 A5mbUtCjJKl3YboO3n9lBRMv3xdea+d75hpJ/S139BSHEE+Te3RTR/+GDUA/VoQR JbBU69sNMA/4z5ecW2qhv7O8Ra3yI770c1zTX0/UCLoxxyvEFxDyIJVtMULmhGEo lZxmeP9w2Tg7PKRMXikDjiE+6qs99DB1tdSOutQtuLL6NX1wxOAe025SUkscsqT7 fshmQpYhZvinQVHyeXRN0++Avwf3EYIIUeOY6rpIe3USuhw+eMKctA3MoTygyIh4 7KOwTWaeUyMFqROYhk103hM5mpOcA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=Umub8j3fNKM8sf5HT2 IOshFW5eF4XV6Yq0T8Ta/57wA=; b=N14lBEKdCae97/IE/77Vb2Ze8b1fFKZP2F +v98wqmLKOyEiVNYoT8SkfJWXnx81q03PlObrAbc4JX/jpfwblV4KMuF88t5JhSq a7o7ggKPrsQ1oxyis28U4zsD/yIDFF817XqtFzR2uzy1LtJ9BHKIqiiuHKeEnis3 kYgyNzFefQGYiR5ku8UkChVAc2eTAO1uVGrhWOzMp0INhDCmJ0/l2nKYcHhQGyAt lhll0HUs84kbgZhBz6ama2Z8uIPtFau+y2mG3fdRVlVL4qsvnA9HV76yyYvCKADI twtvYEekyig6jU7bt3Mi9jWxp60Nuiz3hC8/eRj7dCei1XR5w9lg== X-ME-Sender: X-Sasl-enc: 2SlZIv4dPjfWWYpeIfVPIwG884BgvIDH7n2jJQyjoBnL 1495730496 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 2026A7E82A; Thu, 25 May 2017 12:41:36 -0400 (EDT) From: Marius Bakke In-Reply-To: References: User-Agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Thu, 25 May 2017 18:41:34 +0200 Message-ID: <8737bsx51d.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain someone@selfhosted.xyz writes: > Hi, > > I have several times over tried to install to a LUKS-partition with > btrfs and failed but last time I almost had success. guix init command > complained that the bios_grub flag wasn't set after many hours of > compiling packages and therefore didn't install grub at first. I > checked the partition with "cryptsetup luksUUID /dev/sda1" before > rerunning guix init and it gives me the luksUUID so the partition > seemed intact up to that point. However, after setting the bios_grub > flag and rerunning guix init, the installation is successful but > afterwards the cryptsetup luksUUID command says that the partition is > not a valid luks device, so it seems like the GRUB installation part > is what ruins the partition. What is your partition layout? The "bios_grub" partition must be a separate (typically tiny) partition with no other data on it. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlknCT4ACgkQoqBt8qM6 VPozUAf8DeKdstgup++Gi6K9Uz5E8WnR7+flQ5jHwfAYm4H5SIaeFUnjGG/SiDFD 4K8jMN1iR7Ok9U8mRJCXZZHTyNeCdQtnMIsBwMIGwDWcM8bcYa25+1NU22YdE+Bf mklY9bo/9wBZ7w5X9FlbbxLnBHD4M/iPSq8aTfta6/k7dK3a7a242MrBMvkfsLxr PrXAh5/pwx2VXYQcu5NdGCLNq3dbkC23d1YVHNZneJbmDDr7HnUl1zluRVDyaT4u P7oMfrs43gEFEOu1x9n2o1L/dmmX+v0odVgHlKmWkC1AGcWDBjRh4F6cwK6BOZvp eZPBo8LZuIclLQLb7NpPUszSSUfaug== =rTNa -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 16 13:49:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27069: LUKS partition ruined by guix init Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 29 May 2017 23:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27069 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Marius Bakke Cc: 27069@debbugs.gnu.org, someone@selfhosted.xyz Received: via spool by 27069-submit@debbugs.gnu.org id=B27069.149609959922365 (code B ref 27069); Mon, 29 May 2017 23:14:01 +0000 Received: (at 27069) by debbugs.gnu.org; 29 May 2017 23:13:19 +0000 Received: from localhost ([127.0.0.1]:43912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFTqg-0005of-Qg for submit@debbugs.gnu.org; Mon, 29 May 2017 19:13:19 -0400 Received: from world.peace.net ([50.252.239.5]:56553) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFTqf-0005oT-70 for 27069@debbugs.gnu.org; Mon, 29 May 2017 19:13:17 -0400 Received: from pool-72-93-28-22.bstnma.east.verizon.net ([72.93.28.22] helo=jojen) by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dFTqA-0001H7-8Q; Mon, 29 May 2017 19:12:46 -0400 From: Mark H Weaver References: <8737bsx51d.fsf@fastmail.com> Date: Mon, 29 May 2017 19:12:14 -0400 In-Reply-To: <8737bsx51d.fsf@fastmail.com> (Marius Bakke's message of "Thu, 25 May 2017 18:41:34 +0200") Message-ID: <87tw43z29d.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Marius Bakke writes: > someone@selfhosted.xyz writes: > >> Hi, >> >> I have several times over tried to install to a LUKS-partition with >> btrfs and failed but last time I almost had success. guix init command >> complained that the bios_grub flag wasn't set after many hours of >> compiling packages and therefore didn't install grub at first. I >> checked the partition with "cryptsetup luksUUID /dev/sda1" before >> rerunning guix init and it gives me the luksUUID so the partition >> seemed intact up to that point. However, after setting the bios_grub >> flag and rerunning guix init, the installation is successful but >> afterwards the cryptsetup luksUUID command says that the partition is >> not a valid luks device, so it seems like the GRUB installation part >> is what ruins the partition. > > What is your partition layout? The "bios_grub" partition must be a > separate (typically tiny) partition with no other data on it. FWIW, my current development system is GuixSD running with a LUKS-encrypted Btrfs root partition with GUID partition table. I don't remember encountering any difficulties during the install. Mark From unknown Sat Aug 16 13:49:03 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: someone@selfhosted.xyz Subject: bug#27069: closed (Re: bug#27069: LUKS partition ruined by guix init) Message-ID: References: <87o9uae5dw.fsf@fastmail.com> X-Gnu-PR-Message: they-closed 27069 X-Gnu-PR-Package: guix Reply-To: 27069@debbugs.gnu.org Date: Tue, 30 May 2017 15:23:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1496157782-2427-1" This is a multi-part message in MIME format... ------------=_1496157782-2427-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #27069: LUKS partition ruined by guix init which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 27069@debbugs.gnu.org. --=20 27069: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27069 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1496157782-2427-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 27069-done) by debbugs.gnu.org; 30 May 2017 15:22:39 +0000 Received: from localhost ([127.0.0.1]:45446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFiyk-0000cM-Ra for submit@debbugs.gnu.org; Tue, 30 May 2017 11:22:39 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:33845) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFiyj-0000cF-Dx for 27069-done@debbugs.gnu.org; Tue, 30 May 2017 11:22:37 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 4A0C020DA0; Tue, 30 May 2017 11:22:37 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Tue, 30 May 2017 11:22:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=JndcwImVNG4vh+UdQrBVq6wH53iVwqDU5I659CPl4 u8=; b=1hR+tsci0Phz5/nO2xt/hR0wfDXva3/n2clJh3/PLsOnGgqxfSM5TCsnP l0bAmkQSVgWNMrhCHe3zBkbQblKWei9RtaEw+hs2eZOr8wALK1JW0NPElYge5L42 Sgc3hWz9tKQLa7VnpzO2erSV8hIW7dk4kB1jQ4q+92/vnTWPQuy2tOHTqE5s0BYj n04VQQ5QpEMA6SAJIYVyaGCy9GBhsVmd9AwNSoUPn0UjaxPMQsSqUiBKzfZtA94+ DBPpzGWGAMKO+fQ/q8hauAeJHMmvgd7vgQl0Vbr9zRbsOQ4TtKoZq1CC4LTadVF1 BgqViTAJJc7QjAcI17giVZTZSj44w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=JndcwImVNG4vh+UdQr BVq6wH53iVwqDU5I659CPl4u8=; b=gDtM6HW8/MLsLl/FD21iuhGNWK9AKXQSP1 di3D0YSMTA/rgKvGkZgBk7TgnGhym9ms7vEC3jtewtkzkwYQjqmc9JsqrHQuBucZ QaE6kAxk9Hh/3NRzy+L5hD6Wd7ivYYuavGVc7oITeZyW2iaAWeHNuyWfzrmkLQRK vNFxUm43XHPg+gNXC4xqJkIFgaKNFQ4nwi9KU7ORLeRgzn5/KNJRSWh9ojweGt9h XHt6t1iwRbGYTuzKWbZhJJ67fed77IbKC0u4x4AbFtHSYdxriaRjC7hcJvLOj+k6 Mc11Mia/JvhYSX0k7YbWgJ02LWCbTFU4CvUowwBpRjvQ3BMSIhUA== X-ME-Sender: X-Sasl-enc: FyVbrBBOZdviVWLIx0h406cBkuN4i/psxwkcsMAecJF2 1496157756 Received: from localhost (gw-itsjefen.trd.as44381.net [92.62.32.122]) by mail.messagingengine.com (Postfix) with ESMTPA id C0C1024871; Tue, 30 May 2017 11:22:36 -0400 (EDT) From: Marius Bakke To: Mark H Weaver Subject: Re: bug#27069: LUKS partition ruined by guix init In-Reply-To: <87tw43z29d.fsf@netris.org> References: <8737bsx51d.fsf@fastmail.com> <87tw43z29d.fsf@netris.org> User-Agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Tue, 30 May 2017 17:22:35 +0200 Message-ID: <87o9uae5dw.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 27069-done Cc: 27069-done@debbugs.gnu.org, someone@selfhosted.xyz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain Mark H Weaver writes: > Marius Bakke writes: > >> someone@selfhosted.xyz writes: >> >>> Hi, >>> >>> I have several times over tried to install to a LUKS-partition with >>> btrfs and failed but last time I almost had success. guix init command >>> complained that the bios_grub flag wasn't set after many hours of >>> compiling packages and therefore didn't install grub at first. I >>> checked the partition with "cryptsetup luksUUID /dev/sda1" before >>> rerunning guix init and it gives me the luksUUID so the partition >>> seemed intact up to that point. However, after setting the bios_grub >>> flag and rerunning guix init, the installation is successful but >>> afterwards the cryptsetup luksUUID command says that the partition is >>> not a valid luks device, so it seems like the GRUB installation part >>> is what ruins the partition. >> >> What is your partition layout? The "bios_grub" partition must be a >> separate (typically tiny) partition with no other data on it. > > FWIW, my current development system is GuixSD running with a > LUKS-encrypted Btrfs root partition with GUID partition table. > I don't remember encountering any difficulties during the install. Interesting. Did you reserve some sectors before the first partition? Or do you have the root partition marked as "bios_grub", which is what seemingly wiped the LUKS headers here? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlktjjsACgkQoqBt8qM6 VPpn/wf+OVgxGO6osFu+7C5WgeJZjw29V9qG7wibG7jHKAp//tHs5Tgfj1DA1ybW 4hngvPx44Hla/x60lktHUJb/7ityimFRA+DG0FXdIha/yAae+posQaffzdZVussc 1P2/l401oXOQZY9jnyqdMfgWtXdaqvIA9E5YgKi02u2jQK0y3XnNXqAgp+gJC/W+ mh0rNh/zmSzrModyx1SM9p7DFVxe6eBgFhJbfIMNRCkYmNzPslBY9asgqAllpVAS ZiSuB0R9qkTI9Mq7druMZNsvT0J9dqF2BitFF34tzCvTbe8xEKkpxxJqS6MOnaK8 LGWOWdV0Gc/9hSbJbCcbGYw3Fu4eGw== =XRj1 -----END PGP SIGNATURE----- --=-=-=-- ------------=_1496157782-2427-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 May 2017 16:26:03 +0000 Received: from localhost ([127.0.0.1]:37881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDvaM-0003oS-EZ for submit@debbugs.gnu.org; Thu, 25 May 2017 12:26:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDv9c-00036p-NS for submit@debbugs.gnu.org; Thu, 25 May 2017 11:58:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDv9W-0006uO-QA for submit@debbugs.gnu.org; Thu, 25 May 2017 11:58:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46352) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dDv9W-0006uK-Mz for submit@debbugs.gnu.org; Thu, 25 May 2017 11:58:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDv9V-0000td-90 for bug-guix@gnu.org; Thu, 25 May 2017 11:58:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDv9S-0006ts-6S for bug-guix@gnu.org; Thu, 25 May 2017 11:58:17 -0400 Received: from server0.selfhosted.xyz ([185.147.237.19]:37208) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dDv9R-0006rw-Nc for bug-guix@gnu.org; Thu, 25 May 2017 11:58:14 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) by server0.selfhosted.xyz (Postfix) with ESMTP id 494029E82 for ; Thu, 25 May 2017 17:57:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=selfhosted.xyz; s=dkim; t=1495727878; bh=S9nDUP6y79yNPOiotieREPoE1EJBe+iSfCwJXWOz7Cc=; h=Date:From:To:Subject; b=gLsF01VZN2OUFb9AHYf5B8ZxpKUNVrQw0gBbAR4LcST5v1gv0ganBcK6AtdKKmth9 7eU1IYQfadD2b0GGMyjxzPkt80kpWXWtvRkvCr2aX2urEZa7CothJCtPaoZ64zGzS6 hkLGEYiljoAUNSZDGQ2ZtK0ZQFtz85vvJVPqENnw7bhXrKiE6sTrJC2VSwt17HNBB4 StUge74CX2DjLRU8NNc70EuVqn5qsIlho38qSclARSxDk1AS0lt7NNB+dfvXM3GYRt qYyjerWN7DWFUfQhlzX8d8QC5aJVkFcuNnDnR9EPyKAu+ypX5dg+42NNpMBA3SrEGN sk6C3PjTNay5Q== X-Fuglu-Suspect: 7386e3711d5447b18582effac6c8f125 X-Fuglu-Spamstatus: NO Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mail@selfhosted.xyz) by server0.selfhosted.xyz (Postfix) with ESMTPSA for ; Thu, 25 May 2017 17:57:47 +0200 (CEST) Date: Thu, 25 May 2017 17:53:42 +0200 (CEST) From: someone@selfhosted.xyz X-X-Sender: user1@localhost To: bug-guix@gnu.org Subject: LUKS partition ruined by guix init Message-ID: MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 25 May 2017 12:26:00 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) Hi, I have several times over tried to install to a LUKS-partition with btrfs and failed but last time I almost had success. guix init command complained that the bios_grub flag wasn't set after many hours of compiling packages and therefore didn't install grub at first. I checked the partition with "cryptsetup luksUUID /dev/sda1" before rerunning guix init and it gives me the luksUUID so the partition seemed intact up to that point. However, after setting the bios_grub flag and rerunning guix init, the installation is successful but afterwards the cryptsetup luksUUID command says that the partition is not a valid luks device, so it seems like the GRUB installation part is what ruins the partition. ------------=_1496157782-2427-1--