From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WGPIMBTv7mV/AQAAe85BDQ:P1 (envelope-from ) for ; Mon, 11 Mar 2024 12:46:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id WGPIMBTv7mV/AQAAe85BDQ (envelope-from ) for ; Mon, 11 Mar 2024 12:46:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="MnzeIu/2"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710157588; a=rsa-sha256; cv=none; b=MiiKrUuGyaxRc+RHIZMW9acdVjuoERc8iLY1jBJrlLhIiFK0qIsiCbV5aAOnG7Q25zIBMP KtUopOr241T+Ws1dG23cUCKL/c6f2uyb385hEM8/qxVNh51evgwgEwHC4K1F5KDjJNJzOo X/JkfrY+jzjhNtbBMnIKnR/JfS7DOo/weDKwj7KN2exlUOcsKXvDCvn07ueKkWSpRE8KOv TvtPaHWHcVTt1PBGfBomDn/KFllW45kLKpOcAIZc5CjQAEi7jWW5wx2sY+nejJGJEVu4fU 8q2BXNqSzO59LTyKn2xptdSxo1IAJC+iKZ2W78bS1bzcujd1YZE+6+i5a7DpPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b="MnzeIu/2"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710157588; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Rjjg8XXcj/ZYax8GNFDNFqFozBq4RhZVz0thNeZYIZc=; b=hV4XoHzgo0rPONI+CrHC5SoDolBD3MWB50hcpM/ydf5rIbND/og/CDvWzNaF8liKPdrZCV S1hRi9+wdSH/SPh13SDcNNogQiV/huGXFgHxUSqnf15d1eev/wcjrPmyiFmX6Wo6NL7M1O QayKT+RYNHfsGp2pcIDvZgGwwziYBafIC4rD3zlAvaaNbE2I1Rjymm7cu3nw83ucuYG3Ud MqgxwX8FelxGpymk4z5RoqLFy1/SA0uwO0eXgYZ2zUzGyH6mTJM2oZoW35jD2hpCT7sySj CzhbAIYNOFM1NH6Mjp99Dzq0Bhe/eYdWoDf+1ETkNuTkQnzCF2R/4MWRlqmq9A== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8C160A1BF for ; Mon, 11 Mar 2024 12:46:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjdqS-00052y-Vz; Mon, 11 Mar 2024 07:29:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjdqQ-00052h-P3 for help-guix@gnu.org; Mon, 11 Mar 2024 07:29:26 -0400 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rjdqO-0006ND-6i for help-guix@gnu.org; Mon, 11 Mar 2024 07:29:26 -0400 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-50e4e36c09cso1713539e87.1 for ; Mon, 11 Mar 2024 04:29:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710156561; x=1710761361; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :from:to:cc:subject:date:message-id:reply-to; bh=Rjjg8XXcj/ZYax8GNFDNFqFozBq4RhZVz0thNeZYIZc=; b=MnzeIu/2Njo6a2uNOMiIQge9uxesM7CJuyZsjyI0opPvSiJ56dizOhF7WMzuXmPMpZ 4P/GLimurtBR2h4ilWjb5RzDB99LnC0K9K7klNwBABpzP50oaMRAhnGP4mcBtfazCBbf H92G/KlV0qscN/9jzRmvb0q47DGjRLsKfHHU4C0Txnb3r+oV2YmAmhLgXLfnVrM7CJIs Tn1MzaqYRTXkzj8Fs52zqCSMOJXda3e31nvfrae7W0O1Z06Ar3Z12MxeBfnxkA72JTmS a0649fZJBoc2MX9+PK88Q6HZKQcYJklVQGegFgJSHO21xA1rjLhU/MtauLy7FRa77Xvr VbWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710156561; x=1710761361; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Rjjg8XXcj/ZYax8GNFDNFqFozBq4RhZVz0thNeZYIZc=; b=KF6UiPRIwRLw0twDQ/nBMggsPQiUYEJmWCJfhuwzOk2lR+hSyHgej7iwtgWLpOWasd mTJ3iOFYLNvFPnehSC9Cdfuz1l4M6bGW/eC/W0+eKXutr7uMSBNv22zjaAfyVkEz5uFx FGf2y+bZKmgtNXVsLVswhhAmCEMEc/YMep4bVRr80QJsyPlX0IujEciiB0BVmlWf1pA7 CgOpMqAARCUdlSKKdPt4K7fBY2ddSsRRvA+cMYzZM+KOIaaZ5idE8p2wbkEK6LoNq18B NlTYWM6OX0YDKakRsud9Cc7vfHe9CsiEaAxknIx1zrTu54XTdSzd06SY02+kRsXVoAc/ ejvw== X-Forwarded-Encrypted: i=1; AJvYcCWB2/8sA2SV3xvlqcrxncOTKAWMtgkb6sAPe2kvx8pFbny8P97gsMXlWsoKhybC2hLEBhJmBD8PXyAiCs3Kcj+6Yw== X-Gm-Message-State: AOJu0Yzr3vyWDBmcaSk/6M63bgOQ7gIkpFC0qKhvsi6pBQ26ctkppF1q L2TA/dr+mp0q/UtPgTG+V9WCgFOTpluOrTWl4IMEOnIIQ+KmHXKyGexZ9Dl+ X-Google-Smtp-Source: AGHT+IGjKuQMbSsvx4J5phstS2b75qlFQqTjnYCs0DsvFVf9exWvzlq11yRWUNtT4KHGE0gFMRsong== X-Received: by 2002:a05:6512:3b81:b0:513:aef5:b431 with SMTP id g1-20020a0565123b8100b00513aef5b431mr1241357lfv.4.1710156561074; Mon, 11 Mar 2024 04:29:21 -0700 (PDT) Received: from localhost ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id o10-20020a056512052a00b005134b126f0asm1039051lfc.110.2024.03.11.04.29.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 04:29:20 -0700 (PDT) From: Oleg Pykhalov To: Christopher Howard , Help Guix Subject: Re: Encrypted Images? In-Reply-To: References: Date: Mon, 11 Mar 2024 14:29:19 +0300 Message-ID: <871q8hm2gg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=go.wigust@gmail.com; helo=mail-lf1-x12d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -10.66 X-Spam-Score: -10.66 X-Migadu-Queue-Id: 8C160A1BF X-TUID: wt+CYvM1HqaI --=-=-= Content-Type: text/plain Hi Christopher, Christopher Howard writes: > Hi, I've recently starting learning how to use `guix system image', > and have learned enough to create one raw image which I was able to > copy onto a hard drive on another computer. > > I am wondering if it is possible to use `guix system image' to create > an image that is luks encrypted, with the other file systems and OS > installed on that. If not, can I setup an luks-encrypted image > manually and then have guix system install to that somehow, without > having to boot up into an installer disc and run through all the > installation steps? > > I see documentation in the manual for the luks target, of course, but > I am unclear on how that ties into guix system image and how much guix > system is able to do on its own. It's possible to generate an image by utilizing the functionality of the install.scm file from git.savannah.gnu.org/git/guix/gnu/tests. Once you've made the necessary changes to the system configuration within this file, you can trigger the creation of the image by running make check-system TESTS="encrypted-root-os". This action will generate the image, and by examining the resulting derivations in the output, you will find one that directs you to the disk image. You will require a strong understanding of partitioning and bootloaders to successfully transfer and deploy this image onto a hard drive of another computer. Regargs, Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAmXu6w8UHGdvLndpZ3Vz dEBnbWFpbC5jb20ACgkQFn+OpQAa+pzQIQ//Rf6g0GtlBzhy6rCwmVLmer4N02Y+ nk76xWmyn3f1dwIWxe8RHjx60URJJRrmGOgOP4bBpsNi5ooENvPAJy1rJMuP8x5Y qtNJbYwlNoC7hV1/4hOJc7lkd0ncu2EFQdqlVC0rkiCSz0w0V20ArYsP5ItMcKzb +/L8Ypxx4B7rF6QVUQ1tljqquN0KwmTJ++x8RT21cM41t+lLXvDAXPfnutRC1htL 7GfrEjUqKnYqy5xp6V4RTru2xt5cyaTdEBulAVVbNjcjpplZ+JRVPDjS7mSzg+0r oZaIRvdXnCnxhjnnH55oOClHtT0CjFEO/fg3H/9N5GFCsNEkd+6FUYVsvIow6HfM 4phS6Ca1zXiKpBQiz2xRSk0bm30PpjO9VO2X97BFHq63DEVHJv7aDAu1VnSa1gMt +Vqjmm4rYheFEsbdUFXW5LwlkmCAhdQ+016plMbp0HauNhviq1+6Of8nDhUgES4v Ld4tEfDVxZajbXXU5gYOgBDLciVgILNeL1riLpqSxGvilz8T1uWAihwRK8meO5Bj e96oW8DaJsjOKlCAhbgS6YSHm2B3MF7OOPLBKsbg9zGLlELYqFjk9YTJc50fdCb5 zbHqXYpFVVW+kWQ/Tr7Z2teb+LmOtd4+d8dG3yT5cEqGmx9Sd1/lRfVbw9r0MR9d Y4WBRkQxFCjapfw= =xP9Y -----END PGP SIGNATURE----- --=-=-=--