From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 GBsnChVL82NBogAAbAwnHQ (envelope-from ) for ; Mon, 20 Feb 2023 11:27:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qEUcChVL82OOgAAAauVa8A (envelope-from ) for ; Mon, 20 Feb 2023 11:27:33 +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 006073C103 for ; Mon, 20 Feb 2023 11:27:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pU3Nv-0007VI-80; Mon, 20 Feb 2023 05:27:03 -0500 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 1pU3Nt-0007V6-HR for guix-devel@gnu.org; Mon, 20 Feb 2023 05:27:01 -0500 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pU3Nr-0004nZ-EL for guix-devel@gnu.org; Mon, 20 Feb 2023 05:27:01 -0500 Received: by mail-ed1-x536.google.com with SMTP id x10so1850644edd.13 for ; Mon, 20 Feb 2023 02:26:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burningswell-com.20210112.gappssmtp.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=d2BFFGSezUvNVkxvCLqzT9r4tPXW6xTxAnI2anv+Po0=; b=ajB/mAGD0WMqaThsxEVYgNTUdiameIvABgKCeFZwwrCwTX2zZtk8mqBdKk68MugJkD fb0IWKngc3ntqvy1RMafGM/+I0SabORGQnwb4x99UAxbhDUZtsig20HP/P9Ke6LZhoqG YJCjIZJihI1MKWcL3yYU53fvtiVk+/wUT0TnLN3R9CQZFeih25WeqdwlLRFG/p0jm3T/ wbw0UbX0t6z5XIWWpjALkpS94mcbwutTnfKfKehLYgFT0VOjNYe3SEUuV2GZcLy7PYsG Lvb41wDFHX4dxzIcfRXGkv/obV2yBGwMiXKyV5lHrH5zAyXVth8uMmmm1nO1A2zjbzQP Xvzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=d2BFFGSezUvNVkxvCLqzT9r4tPXW6xTxAnI2anv+Po0=; b=OJuIXaYOEftbAaUyet6nDyf9qFIP/XWgGAtfkWrWHbeDqWj4xVQjHMJrgThgHZDby8 S3381WrTEWY67EdOcFqS7NfsOYQszSS/rWekbntXUdaSxjeyPXB68pGNlDxiHggLLvsS eExG/PYSzXDam/WW1yR70NFaU2dyz2NC0Dvk/BYYn1FE63KPnVcUec+JTr4bVnoiJzDl NvLEbFKqx7bTyzrfmOWR9aL4cZ21mV89OZBXzvMOFwMlqwH3wC5RcZa1/aQ3S39c29Jz lW3NTckA/S9ssBPEL3nIa/EQCNln0HK+uJ3JuaEKmpMLQktUi+UDLDZfhJ6xcq3ITD7q m3JQ== X-Gm-Message-State: AO0yUKXCuxcscRY2rJ7Jlf0baledes1YJG9BVz/4lYA1pQGUhWtam/qM /GVT0W6qSkuxzwfGOn1a/iZqswLNvNkXrW3IrTY= X-Google-Smtp-Source: AK7set9T2pI0fojVU5Nxo8lHOHRQ/h4MnZoS9QA4xRXYUJhf60OoEgG+LXeUPtE3BUFBUW1oX/GEIw== X-Received: by 2002:a17:907:c10:b0:87b:da74:d272 with SMTP id ga16-20020a1709070c1000b0087bda74d272mr10091214ejc.45.1676888817075; Mon, 20 Feb 2023 02:26:57 -0800 (PST) Received: from bombaclaat ([2a01:598:b1a0:6927:57eb:4a81:9152:ce60]) by smtp.gmail.com with ESMTPSA id z14-20020a05640240ce00b004accc54a9edsm11752edb.93.2023.02.20.02.26.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 02:26:56 -0800 (PST) References: <86v8k0d79s.fsf@gmail.com> <87wn4gi3f9.fsf@akirakyle.com> <86a619rgpc.fsf@gmail.com> <86a619x18a.fsf@burningswell.com> <865ybwr9f5.fsf_-_@gmail.com> User-agent: mu4e 1.8.13; emacs 29.0.50 From: Roman Scherer To: Max Brieiev Cc: Akira Kyle , guix-devel@gnu.org Subject: Re: Error booting aarch64 installation image (was: Building arm64 guix system image) Date: Mon, 20 Feb 2023 11:03:34 +0100 In-reply-to: <865ybwr9f5.fsf_-_@gmail.com> Message-ID: <86ilfw7hug.fsf@burningswell.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: none client-ip=2a00:1450:4864:20::536; envelope-from=roman.scherer@burningswell.com; helo=mail-ed1-x536.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676888853; a=rsa-sha256; cv=none; b=UYN88DD1eP+4q1+Y1I2JivkVAdy7+qELHJexBjf9bK/hNeaoZPodU+QJSQc6SvCUW1sPfM Q7XBaywNFBuu4MbHKyVWkuC1gxam7OaMx25iMxQd2dvU20Wlg6UEzHRGc2fp1Wh1noskDO a1n0VnEz8Amz2W8raz01AicS8DXzQCW1NSQ8GCaJnfbC2SvjNdenPBBGN4HWrg9KiU4BQV qoJxC7S8Bxvw4gkTG/Eoe+GqvmpiRR933OqeWIBo99JKKiFBoTpH9eFoHgbUjDcHhpqOsG xNR06kiC9nA3A6Yfio0h084UmjJGezygg3TWITB9szuya9MgKXGYqrMn9ZTMOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=burningswell-com.20210112.gappssmtp.com header.s=20210112 header.b="ajB/mAGD"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676888853; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=d2BFFGSezUvNVkxvCLqzT9r4tPXW6xTxAnI2anv+Po0=; b=IwUa8MFzyFMbvOijFCRcORvSvFxG5Of3TbYoTyHzgblwbuhQ7FFLbrENmo3PyPUHO+9l29 ghRXBbtqRgeuVepJk+xel2w4uzgOQ0I5gNve4x2xckKNEO/bkER6V/Ug42BcR4VachCXA2 nWgDLzHkqChlBR+jrizQOC0RXSTMK2+UbCn6Lw+elJZzvi+yebpjz1sTUyK0iIT946Rjbg ecWGWZ/KG/SnDWM3Y6+OwHlbBLZx6QyyRviPgY5wPGADBm+PD+COZrkgDpM8hUKrhRVfG2 7rbYD9NsUdDbEcixCYzBcKw+0/+XsG4IbdqaJMvHkuCRjcd0suftmVFXo9XrzQ== X-Migadu-Queue-Id: 006073C103 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=burningswell-com.20210112.gappssmtp.com header.s=20210112 header.b="ajB/mAGD"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.83 X-Spam-Score: -7.83 X-TUID: 3WvCGg6Z/0DF --=-=-= Content-Type: text/plain Hi Max, I think you need to use --image-type=efi-raw for this to work. To boot from an USB stick, also make sure to use an USB A to C adapter and put the stick into the USB port on the left side of your computer. I actually installed my Guix system from another distro. I roughly followed this guide here: https://guix.gnu.org/blog/2019/guix-on-an-arm-board/ I'm not sure if I can link to it here, so I will just mention that I have a Guix channel that contains some of the Asahi Linux packages, which you might want at some point. Roman Max Brieiev writes: > Hi Roman, > > Roman Scherer writes: > >> I'm running Guix system on an Apple M1 and also run into these >> issues. At the moment I'm using the following commit to build my system: >> >> 7833acab0da02335941974608510c02e2d1d8069 > > Thank you, I managed to build installation image from this commit like > this: > > guix time-machine --commit=7833acab0da02335941974608510c02e2d1d8069 -- system image --system=aarch64-linux -t iso9660 ~/code/guix/gnu/system/install.scm > ... > /gnu/store/rqf53a5xx3dknk689ag620n5617pqpj3-image.iso > > But now I have another problem, this image throws an error after > selecting the "GNU Guix installation 1.4.0" entry in Grub: > > error: invalid magic number. > error: you need to load the kernel first. > > I googled a bit about this error and most answers suggest that the image > is corrupted in one way or another. > > How can I debug this error? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmPzSusfHHJvbWFuLnNj aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmSRUB/9qm9GvJe/rMcfO KZqG48R9EqdB3fLpKJTh10NFYyhktiTb+jeyTitx2PaDq+jDvhOZrXxGUsNblMoR HBH5UXiI5UAkrmYL1jaBVEIXNbeRgPntVdi3s/DsGVL90kGt+dc95rxoXQl5L/o2 EzNbOgr3Z2Wrz9UH8sWL5Ahl2/ylZ/1wx0jQ/4PPj0Hqe9DAyWRt+FbzV+R3UcSf OvHrklKrJ4a2k0KRtC8zvDD3sc7YZePprC6euZ0gGyO4jgblIVQPU2oR9V9Iube2 VU/3ipn/g6vgwDaivncIj9wM20gbzhn9+1M7xjekuqSDO9zZgulkUX/CcwnVcs3K FHDno+lp =ML3o -----END PGP SIGNATURE----- --=-=-=--