From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yJWRLphV1mKz1QAAbAwnHQ (envelope-from ) for ; Tue, 19 Jul 2022 08:56:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qOl2LphV1mKQagEAauVa8A (envelope-from ) for ; Tue, 19 Jul 2022 08:56:24 +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 2270D30594 for ; Tue, 19 Jul 2022 08:56:23 +0200 (CEST) Received: from localhost ([::1]:36220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDh9a-0001x7-8H for larch@yhetil.org; Tue, 19 Jul 2022 02:56:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDh9H-0001wg-AQ for guix-patches@gnu.org; Tue, 19 Jul 2022 02:56:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54866) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDh9H-00023t-1N for guix-patches@gnu.org; Tue, 19 Jul 2022 02:56:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oDh9F-0006SJ-QU for guix-patches@gnu.org; Tue, 19 Jul 2022 02:56:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48314] [PATCH v3] Install guix system on Raspberry Pi Resent-From: Stefan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Jul 2022 06:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: phodina Cc: Vagrant Cascadian , dannym@scratchpost.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= , 48314@debbugs.gnu.org Received: via spool by 48314-submit@debbugs.gnu.org id=B48314.165821375124797 (code B ref 48314); Tue, 19 Jul 2022 06:56:01 +0000 Received: (at 48314) by debbugs.gnu.org; 19 Jul 2022 06:55:51 +0000 Received: from localhost ([127.0.0.1]:52625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDh8p-0006Rb-Vr for submit@debbugs.gnu.org; Tue, 19 Jul 2022 02:55:51 -0400 Received: from mr4.vodafonemail.de ([145.253.228.164]:46408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDh8m-0006RM-Eo for 48314@debbugs.gnu.org; Tue, 19 Jul 2022 02:55:34 -0400 Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr4.vodafonemail.de (Postfix) with ESMTPS id 4Ln8jV4VnSz1y4s; Tue, 19 Jul 2022 06:55:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1658213726; bh=qecmggkKPLslr//YrpCvHcfeuq8Iqzz/lplh4Xrr6BI=; h=Content-Type:From:Subject:Date:Message-Id:References:In-Reply-To: To:X-Mailer:From; b=pqolS+KhBhAj57/zUjBunesBzUKj538SmhiZEqhWBRQ5/B/HJyauO+saG2CuIHxu4 NEWNrj/4lG3lSnntfMR/WeF7IM+z12OFkFDEGTSTDTdWD/E9lv1SvN6Ta2b+Vyj292 EzGz4GiT6CEtnkx1zRmGO+hgcXV52l2o+uPgohdE= Received: from smtpclient.apple (aftr-62-216-210-100.dynamic.mnet-online.de [62.216.210.100]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4Ln8jD2qs9zMmvM; Tue, 19 Jul 2022 06:55:09 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Date: Tue, 19 Jul 2022 08:55:08 +0200 Message-Id: <3828D5BC-ABCF-4864-8AD8-A33ACBB99359@vodafonemail.de> References: In-Reply-To: X-Mailer: iPhone Mail (19F77) X-purgate-type: clean X-purgate: clean X-purgate-size: 1656 X-purgate-ID: 155817::1658213726-1C2F12A7-CB2867F8/0/0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Stefan X-ACL-Warn: , Stefan via Guix-patches From: Stefan via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658213783; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qecmggkKPLslr//YrpCvHcfeuq8Iqzz/lplh4Xrr6BI=; b=IC6gHn2FX+nZL5iKuaCpivWZ8qBvyZbTm7799xhZXrs8Ugzgz+PWBD07XiI4vBdWNBcT6u VuMYW2ZwLSscKTr1LuSUwo7ZysKqwnvdexLJo/xwoq7U6v410dlCIjKdtSGTHbbwHoiSkK VHn8SxJgLb8ny+QOaJwciq+Xk7PCdS/TJHclUPFBZJb4IIEsNiUaKWYrG8Q84gWdSahc2q PrGyXL9S4mydV6WovQaDIU8jjXwfsmD8QcldLcHNTtpFY/J/nazLcsmRHs6kiYmQjtfhIR r2+q7WMh6o/vqVyWLvEJtw0x5aUVN5KB3mXWpeCU7jKQp1bdmIarlncdQM6bGw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658213783; a=rsa-sha256; cv=none; b=JDtBluuUoihi8SvUukccGIq0yEPS77IRoAAKTaBjHAY+egL0nu5FcoE3SyEZB8CCiOu8Iy PPwmdEtvMh36edrQenc71FmGCXxdYjutxtP26BOYORG2HsNp5Sf+inyxhBuCpIUtBHt7Tz QpT5s1HzekrcZHIItn6zpsdJsyH56/pMdDkU+N1v7jpA94BPJA8gBr8/fFjE3v76EgIfIP tWBrS6Bn8erad5hiDwqMQlOLsDdnrBX9TLXBGBkqMXyE2cgZ4VDvobVvsF+dM/hn0pTEUy FnjaZkr18rIO4gX1/clUitB7MNCVzHKd0U+HnfgiZ58CDyaPaNdcXPPXhJCwLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=pqolS+Kh; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.08 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=pqolS+Kh; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2270D30594 X-Spam-Score: -2.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: xFMvidhjak/a Hi Petr! > Do you know how to fix this issue? Yes. Like on other EFI systems, you have to mount /dev/mmdblk0p1 on /mnt/boo= t/efi. There is the usual bootloader installation fallback, to use the bootloader-t= arget argument for installation on /, if it is not existing below /mnt. And t= his is happening in your case. I don=E2=80=99t understand why this common fallback got invented. I think it= =E2=80=99s actually dangerous. It could destroy your booted system, if you s= imply forgot to mount the EFI system partition. I would prefer a clear error= message. But well, the code is following existing standards. > 1) Why does it point to "/boot/efi/gnu/store" and not "/mnt"/boot/efi/gnu/= store"? Because /mnt/boot/efi was not existing in your case and because of that fall= back to ignore /mnt and use / instead. > 2) Symlink from ext4 "Guix" partition will not work on another vfat "EFI" p= artition. That=E2=80=99s true. This symlink will not be created for your use case. The= symlink will be created for booting over network, when the /mnt/boot/efi is= an NFS share which allows symlinks. The use-case decision is based on symli= nk support at the bootloader-target. Actually the installation on a microSD card is just a by-product of installa= tion for netboot. :-) Even on a normal x86_64 EFI system you could install the grub-efi-netboot-(r= emovable-)bootloader instead of the grub-efi-(removable-)bootloader. The dif= ference is, that all GRUB files will reside on the EFI system partition inst= ead of the root partition. This could be helpful for encryption problems. Bye Stefan=