From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#27069: LUKS partition ruined by guix init Date: Thu, 25 May 2017 18:41:34 +0200 Message-ID: <8737bsx51d.fsf@fastmail.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDvpv-00056a-8M for bug-guix@gnu.org; Thu, 25 May 2017 12:42:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDvpr-0007c3-CN for bug-guix@gnu.org; Thu, 25 May 2017 12:42:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35231) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDvpq-0007bx-V2 for bug-guix@gnu.org; Thu, 25 May 2017 12:42:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dDvpq-00061n-P3 for bug-guix@gnu.org; Thu, 25 May 2017 12:42:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: someone@selfhosted.xyz, 27069@debbugs.gnu.org --=-=-= 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----- --=-=-=--