From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 19 03:35:37 2022 Received: (at 48314) by debbugs.gnu.org; 19 Jul 2022 07:35:37 +0000 Received: from localhost ([127.0.0.1]:52699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDhlZ-0007T0-5f for submit@debbugs.gnu.org; Tue, 19 Jul 2022 03:35:37 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:33668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDhlX-0007Sn-3C for 48314@debbugs.gnu.org; Tue, 19 Jul 2022 03:35:36 -0400 Date: Tue, 19 Jul 2022 07:35:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1658216128; x=1658475328; bh=h5zN3rHZiRgoW/W/GyYwbGwbj2p+gJAq3CTge9ZfrYo=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=t+yZfVOwA3+Bihi1mRBZGcKuFW9072vl8UHPV82iaZTzCX5F/YQbNJVhGhCI9lMau T0anDQcVRX3oWw+nfOb4Realu9Q01W1X35IMNP4e31zC7QKVmRMo9Hm6p1kBCgz64b YoAD5vDacTGWyzhiute4ZY8rtUbtUjHDt9NJUGRCxITxUrmbBI9jIw2r0g4g0Alxfy hwAE3JJNpLdW5lKj4rqTCKU7JuwwBnm9xjcm8qNW17LH2c+SZbkwwS7MssxBCX5OBg 9UJpoEBsT5p6Tyr6cI/qBAtGGKeX9dDD3P2AOolXXLBMFFPdyN3AYDu3mUVq8CGr+n 1ces4cJFVsAIQ== To: Stefan From: phodina Subject: Re: [PATCH v3] Install guix system on Raspberry Pi Message-ID: In-Reply-To: <3828D5BC-ABCF-4864-8AD8-A33ACBB99359@vodafonemail.de> References: <3828D5BC-ABCF-4864-8AD8-A33ACBB99359@vodafonemail.de> Feedback-ID: 14143818:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 48314 Cc: Vagrant Cascadian , dannym@scratchpost.org, =?utf-8?Q?Ludovic_Court=C3=A8s?= , 48314@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: phodina Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Stefan! > > > Do you know how to fix this issue? > > > Yes. Like on other EFI systems, you have to mount /dev/mmdblk0p1 on /mnt/= boot/efi. > > There is the usual bootloader installation fallback, to use the bootloade= r-target argument for installation on /, if it is not existing below /mnt. = And this 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 y= ou simply forgot to mount the EFI system partition. I would prefer a clear = error message. Thanks. I've mounted the boot partition to /mnt/boot instead of /mnt/boot/e= fi. I tend to agree with you as the default behaviour can damage the host syste= m without a warning which is dangerous. So now I get some weird guix error during copying files: sudo -E ./pre-inst-env guix system init --target=3Daarch64-linux-gnu gnu/sy= stem/examples/raspberry-pi-64.tmpl /mnt -v 3 gnu/system/examples/raspberry-pi-64.tmpl:32:24: warning: the 'target' field= is deprecated, please use 'targets' instead gnu/system/examples/raspberry-pi-64.tmpl:27:2: warning: List elements of th= e field 'swap-devices' should now use the record, as the old m= ethod is deprecated. See "(guix) operating-system Reference" for more detai= ls. /gnu/store/hhb5l2f5287xmfzz4jgvi15kb9bcqi33-system /gnu/store/fiq006ykhc0dkninzz5gxl2nh3vzc37p-grub.cfg initializing operating system under '/mnt'... copying to '/mnt'... [#################### = ]guix system: erro= r: readdir: Bad message copying to '/mnt'... I've added the verbosity level 3 to print everything but I didn't get more = info about what fails :-( ---- Petr