From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mH7oD1GFK2WNPwAAG6o9tA:P1 (envelope-from ) for ; Sun, 15 Oct 2023 08:23:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mH7oD1GFK2WNPwAAG6o9tA (envelope-from ) for ; Sun, 15 Oct 2023 08:23:13 +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 4FB936000D for ; Sun, 15 Oct 2023 08:23:12 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=epS0g+Rx; 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=1697350993; 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=eQgLzG34XykyvpMAHC/GDaMPblZ6OzlTMkDsMgJ5lqk=; b=VMF+k/WbHqmhFFT6jpQeW4icirgcFL8/eKbZtqltY6fwErY9S6h/2D66wyd+9n1h+jDxpu qUuq/R6zD4ZKMkOR2wVpLGuG1xCo7P9ctGZAdC+b/qlS2U+J51gBOt4Ytvq9PoI4BdUw6H Aba9PXLCmnv8RaW3mPJV1w7+LYIbjTfmrspKj8vNpMIZzYdPKw8jsMueaJlopIustFpaIP nbGWyI1hqHTvmzM8Fn0kAFK49vx3L8zsroluMbL7GVEZGj5+r/cmK83s4ihOnoO//U/hdW 13VpiHZzkhFbm0x6n2H5iffHWOq3FGC2NPDROjPn5jaeTbEBI3FWC3oRmxNQbQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697350993; a=rsa-sha256; cv=none; b=gSDwAopXmxGmbHc2F08tqaaibZAZ85u9RsoPHMzYZojpZ13ecX6eyzW57Qc2b12w10cN2A SA3Nj4OmDioNZHMi3OXq01Pn527BE/yfE+tUfxJq2GlR5MOlKgxH0gvZfQVKxGdhbn4TXt tmBApDXGNMM1AZE6MRz39vP+NMnhp5UXy8IzX2YJ7QEqgMn2SebPoEZydfz/aTx+oUPVl1 vC5sBNMo+wzEwiLVaJsHnGy9+dAlNwsUeZsiaSuPwUgenkVPfQpOLEVTSnF7Ts0PP9W/DD IARlU9934x4WNdYyypBaEEuMDfNEKBeyu+MFZL2k4lDYDIwGKPzTYDW2sMk37w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=epS0g+Rx; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qruWO-0008WV-PH; Sun, 15 Oct 2023 02:22:40 -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 1qruWM-0008WN-Tc for help-guix@gnu.org; Sun, 15 Oct 2023 02:22:38 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qruWK-0004m2-LM for help-guix@gnu.org; Sun, 15 Oct 2023 02:22:38 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-406402933edso35386295e9.2 for ; Sat, 14 Oct 2023 23:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697350954; x=1697955754; 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=eQgLzG34XykyvpMAHC/GDaMPblZ6OzlTMkDsMgJ5lqk=; b=epS0g+Rx2H3sI+ofOo6Q3JUmZ76DHbHMWrKyrwtNdyjNA0KnsxvDJUOafyOEr4J0Sq JxIl1tRQigyk/HtC9Q8axvye8u+sA/w6hUOOpJrnEw2tvKO9iJnDwWj0ex4sRV3UF7Up 0Bb9K2ORBpZPQOPqPlHyECc7GDzri7IEpEwOGocE+46qSeiOSWMsWfEySh9rJtzT6af3 F5Ah4PtEpPEm82tK03mM0G+lkKdGQq0PSmAhCkKyv8D8GsqOAtXirovAynzgbcIVb1Z5 iUG+YcXtEd/C6fmjiPIk/rTx89VLP6PbTimuQHIGh2KMzyVMbsgF/YdUfGPs5SbNsO7h HviQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697350954; x=1697955754; 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=eQgLzG34XykyvpMAHC/GDaMPblZ6OzlTMkDsMgJ5lqk=; b=iGyahhuE0Jxs4XxvU9tPCQDOUTQ73o/Go5pghZgb48FkszaiyAQH4xNpPTngrI/6Fs thqGjyjzSc/RUod0pAxGiYJkJqR8QD2iw3MJRHxBoGBHLIxpBmnhU8w+dAS2bXLMckhm /WQ8uCUiSSN/Ji54PTw5PGflUeQGx/f34YXFyI0cNTScjH0/IB2jnmoG9ey/9UbPapHL 3R6HOiWoxD0t6iw3Q4eQTcIAM+QgzH6qFZFOD0jf7vbBg0YxknMpk4WAqFFWR5HJQwjX fp/bUrsGoAvTI2/wd9FXwEze80W5iPUfkiWVF+5sNa8opIXpxwL34NlnE13e2X+C3tUS 7X7g== X-Gm-Message-State: AOJu0YzqU/Yt7iYAPlRoGynIkjSoKGZK//AWrAzR+jSu+tjD2g9jLQsA fF5GGdSp/FQkDO/qfI+V3vQ= X-Google-Smtp-Source: AGHT+IEVWHf3wNXC/b44PPQiM8uwOmU2/21LtlxwH3W00p9Fdg+2Aam3DVrBeE1hkwiyoL1QEKBhmw== X-Received: by 2002:a7b:cc99:0:b0:405:39b4:313e with SMTP id p25-20020a7bcc99000000b0040539b4313emr26539311wma.13.1697350954227; Sat, 14 Oct 2023 23:22:34 -0700 (PDT) Received: from localhost ([31.210.180.106]) by smtp.gmail.com with ESMTPSA id i9-20020a5d6309000000b0032da40fd7bdsm3107127wru.24.2023.10.14.23.22.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Oct 2023 23:22:33 -0700 (PDT) Date: Sun, 15 Oct 2023 09:22:31 +0300 From: Efraim Flashner To: paul Cc: Vagrant Cascadian , help-guix@gnu.org Subject: Re: Pinebook Pro boot from NVME Message-ID: Mail-Followup-To: paul , Vagrant Cascadian , help-guix@gnu.org References: <87edi0a1vc.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="d2dKpwoMh76+QBtW" Content-Disposition: inline In-Reply-To: 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::32a; envelope-from=efraim.flashner@gmail.com; helo=mail-wm1-x32a.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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -3.77 X-Migadu-Queue-Id: 4FB936000D X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -3.77 X-TUID: YADRrvuAUiyz --d2dKpwoMh76+QBtW Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 12, 2023 at 11:27:37PM +0200, paul wrote: > Hi Vagrant, >=20 > On 10/12/23 06:41, Vagrant Cascadian wrote: > > On 2023-10-07, paul via wrote: > > > I'm interested in using the best distro in the world on my Pinebook P= ro > > > (currently the bootloader is broken on master, see [0], but guix > > > time-machine allows me to still be able to proceed). > > I was not aware of this bug, will try and take a look at it sometime, > > though not quire sure when... > >=20 > >=20 > > > I'm able to do so and Guix boots perfectly from choosing the SD card > > > from the Tow Boot menu but I'm unable to make the default image boot > > > from a NVME disk. > > >=20 > > > This is the workflow I'm using: > > >=20 > > > image=3D$(guix time-machine --commit=3Dd6a53849935f8584e1df57faa79c18= c23fbb2aa1 --system image -e '(@ (gnu system images pinebook-pro) pinebook-= pro-barebones-raw-image)' --system=3Daarch64-linux) > > If you are using this specific commit to get a working u-boot, you > > probably do not need to, as Tow Boot replaces u-boot entirely... but on > > to the real issue... > Could you please elaborate on the correct way to boot a Guix system with = tow > boot? I'm not very experienced but, since I run tow boot, how can I build= a > correct image without u-boot? > >=20 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) (bootloader (bootloader-configuration (bootloader grub-efi-removable-bootloader) (targets '("/boot/efi")) (keyboard-layout keyboard-layout))) And you need to add /boot/efi as a vfat file system. (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)) Towboot should pick up grub just fine and you can boot with that. =C2=B9 https://git.sr.ht/~efraim/guix-config/tree/master/item/pinebookpro.s= cm#L56 --=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 --d2dKpwoMh76+QBtW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmUrhSQACgkQQarn3Mo9 g1FTixAAlWzqI1ek/HYAHD/kyY57vnrezLcuu88v6rtXLyNIRBztaQ+WTziSfrfu ePCCU8DkvoKJMGc9kljw8KP5svCrZSznVn8zUTHQ58TllrnZRfI3ZQ/geDjoJWJ+ 97Q0gCL8zE43ipwogJyE/0I98wJUskAZinfoscp1Df/+d1K/JJTnmJK27sBPrnJA aiZIAlxSytNNaXpg02ltp4JeSKd0K2WdXT5Djsx+iaXO5pz8vV8ekGogT2EoSsBw XRh1KbNGxZLtY46JseVRFgM7pjR/D2p31zSuRLELfTsMDxoyg1XQP0C/L5hmTvld j5NUpCy1o+qeAX5/XUSSTbPldNtDPKwPw3biDzVTOMBYJqGoccRHSuvOW4rs3BoD xpSxLbLt62Qj9E7Ky4pG8LSejJ9sgj+poH+mYLx2LSAbZncrzXXwqvcHFcgne6/p qDjmlDyttFiNBdOBJ8x5mOkSa7k1C9BzuNfavKaskgq3k6KcGXnm8XV8dmpcOK5G TqwAlibdmAwkUAisJSg/Q3g98I50/CSv5X9tQWoLY//MLu7hRW3h+yxc5FxS0Db5 oSUIjZSajBau0c4j0s3D9SBiMS6sE1ms5d8zurjcSmonHQ7QRt6YaLHSLPK6asIv oDMqXv4giz2i6QkvgsWerAj0804+XfTbZT825WBHhdSKPUcrMdE= =jN6a -----END PGP SIGNATURE----- --d2dKpwoMh76+QBtW--