From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EOylISwRDGJruQAAgWs5BA (envelope-from ) for ; Tue, 15 Feb 2022 21:46:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MBVuGiwRDGJS5gAAG6o9tA (envelope-from ) for ; Tue, 15 Feb 2022 21:46:36 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 12CCBB79C for ; Tue, 15 Feb 2022 21:46:36 +0100 (CET) Received: from localhost ([::1]:49346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nK4iY-00070U-Ub for larch@yhetil.org; Tue, 15 Feb 2022 15:46:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56408) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK4iM-00070L-Md for help-guix@gnu.org; Tue, 15 Feb 2022 15:46:22 -0500 Received: from w1.tutanota.de ([81.3.6.162]:44204) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK4iK-0001ym-OS for help-guix@gnu.org; Tue, 15 Feb 2022 15:46:22 -0500 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id E4670FA02C2; Tue, 15 Feb 2022 20:46:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1644957975; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=4nc5hQVNM6TXZSzrCecII6o3DT5RGdjEgt0TFhAPrbI=; b=rB6L6Y0jdxU3OIatLfWKDyYw6bsU7z/rQ28mCb0VMz5o/u59f9ouKLvsrobelRoI CGSjVvnC+BOhgrIiMwi7I+iJHJQMzSEISL4zTUQ16acynI6uFIi9i151KweSKSB0ASE NTL0hjHzDakAFtweBpJO4w/KQN8XCP1nMo7jujjN0lQTc0e0Ye1IStSXXl9dSD4Hj9Q hJp8kSMbGXRWfg/hiOO1pZ16O1TiOCtnO2uaxQ3iUvKKlVlKqAdW1nWWEfbY3ZBtsvd JXJVLNu+qV5hji3Gr8IN9OGl+UaTMwr+wflGNoSteQq2zjSZU6R6SS3gzYtX0KR9Nat 5gSeatqGOQ== Date: Tue, 15 Feb 2022 21:46:15 +0100 (CET) To: SeerLite Cc: Help Guix Message-ID: In-Reply-To: References: Subject: Re: Stuck at scheme prompt when booting MIME-Version: 1.0 Received-SPF: pass client-ip=81.3.6.162; envelope-from=coralgoat@tuta.io; helo=w1.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" Reply-to: coralgoat@tuta.io From: coralgoat--- via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644957996; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=23V8QGUt08M7C5dpci+8bkJARRZqI1tymfdAT/+aZXc=; b=mgi5rCtztjYQFUedjvQr4AakCdbMoIG4/JI7sOQjZ9li7L0rUMGPDF4dATCIvdh7agUbPw bXAs1Y0NlzN69VtuHct1bPsg80zjjckNlm0rzCXxVI5BtnOAkABYAgPUS7YpOmCELg44rS Ajqf/mItBOa+9iNRG4AkQuguNy+BmExTfacMTswDHLu6Sxt2/OwPCUwJ/siDCeQfP4nsX+ zOyMyRyQ5BVrYCEgcjiTbycJOxE4HP6Duo/lBcAVhZNKSW/vMn8drnjdN8QCNiTEFGO7+s gJNM+Sv7cNq6/1NOn5XU+jmzujT5dCooCJ8HqfEAr5iydTfI+GniRFQiPZFU0g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644957996; a=rsa-sha256; cv=none; b=B2YXSHZ2Hm66HL58RekyODKAlTVRrG6rge5ONnTwbmBGfEM8E7gBOAwyRc8OEKRpWCeViO tfx+VDrZj5zbODkTlL6Irku0ajiEtn9pTpT2CVS4JPtao6QE0W+r9n9YC9lZtG1oPn1gqv vVesOuZYaIvN0nml3RPJGA53cPhZwNJRVC8BmjSqMfShw5qvfXSYg0qfjHFL/ZeF8SUktP KboszJu552sTLb9woPRFZja8neqgBFxaWUC4JbGyExk9k0PrhCCZUfPsYzc4K2K7/IgOX2 /ylFFIR7QjkppKEEG+AFZ/fYVa8JmxJ+dSCuDcmEYejKrq9P2fiJfMal78Zkng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=tuta.io header.s=s1 header.b=rB6L6Y0j; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=tuta.io header.s=s1 header.b=rB6L6Y0j; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 12CCBB79C X-Spam-Score: -4.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7Occ8iDGqYAK Thank you for letting me know Guix uses cryptsetup for drive encryption. I booted the Guix install ISO then I did this: decrypted the drive mounted the drive at /mnt/guix ran `chattr -i mnt/guix/etc/resolv.conf` rebooted the system Now I am able to boot successfully. Feb 12, 2022, 23:11 by seerlite@nixnet.email: > On 2/12/22 15:15, coralgoat--- via wrote: > >> I could try booting an operating system in memory and then use a disk >> encryption program to decrypt the hard drive with my passphrase and >> then run `chattr -i /etc/resolv.conf`.=C2=A0 What disk encryption progra= m >> should I use to decrypt the hard disk? >> > > Guix uses dm-crypt so you should be able to use the cryptsetup tool avail= able in most distributions by default: > > cryptsetup open /dev/sda2 guix > > The above command creates decrypted representation of the /dev/sda2 parti= tion at /dev/mapper/guix. You can mount this file like any other partition.= This should be enough to access the contents of the system in case the boo= t process completely breaks. > > However in this case Ricardo's advice may be enough to get it to work fro= m within Guix itself. I explained the above for future reference or in case= it doesn't work. > >> I resolved the domain name resolution errors by doing 2 >> things: >> 1) editing /etc/resolv.conf changing it to a single line that set a >> specific nameserver >> 2) I ran this command `chattr +i /etc/resolv.conf` >> > > If you want to avoid getting /etc/resolv.conf modified, instead of adding= the immutable attribute to the file (AKA changing the "state" of the file)= you should configure the responsible service so it doesn't modify it in th= e first place. > This is especially important in a declarative system like Guix, where the= operating-system and its services should function no matter the *state* of= the files in it. Almost every system-level setting can be configured with = Guix's configuration system. And using it prevents broken configurations li= ke these from making the system completely unbootable, as you would be able= to boot to a previous generation from the boot menu. > > I'm assuming you're using a configuration based on the official example, = so the service that modifies this file should be NetworkManager coming from= %desktop-services. To disable its modification to /etc/resolv.conf you can= set the `dns` field to "none" in its `network-manager-configuration`. You = can modify it by using `modify-services` on %desktop-services. > > See these manual pages for the usage of modify-services and also document= ation of network-manager-configuration: > * https://guix.gnu.org/manual/en/html_node/Service-Reference.html > * https://guix.gnu.org/manual/en/html_node/Networking-Services.html > > > SeerLite >