unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Reg <reg@disroot.org>
To: Giovanni Biscuolo <g@xelera.eu>
Cc: 35875@debbugs.gnu.org
Subject: bug#35875: Guix won't boot after installation with fully encrypted disk
Date: Wed, 29 May 2019 22:52:21 +0200	[thread overview]
Message-ID: <a5b8aed1-98ed-d733-3a95-5b0ccfbcc136@disroot.org> (raw)
In-Reply-To: <87o93l1b65.fsf@roquette.mug.biscuolo.net>


[-- Attachment #1.1: Type: text/plain, Size: 4416 bytes --]

Hi Giovanni,

Here's the content of /mnt/etc/config.scm:

--8<---------------cut here---------------start------------->8---
;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu))
(use-service-modules desktop networking ssh xorg)

(operating-system
  (locale "en_US.utf8")
  (timezone "Europe/Stockholm")
  (keyboard-layout (keyboard-layout "fr" "mac"))
  (bootloader
    (bootloader-configuration
      (bootloader grub-efi-bootloader)
      (target "/boot/efi")
      (keyboard-layout keyboard-layout)))
  (mapped-devices
    (list (mapped-device
            (source
              (uuid "e613d30e-c46f-4cb3-8bde-409009be5e2e"))
            (target "cryptroot")
            (type luks-device-mapping))))
  (file-systems
    (cons* (file-system
             (mount-point "/boot/efi")
             (device (uuid "2E91-4865" 'fat32))
             (type "vfat"))
           (file-system
             (mount-point "/")
             (device "/dev/mapper/cryptroot")
             (type "ext4")
             (dependencies mapped-devices))
           %base-file-systems))
  (host-name "xiu")
  (users (cons* (user-account
                  (name "reg")
                  (comment "Reg")
                  (group "users")
                  (home-directory "/home/reg")
                  (supplementary-groups
                    '("wheel" "netdev" "audio" "video")))
                %base-user-accounts))
  (packages
    (append
      (list (specification->package "i3-wm")
            (specification->package "nss-certs"))
      %base-packages))
  (services
    (append
      (list (service gnome-desktop-service-type)
            (service openssh-service-type)
            (set-xorg-configuration
              (xorg-configuration
                (keyboard-layout keyboard-layout))))
      %desktop-services)))

--8<---------------cut here---------------end--------------->8---

Thanks for the support,
Reg

Am 2019-05-29 um 18:24 schrieb Giovanni Biscuolo:
> Hello Reg,
>
> Reg <reg@disroot.org> writes:
>
> [...]
>
>>> Anyway, to check if GPU is the problem here could you please add
>>> "modprobe.blacklist=radeon" [2] (or vga=791 if this does not work [3])
>>> to the "linux" kernel arguments and report back the error messages, if
>>> any?
>> No error message & still the same issue with both these arguments.
> OK so it seems this is not related to your GPU but to disk encryption
>
> I cannot reproduce your very same situation: I'm using a manual
> partition scheme (not the guided one) since I want to presenve a couple
> partitions on my HD
>
> I was able to install and boot Guix on an encrypted BTRFS partition with
> no issues, this is what the installer configured for bootloader,
> mapped-devices and file-systems:
>
> --8<---------------cut here---------------start------------->8---
>   (bootloader
>     (bootloader-configuration
>       (bootloader grub-efi-bootloader)
>       (target "/boot/efi")
>       (keyboard-layout keyboard-layout)))
>   (mapped-devices
>     (list (mapped-device
>             (source
>               (uuid "228371e9-9cd7-4bb5-8976-d65029892b8e"))
>             (target "guix")
>             (type luks-device-mapping))))
>   (file-systems
>     (cons* (file-system
>              (mount-point "/")
>              (device "/dev/mapper/guix")
>              (type "btrfs")
>              (dependencies mapped-devices))
>            (file-system
>              (mount-point "/boot/efi")
>                           (type "vfat"))
>            %base-file-systems))
> --8<---------------cut here---------------end--------------->8---
>
> I first had to insert the LUKS encryption key to let Grub start, then I
> had to enter the same key after Grub booted
>
>>> Did you have hardware-related problems with other free GNU/Linux distros
>>> on this machine before?
>> I've been using Parabola on this computer for several years without
>> problems, but none of my disks were encrypted.
> Please are you able to connect to ssh to your laptop during installation
> (before rebooting) [1] and paste here the content of /mnt/etc/config.scm
> generated by the installer?
>
> Thanks! Gio'.
>
> [1] you can switch to a console with CTRL-ALT-F3, set the root password
> (passwd) and "herd start ssh-daemon"
>



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2019-05-29 20:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-23 21:41 bug#35875: Guix won't boot after installation with fully encrypted disk Reg
2019-05-24 17:00 ` Ludovic Courtès
2019-05-25  8:37   ` Giovanni Biscuolo
2019-05-25 12:53     ` Reg
2019-05-29 16:24       ` Giovanni Biscuolo
2019-05-29 20:52         ` Reg [this message]
2019-05-30 12:10           ` Giovanni Biscuolo
2019-05-30 13:40             ` Reg
2019-05-31 22:01               ` Ludovic Courtès
2019-06-01  7:19                 ` Reg
2020-03-28 12:42 ` pelzflorian (Florian Pelz)
2020-03-28 21:39   ` Reg
2020-03-29 11:55     ` pelzflorian (Florian Pelz)
2022-10-29 18:28 ` david larsson
2022-10-30  9:05   ` Josselin Poiret via Bug reports for GNU Guix
2022-10-30 12:27     ` david larsson

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=a5b8aed1-98ed-d733-3a95-5b0ccfbcc136@disroot.org \
    --to=reg@disroot.org \
    --cc=35875@debbugs.gnu.org \
    --cc=g@xelera.eu \
    /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 public inbox

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

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).