From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mN//BQSyL2VOXQEAG6o9tA:P1 (envelope-from ) for ; Wed, 18 Oct 2023 12:23:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mN//BQSyL2VOXQEAG6o9tA (envelope-from ) for ; Wed, 18 Oct 2023 12:23:00 +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 B9A9A380D1 for ; Wed, 18 Oct 2023 12:22:59 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Zqoy2otH; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697624580; 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=Q7uqxyN5hJ54jiOnkj93kcXhjWsx3yAJ2DaSSGShRe0=; b=cXSfDXM4Id/xfUG5maf3K93y2+4XNwZBIuQSP0c3gPTXirHXqkj1c/tzyYIn1ffKGW3xta me/gUQoW2u0xPl6lcNzqheA3JkFJ7PQyTIg66Cvj6ge+3zbPWvhWWnQ2cO8wTBNn28mxWZ LMv/PgqWM1TfJ8xuRGZ850f3fRfEzCWoNjSqgU7y4i3QVeCM/kFJMF+/tl4or/jw7KMlMN XoRRUOqiF7598FhCXO8OwQzJGRJkT37entaUArLbatDnkPOwIH2fOYAcAGBTElXvuAW1bs fFt03y4J3NJ95rPMKEiv24lmuunwf+rOboxSAyve3bSBy35Dk8924pzNFA4/iw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Zqoy2otH; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697624580; a=rsa-sha256; cv=none; b=E8QWbXS54D553hsJ/O6GXO2vBITuWlHJ47veBSxLRgSb+goqlobWQHXYyDZi2m01ZD+7gq /R+nut1M+BXXmLsq64Wzf0BuJKHFae1nnC2HWuQr53jYLgZrJsBLgnTMIt5rovN78xI34I oejvKPBx5Mp93NZSNZQtG6WacTWsdE8GNxKHWQlagQq6wDZoZJQE7nxCXXJ+NuznFYWciL 4q36mDADa9uM4bYS4/F1xIsl79S9ulcyzDv2PUj4bjs5ztG9RTLPQKhkh6NyzK1AQ3ugM+ WSy5bPyhHnoPfgoSGXpH0TDMIlaYPhrSdLYud1VNsKJlyyplwbI8516U9+ucuQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qt3h2-0005zX-DN; Wed, 18 Oct 2023 06:22:24 -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 1qt3h0-0005yy-SU for help-guix@gnu.org; Wed, 18 Oct 2023 06:22:22 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qt3gy-0001rb-8W for help-guix@gnu.org; Wed, 18 Oct 2023 06:22:22 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-32d9b507b00so4482667f8f.1 for ; Wed, 18 Oct 2023 03:22:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697624538; x=1698229338; darn=gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=Q7uqxyN5hJ54jiOnkj93kcXhjWsx3yAJ2DaSSGShRe0=; b=Zqoy2otHMBbdhuiFOVadZvG6JAzhHK+X7rkOj5c5Uats5jiNkFzTUHhJz5cHYd7yjI s0dpDJOUdZsN9d/yQ4UBwNfsW/kVAL1HE5CaVEL+RJnIZZ/9/nG3y1gzgF9sGccc6rxM YR52wGC7QB+fLpuJ7OcLw6oUpeMyKBE91A/GiMBpRcJmrqWN5zBrFYC3G+RM10qimoGa GlYp0/VavVuR0vUGivygGW6xgkWdFEqA390YkqW4vtW0/y++sPDO1KYMyBZarTy3VGOc c4ZR8b+TRrqPSW1eQZDmo3atDdJeIruIwgSn+fx2/f9hON6kaK2wFqzqphrWQvHhx7Kt zEzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697624538; x=1698229338; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Q7uqxyN5hJ54jiOnkj93kcXhjWsx3yAJ2DaSSGShRe0=; b=irshrU/TTnjdSoe+Y023E9L+isj/s8OVqLEzNbAdI8AVgPeYuSEpNSF4TY42fnNR1q TSQXPJCF6T4qsJUfdINB4XN5beRYwB06hCf99UE02rTZwo5rk5BKF9SfG+Dsf8S5pGna 1Xbqq3ysHPkAyrkkg5qh3ouQPkJOaDbQLanMT/RYB6RgvIbIY4zTNP5T4e1pKVwiPnP4 1XMsKHaTfPDj1/uHBj+zc7M++1jxUptPm7xVz9UNkAt7RcR4gjSn34Q/OnV1tlBxQANw R4Z62JG4i67YyDN3o2CPGwBylA3ml+Fz2Jnc/U12gVGBuoVLkVOfDCFU+8lt7Pgl4l+G d/Xw== X-Gm-Message-State: AOJu0YwGjKNo+w4u4qZPfbhRgFJHPvSlbiVCbRJLR0xLRcsh5TJyTa4o YWZLEy7Wk7mSCJNrncNyFAQ= X-Google-Smtp-Source: AGHT+IF2INxMlLOr6nSRG5XwBu0uxnOl5+ArXLC9h5wMuuDzEACTHCh7FCoEQeHx0ROEP6EKMijsqA== X-Received: by 2002:adf:f20e:0:b0:32d:827e:7bd8 with SMTP id p14-20020adff20e000000b0032d827e7bd8mr3891780wro.70.1697624538299; Wed, 18 Oct 2023 03:22:18 -0700 (PDT) Received: from localhost ([31.210.180.106]) by smtp.gmail.com with ESMTPSA id q15-20020adff78f000000b0032da6f17ffdsm1798174wrp.38.2023.10.18.03.22.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 03:22:17 -0700 (PDT) Date: Wed, 18 Oct 2023 13:22:16 +0300 From: Efraim Flashner To: paul Cc: help-guix@gnu.org, Vagrant Cascadian Subject: Re: Pinebook Pro boot from NVME Message-ID: Mail-Followup-To: paul , help-guix@gnu.org, Vagrant Cascadian References: <87edi0a1vc.fsf@wireframe> <307431e2-37a4-9cb4-fe16-0a75f3095ec5@autistici.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/NF0xX0m5R7pqWBc" Content-Disposition: inline In-Reply-To: <307431e2-37a4-9cb4-fe16-0a75f3095ec5@autistici.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=efraim.flashner@gmail.com; helo=mail-wr1-x435.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.73 X-Spam-Score: -3.73 X-Migadu-Queue-Id: B9A9A380D1 X-Migadu-Scanner: mx2.migadu.com X-TUID: FpJpoU4NUaYM --/NF0xX0m5R7pqWBc Content-Type: multipart/mixed; boundary="ZiDnpFdEaNHt39Pd" Content-Disposition: inline --ZiDnpFdEaNHt39Pd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 18, 2023 at 12:02:12AM +0200, paul wrote: > Hello Efraim and Vagrant, >=20 > thank you for your help so far. I still have problems booting from nvme. > This is my guix situation: >=20 > Generation 7 Oct 15 2023 23:49:39 (current) > small-guix 4d7a590 > repository URL:https://gitlab.com/orang3/small-guix > branch: master > commit: 4d7a5904c760aa4e5fd81434614da9887a0324eb > nonguix 14656d6 > repository URL:https://gitlab.com/nonguix/nonguix > branch: master > commit: 14656d642dc113c73f9b144ccba366376a274a2b > guix e160054 > repository URL:https://git.savannah.gnu.org/git/guix.git > branch: master > commit: e1600546b93bbc2d545730f02e071d35037a1d1a >=20 > On 10/15/23 08:22, Efraim Flashner wrote: > > Here's a link=C2=B9 to my pinebookpro config. The short version is you = need > > to change the bootloader to use grub-efi (apparently I went with > > grub-efi-removable-bootloader but I don't remember why) > >=20 > > (bootloader > > (bootloader-configuration > > (bootloader grub-efi-removable-bootloader) > > (targets '("/boot/efi")) > > (keyboard-layout keyboard-layout))) > >=20 > > And you need to add /boot/efi as a vfat file system. > >=20 > > (file-systems > > (cons* (file-system > > (device (file-system-label "Guix_image")) > > (mount-point "/") > > (type "btrfs") > > (options "compress=3Dzstd,discard,space_cache=3Dv2")) > > (file-system > > (mount-point "/boot/efi") > > (device (file-system-label "GNU-ESP")) > > (type "vfat")) > > %base-file-systems)) >=20 > I'm attaching the configuration I used, this is the command: >=20 > $ guix system image --image-type=3Dpinebook-pro-raw --system=3Daarch64-li= nux libre.scm > /gnu/store/r02skdx8jq35mdhh0l8sij423ksqk0hm-disk-image >=20 > $ sudo dd if=3D/gnu/store/r02skdx8jq35mdhh0l8sij423ksqk0hm-disk-image of= =3D/dev/nvme0n1 bs=3D4M status=3Dprogress oflag=3Dsync >=20 >=20 > but what I got after choosing nvme is in the pinebook-pro-raw.jpg I > attached. >=20 > > =C2=B9https://git.sr.ht/~efraim/guix-config/tree/master/item/pinebookpr= o.scm#L56 >=20 > Then I noticed that in your configuration [0] you mention the format > efi-raw, so I tried: >=20 > guix system image --image-type=3Defi-raw --system=3Daarch64-linux libre.s= cm >=20 > which gives me >=20 > guix system: error: EFI bootloader required with GPT partitioning >=20 >=20 > What am I doing wrong :( ? Again, thank you for the time you are putting = in > this. >=20 There was a recent change to make sure that EFI bootloaders and GPT partitions were paired together, but it looks like it was limited to grub-efi and grub-efi32. Try applying this patch to guix and then using =2E/pre-inst-env to build the image. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --ZiDnpFdEaNHt39Pd Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-image-Expand-list-of-EFI-bootloaders-for-GPT-images.patch" Content-Transfer-Encoding: quoted-printable =46rom acdd01fdbfa4bfafb3efe6e4ea37103d4a3dabb5 Mon Sep 17 00:00:00 2001 Message-ID: =46rom: Efraim Flashner Date: Wed, 18 Oct 2023 13:17:05 +0300 Subject: [PATCH] image: Expand list of EFI bootloaders for GPT images. Reported by Paul A. Patience. * gnu/system/image.scm (system-disk-image): Accept more bootloaders using EFI for pairing with a GPT based partition scheme. --- gnu/system/image.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/system/image.scm b/gnu/system/image.scm index a990c4f861..34aa459639 100644 --- a/gnu/system/image.scm +++ b/gnu/system/image.scm @@ -532,7 +532,13 @@ (define* (system-disk-image image =20 (when (and (gpt-image? image) (not - (memq (bootloader-name bootloader) '(grub-efi grub-efi32))= )) + (memq (bootloader-name bootloader) + (list grub-efi + grub-efi32 + grub-efi-removable-bootloader + grub-efi-netboot-bootloader + grub-efi-netboot-removable-bootloader + grub-mkrescue-bootloader)))) (raise (formatted-message (G_ "EFI bootloader required with GPT partitioning")))) base-commit: 3e132ba6bc4d65bf7f1c96f505d23f87a237b9a2 --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --ZiDnpFdEaNHt39Pd-- --/NF0xX0m5R7pqWBc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmUvsdgACgkQQarn3Mo9 g1FMIw/+LlO33rQ0/dp/J5ZYG3NZZMNEHQojnS0yq542LagwX37ffJ9S/TFND92W Av8HuKkaCY6TWiY6zzYzgXC/XcvMz/Vz6fOOBVxVv78OPCAa2rnUhbvzyASoykkk 5YhXk6L/koXuGwf3JLcZGueqg7L8aZPkc8hWSiNmmbW7A9VIg8ThInhz6XElg/bY g4w1xQd5SrQMh7ctXe05OFUbnoOw9VOwPHLjD+FZI1G4oWsK+rIgEuDKPQKJVxAn PthrvPH8EjoUqSp8UTOTujXyraeHIZExwKY07VhSMvYBq2FAio65frz/pEPOftBv TjBfB/pOlUfin9nafowlR+8BEYbb/9D47ZNjwkkfvKxmJfjTKSDYFddxa7n3dvVH I4r1B+a6LFonjae5FAJ7SWGWdSdYt6at7SNoh25mM6vL8hX05GWkdUgiVl8gx5ai gROQCnKksTo4lGYJju0no6NQnLH7jVaHWPR0OP1xZC7wmf+KKcYeMK/C8Znd1tli H47Jj7C7UeAQITR8f993yS6QdOdb0a1FpGnoDEr/2o/rM03JuQShX5Y/WwfgcbTk Slf6gOBFl6Ar82PcubDhCUCaAvbLOLRDMYhEwWy2+tRlprJWllLo+GusYhJrgbpn 2v2YyFrspveRvoPWmDEFmQDMC+jDaHR/5aXUCEiCU9U/FLOAjIk= =a5fE -----END PGP SIGNATURE----- --/NF0xX0m5R7pqWBc--