unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* LUKS encrypted root with GuixSD 0.12.0
@ 2016-12-29 23:37 Eddie Baxter
  2016-12-30 23:52 ` LUKS-encrypted root and unencrypted /boot " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Eddie Baxter @ 2016-12-29 23:37 UTC (permalink / raw)
  To: help-guix

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

Hi,

I have attempted to install GuixSD on an encrypted root using LUKS, after
reading the release notes for 0.12.0 that implies this should now work - My
config.scm is linked:

https://gist.github.com/AcouBass/3a1a6ab28c17830a175dc7da95eb18cd

I don't get any errors on installation, nor upon doing a system
reconfigure.

At the moment I am still having to drop to a command prompt in Grub and use
the commands:

  insmod luks
  cryptomount hd0,msdos2

Which while it does work does mean I'm entering my passphrase twice
(As well as having to drop to the Grub command line!)

Is this still an unsupported setup for now? If not, am I doing
something blatently wrong?

Thanks!

[-- Attachment #2: Type: text/html, Size: 1036 bytes --]

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

* Re: LUKS encrypted root with GuixSD 0.12.0
@ 2016-12-30 16:06 Daniel Pimentel (d4n1)
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Pimentel (d4n1) @ 2016-12-30 16:06 UTC (permalink / raw)
  To: Eddie Baxter; +Cc: help-guix

[-- Attachment #1: Type: text/html, Size: 1418 bytes --]

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

* LUKS-encrypted root and unencrypted /boot with GuixSD 0.12.0
  2016-12-29 23:37 LUKS encrypted root with GuixSD 0.12.0 Eddie Baxter
@ 2016-12-30 23:52 ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2016-12-30 23:52 UTC (permalink / raw)
  To: Eddie Baxter; +Cc: bug-guix, help-guix

Hello!

Eddie Baxter <pieceredd@gmail.com> skribis:

> I have attempted to install GuixSD on an encrypted root using LUKS, after
> reading the release notes for 0.12.0 that implies this should now work - My
> config.scm is linked:
>
> https://gist.github.com/AcouBass/3a1a6ab28c17830a175dc7da95eb18cd
>
> I don't get any errors on installation, nor upon doing a system
> reconfigure.
>
> At the moment I am still having to drop to a command prompt in Grub and use
> the commands:
>
>   insmod luks
>   cryptomount hd0,msdos2

The config has an unencrypted /boot and an encrypted root.  What’s
tested and known-good is a configuration with an encrypted root that
contains /boot, like the one here:

  https://www.gnu.org/software/guix/manual/html_node/Using-the-Configuration-System.html#index-encrypted-disk-1

It may be that this configuration is not correctly supported yet.

I’m Cc’ing bug-guix@gnu.org so we keep track of this issue.

> Which while it does work does mean I'm entering my passphrase twice
> (As well as having to drop to the Grub command line!)

The passphrase-twice issue seems hard to avoid: first GRUB needs to
access the partition, and then the kernel needs to access it.

If anyone is aware of ways to solve this, I’m all ears!

Thanks for your report!

Ludo’.

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

end of thread, other threads:[~2016-12-30 23:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-29 23:37 LUKS encrypted root with GuixSD 0.12.0 Eddie Baxter
2016-12-30 23:52 ` LUKS-encrypted root and unencrypted /boot " Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2016-12-30 16:06 LUKS encrypted root " Daniel Pimentel (d4n1)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).