From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CIS0LYZLXGNF8gAAbAwnHQ (envelope-from ) for ; Fri, 28 Oct 2022 23:37:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kITMLYZLXGO8yAAA9RJhRA (envelope-from ) for ; Fri, 28 Oct 2022 23:37:10 +0200 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 718112B0E8 for ; Fri, 28 Oct 2022 23:37:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooX1z-0004ao-KF; Fri, 28 Oct 2022 17:36:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooWuz-0002rC-DK for help-guix@gnu.org; Fri, 28 Oct 2022 17:29:33 -0400 Received: from mxout013.mail.hostpoint.ch ([2a00:d70:0:e::313]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooWux-00068D-8Y for help-guix@gnu.org; Fri, 28 Oct 2022 17:29:33 -0400 Received: from [10.0.2.46] (helo=asmtp013.mail.hostpoint.ch) by mxout013.mail.hostpoint.ch with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1ooWut-000ECg-C2 for help-guix@gnu.org; Fri, 28 Oct 2022 23:29:27 +0200 Received: from [2a02:168:5714:0:15a:dbe2:d4e7:4210] (helo=colon) by asmtp013.mail.hostpoint.ch with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1ooWut-00079U-6j for help-guix@gnu.org; Fri, 28 Oct 2022 23:29:27 +0200 X-Authenticated-Sender-Id: li@dotdot.li From: li@dotdot.li To: help-guix@gnu.org Subject: "guix system init" from regular system fails Date: Fri, 28 Oct 2022 23:29:26 +0200 Message-ID: <878rkzljrd.fsf@dotdot.li> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=2a00:d70:0:e::313; envelope-from=li@dotdot.li; helo=mxout013.mail.hostpoint.ch X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 28 Oct 2022 17:36:43 -0400 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: , Sender: "Help-Guix" Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org 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=1666993030; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=8ZsJfXYr2K62MuI5DQryl5dRufd9lVKnqHK1I8QVAOs=; b=jiR/Ro10ElLih5jMGq1/B1SLE3CFFGPClIrGX6EmVP3esCLrdS5kNHCCf1rWJJLwMbXGvj 2j0HdNklXLdppycKsXVOuABEgdUMJ0xt9IE3qygABjrbYjTZu+kdwZXAU8k7EQ8RqMbSl2 pSj3gAEiu/z/CmLw13QK2pmoJcc94yUzeA7kyNOcDdgntpEdK7cFLqwERO9P8L/FFb/dCE Vk/xDH1qkIqgswaDCOe/6rMNHbo/3Ju9fEHPlljMU8tX+8IV0e2DiVWs4FaxvxC/kaDKzL 5cj4IL+olYEGynsp75acfPytjXoeV/ckEOJow3QLODIdNgTxH1iXhNEBrn/OAw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666993030; a=rsa-sha256; cv=none; b=UiIr3xnMMrKhlpI2yfJOSKMg2X5PFQGw3TkdkWaPwF6gc2URlHc9h1ytpyTXNDAbRiw+oI hoFn5eoeB07JIREpNSxm2+S5QKOsYl2nr7q35OcOZBEb5A4gszEhJ30NKySr8nfGRTIL9Q 94fq3AtEkkFvKRJbcBDDrq7z5qsR6ShjpUO6fARd+AU2cTGwEHBNSJvOwg6ELKXBcRr90q 5ROk3wZuV+ptFKw5Af+z8AvOtJSTXIh0t7oTEwr8RQBQiRKzPl6UIxrvmwA9o3ySpupWkx e7eUCF0rqccY76GTtyU99FuVAr9qdFNn9NSvPDKt3lXgl/cTJNvcKDabTE47Eg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -2.82 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 718112B0E8 X-Spam-Score: -2.82 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7H9zgF8Bqhyb Hello, I am trying to prepare a new system on new drive from my current Guix installation, i.e., the first way mentioned in (info "(guix)System Images"). The documentation at (info "(guix)Invoking guix system)") is sparse, so I followed those in (info "(guix)Manual Installation"), which I have successfully done before a couple of times. I have made sure the partitions are mounted (/ and /boot/efi @ /mnt and /mnt/boot/efi) and that that they are correctly configured in /mnt/etc/config.scm. The only difference is that I did not run "herd start cow-store /mnt". That service is only available when using the installer. I also believe that it is not necessary because the documentation says that > This makes =E2=80=98/gnu/store=E2=80=99 copy-on-write, such that packages= added to it > during the installation phase are written to the target disk on =E2=80=98= /mnt=E2=80=99 > rather than kept in memory. This is necessary because the first phase > of the =E2=80=98guix system init=E2=80=99 command (see below) entails dow= nloads or > builds to =E2=80=98/gnu/store=E2=80=99 which, initially, is an in-memory = file system. In this case /gnu/store is not an in-memory file system, so I assume this is not necessary. But maybe something equivalent is necessary? "sudo guix system init /mnt/etc/config.scm /mnt" succeeds quickly with output: <...snip...> /gnu/store/dhk4hrjpqfcph2alliwg18iiqwc3j86x-system /gnu/store/q6b71455an8dl1hg8y859rkja22fxk4j-grub.cfg initializing operating system under '/mnt/'... copying to '/mnt'... populating '/mnt'... The following derivation will be built: /gnu/store/sjg10gcq9m88ad7q3znqxfc7qyq4aq8j-install-bootloader.scm.drv building /gnu/store/sjg10gcq9m88ad7q3znqxfc7qyq4aq8j-install-bootloader.scm= .drv... guix system: bootloader successfully installed on /boot/efi After this /mnt/gnu/store is populated and the bootloader also appears to be installed. However, this is not a usable system. /mnt/{bin,etc, home,run} are all empty (except for /mnt/etc/config.scm). Where did I go wrong? Thanks for your help! L