From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reg Subject: bug#35875: Guix won't boot after installation with fully encrypted disk Date: Wed, 29 May 2019 22:52:21 +0200 Message-ID: References: <138779ab-830b-32a9-e64a-e1fccabf90ab@disroot.org> <87pno7rdmn.fsf@gnu.org> <877eaf3p6r.fsf@roquette.mug.biscuolo.net> <87o93l1b65.fsf@roquette.mug.biscuolo.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wvnxQCcwZ9PnceT1ORdYtFt0MlWVHJBfP" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hW5ag-0000Zt-Ro for bug-guix@gnu.org; Wed, 29 May 2019 16:54:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hW5aS-0005OU-SF for bug-guix@gnu.org; Wed, 29 May 2019 16:54:23 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46511) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hW5aE-0005IR-3W for bug-guix@gnu.org; Wed, 29 May 2019 16:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hW5aE-0002Ql-0l for bug-guix@gnu.org; Wed, 29 May 2019 16:54:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87o93l1b65.fsf@roquette.mug.biscuolo.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Giovanni Biscuolo Cc: 35875@debbugs.gnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wvnxQCcwZ9PnceT1ORdYtFt0MlWVHJBfP Content-Type: multipart/mixed; boundary="uBxbhllF6LVS0lSjPTnOYWlPNEqfUQwkH"; protected-headers="v1" From: Reg To: Giovanni Biscuolo Cc: 35875@debbugs.gnu.org Message-ID: Subject: Re: bug#35875: Guix won't boot after installation with fully encrypted disk References: <138779ab-830b-32a9-e64a-e1fccabf90ab@disroot.org> <87pno7rdmn.fsf@gnu.org> <877eaf3p6r.fsf@roquette.mug.biscuolo.net> <87o93l1b65.fsf@roquette.mug.biscuolo.net> In-Reply-To: <87o93l1b65.fsf@roquette.mug.biscuolo.net> --uBxbhllF6LVS0lSjPTnOYWlPNEqfUQwkH Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Language: en-US-large 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 writes: > > [...] > >>> Anyway, to check if GPU is the problem here could you please add >>> "modprobe.blacklist=3Dradeon" [2] (or vga=3D791 if this does not work= [3]) >>> to the "linux" kernel arguments and report back the error messages, i= f >>> 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 wit= h > 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 dist= ros >>> 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 installatio= n > (before rebooting) [1] and paste here the content of /mnt/etc/config.sc= m > 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" > --uBxbhllF6LVS0lSjPTnOYWlPNEqfUQwkH-- --wvnxQCcwZ9PnceT1ORdYtFt0MlWVHJBfP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEWFUlQgZd3tX5pmTMehlDyvMORN4FAlzu8QgACgkQehlDyvMO RN5idw//YPCVON8gvk7D7cJua+ph0ofg/g1iW8yl7re108K7uU5wubwMxSf3xCB5 8eVBCKoW9wqqexNg3MrXpmGtm+uITJK0930Aa6s2QFHVDKjppr3yByJoHGOHWCp9 QlvC32rUM2dmWo7diTZ5AnFopiVlG12sIGnCbLGY8nColUTrLOEWvPqlY+jB2gsa fmn7ghfrhSlXdMRW5ll06IzfVcSl6p9vLFP+b7vtj7TpR1rI26R+DLr3PH7rfLw5 CFkF2OWqOfX9pG8goaLD7ZNzc0o+sPnJXFvFLR4S0IKbos5Cef339GItzPibK5og lb65shc6azXqZUM1fYr51hd8hSpkoorgQ+q4iNC2HwkpxX5XwDjJtEW2HatZDT7/ zOKkfb9SCzpXB1N0IdmUQvBd2A6Fz0ELeQH4VU8oMueqZ9CbAUlZ6AkguB5oj3Cu q8GvpL5jDnLG45k9V5gsuzAR2NLBVLcZzP7Hw9QQDNBttcnYFKHgVjxdRp+FlFLZ tw0cZg9YhaUqJWf38za8kYAJDy3jpHwzOxihkumNeV67Z9dNwEf149ZyXnz+qXbs GdwNIHP3SOZhraluf45VVpr2PEFuVdpgOhfeMBosBdY4mArmhDCMZPnotzf7u+YN rfvF3XigZIOZlaGGFVUKaqmaAIv9zs3d4jAlT6OJwniouOECuIk= =nRHZ -----END PGP SIGNATURE----- --wvnxQCcwZ9PnceT1ORdYtFt0MlWVHJBfP--