all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Oleg Pykhalov <go.wigust@gmail.com>
To: Christopher Howard <christopher@librehacker.com>,
	Help Guix <help-guix@gnu.org>
Subject: Re: Encrypted Images?
Date: Mon, 11 Mar 2024 14:29:19 +0300	[thread overview]
Message-ID: <871q8hm2gg.fsf@gmail.com> (raw)
In-Reply-To: <Zei7mrnJKsf0eQml@theoden>

[-- Attachment #1: Type: text/plain, Size: 1454 bytes --]

Hi Christopher,

Christopher Howard <christopher@librehacker.com> 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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

      parent reply	other threads:[~2024-03-11 11:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-06 18:53 Encrypted Images? Christopher Howard
2024-03-08  2:14 ` Maxim Cournoyer
2024-03-11 11:29 ` Oleg Pykhalov [this message]

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

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

  git send-email \
    --in-reply-to=871q8hm2gg.fsf@gmail.com \
    --to=go.wigust@gmail.com \
    --cc=christopher@librehacker.com \
    --cc=help-guix@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.