From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OOBpFEucWF9aewAA0tVLHw (envelope-from ) for ; Wed, 09 Sep 2020 09:11:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8HxVEEucWF+CKAAAbx9fmQ (envelope-from ) for ; Wed, 09 Sep 2020 09:11:39 +0000 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 B9B529404CA for ; Wed, 9 Sep 2020 09:11:38 +0000 (UTC) Received: from localhost ([::1]:50878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFw8e-0005Vd-K6 for larch@yhetil.org; Wed, 09 Sep 2020 05:11:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFw8R-0005UZ-64 for help-guix@gnu.org; Wed, 09 Sep 2020 05:11:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58450) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFw8Q-0003L4-6A; Wed, 09 Sep 2020 05:11:22 -0400 Received: from [2a01:e0a:19b:d9a0:9d9d:97cc:d92a:8ac0] (port=41244 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kFw8O-000245-Hn; Wed, 09 Sep 2020 05:11:21 -0400 From: Mathieu Othacehe To: Andreas Enge Subject: Re: guix system disk-image failure aarch64 -> armhf References: <20200909080445.GA15009@jurong> Date: Wed, 09 Sep 2020 11:11:18 +0200 In-Reply-To: <20200909080445.GA15009@jurong> (Andreas Enge's message of "Wed, 9 Sep 2020 10:04:45 +0200") Message-ID: <87ft7r8gcp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: iuKh6rlq1wSW Hello Andreas, > The appearance of "efi" and "grub" is suspicious. > > I do have this in my config: > (bootloader (bootloader-configuration > (bootloader u-boot-novena-bootloader) > (target "/dev/mmcblk0"))) > So there is no trace of grub or efi in it. Does anyone know what is happening? The default Guix System disk image is an x86 compatible disk-image with an EFI partition so that it can be booted on UEFI compatible systems. That's why you see occurrences of "grub" and "efi". That does not really explain the error though, but that's another issue. The pending patch here[1], will hopefully help users specify their target image. It means that you should be able to write: --8<---------------cut here---------------start------------->8--- guix system disk-image -t novena config.scm --8<---------------cut here---------------end--------------->8--- or, --8<---------------cut here---------------start------------->8--- guix system disk-image -t raw-image config.scm --8<---------------cut here---------------end--------------->8--- Until then, running something like: --8<---------------cut here---------------start------------->8--- (use-modules (gnu) (gnu image) (gnu system image) (guix)) (define my-os (primitive-load "/home/mathieu/guix/gnu/system/examples/bare-bones.tmpl")) (define my-image (image (format 'disk-image) (partitions (list root-partition)) (operating-system my-os))) (run-with-store (open-connection) (mlet* %store-monad ((drv (lower-object (system-image my-image "armhf-linux"))) (build (built-derivations (list drv)))) (return #t))) --8<---------------cut here---------------end--------------->8--- should get you closer. Thanks, Mathieu [1]: https://issues.guix.gnu.org/42634