all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Encrypted Images?
@ 2024-03-06 18:53 Christopher Howard
  2024-03-08  2:14 ` Maxim Cournoyer
  2024-03-11 11:29 ` Oleg Pykhalov
  0 siblings, 2 replies; 3+ messages in thread
From: Christopher Howard @ 2024-03-06 18:53 UTC (permalink / raw)
  To: Help Guix

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.

-- 
📛 Christopher Howard
🚀 gemini://gem.librehacker.com
🌐 http://gem.librehacker.com

בראשית ברא אלהים את השמים ואת הארץ


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Encrypted Images?
  2024-03-06 18:53 Encrypted Images? Christopher Howard
@ 2024-03-08  2:14 ` Maxim Cournoyer
  2024-03-11 11:29 ` Oleg Pykhalov
  1 sibling, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2024-03-08  2:14 UTC (permalink / raw)
  To: Christopher Howard; +Cc: Help Guix

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 not currently possible; 'guix system' doesn't offer much in terms
of declaring partitions layouts, creating file systems, LUKS layers,
etc.

-- 
Thanks,
Maxim


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Encrypted Images?
  2024-03-06 18:53 Encrypted Images? Christopher Howard
  2024-03-08  2:14 ` Maxim Cournoyer
@ 2024-03-11 11:29 ` Oleg Pykhalov
  1 sibling, 0 replies; 3+ messages in thread
From: Oleg Pykhalov @ 2024-03-11 11:29 UTC (permalink / raw)
  To: Christopher Howard, Help Guix

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-11 11:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06 18:53 Encrypted Images? Christopher Howard
2024-03-08  2:14 ` Maxim Cournoyer
2024-03-11 11:29 ` Oleg Pykhalov

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.