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 ms9.migadu.com with LMTPS id SKbzGD55J2V0OAAAG6o9tA:P1 (envelope-from ) for ; Thu, 12 Oct 2023 06:42:38 +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 SKbzGD55J2V0OAAAG6o9tA (envelope-from ) for ; Thu, 12 Oct 2023 06:42:38 +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 46052550AC for ; Thu, 12 Oct 2023 06:42:38 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=BkBRQkfs; 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=1697085758; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=71jgr8LAvEE3+MN0SHiQxic2jDczZ+1K7HMC4b+B23E=; b=PD4bZxQnCSrL0QRhsAVg/UVJq+p/wnLI9SKMX5cDKgYlWpq/4ek2Ms8d+/pED4sg+aUAuP rWUIEZ3HPIfZnLTtjRDRparP7ypLQEpMZ6v226g3lXpOnaPlE/zmwfxd8CO+27QJZG/f0Q k417uI4SBylvP5bzAViFyck6yDzE894hlzeo9Av0adqH6dQcQQ5UBC7wIaCCT0bHR/Wf6K xNLeGVke71JVU/qlzsUxoKhULfzWPhMWZlnRTdHqgJXoQB+S/Pg3a/ITm3Qrmr3znee8Sq lhy/85TynL9z+Ty+nGNJB4qX4lhoITsYYDatH869Z78VwXep2vPacTKxn1sB8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debian.org header.s=1.vagrant.user header.b=BkBRQkfs; 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=1697085758; a=rsa-sha256; cv=none; b=Orf6vApr8jpQ7d998FMEwS3QEgIOrka8Mp/BW1E2TngehGb9TRk1kHjWYYZ975HecfYkrg k12lopot1TotXMoxLa/2gRznSHn6Xi2p2mXHO0UYyccYX+GAFrxoV6cffQ508E0132Ipek MjgIwghC154O41hIL4pL2letDoX4hbkpYZjd6Y6p8eZCEAZWPT0IQ3rjvpdZnX62t5No/s yJSPIlDnbe7i+4BhImJHE0M8iE+zsjKdKopUjWbQEO6tyhipzmigacWWXEX9+mgrsl0L44 h+iwO5mUiCOtEM6ecqJ6CCCVI8d9w+WGBWD2LT6tFrQeLWEpDqEiy5VPUBWJkw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqnWM-0001ML-OK; Thu, 12 Oct 2023 00:42:02 -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 1qqnWL-0001MD-OJ for help-guix@gnu.org; Thu, 12 Oct 2023 00:42:01 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqnWJ-0000kK-Lh for help-guix@gnu.org; Thu, 12 Oct 2023 00:42:01 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:50]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 49B141AD21; Wed, 11 Oct 2023 21:41:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1697085706; bh=BhDXr/9otYC7cqDS9enFlAdWgAKN49oCQeU6JA8LYMI=; h=From:To:Subject:In-Reply-To:References:Date:From; b=BkBRQkfsmYKVBOZI3D/xXlnnciywzai7tT7bPLol9T8KSBh11Fh9fY6PAaRtzJjHA IeDwWj+37PeL69GB3JCyg9HwqdUhYqnOWLrlp8gxE5xBDDt4+8BgcGUbSBmurza/8q FAoO9LggmrwXX+t0w/j5kf+JRSvviZoW2gxgIBN8pMsHReQZP1s7Wb01IKkhEdkJSf 5W30hcuCTzbhzaUtLMs+R43X7iDqRqIEN24/uj2MBhlsI7KoWADiWidpQ808IyOS02 2mLS2GLMUIIwDo0GBKzBK+E4joVNHGi1ku5jdBJKduovbUybJiV+vyN3zgDk8oYF5x 7ixrmSUEN4jKw== From: Vagrant Cascadian To: paul , help-guix@gnu.org Subject: Re: Pinebook Pro boot from NVME In-Reply-To: References: Date: Wed, 11 Oct 2023 21:41:43 -0700 Message-ID: <87edi0a1vc.fsf@wireframe> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=173.255.214.101; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham 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: -12.37 X-Spam-Score: -12.37 X-Migadu-Queue-Id: 46052550AC X-Migadu-Scanner: mx2.migadu.com X-TUID: 8A5jWsn0CzH0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2023-10-07, paul via wrote: > I'm interested in using the best distro in the world on my Pinebook Pro=20 > (currently the bootloader is broken on master, see [0], but guix=20 > 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... > 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. > > This is the workflow I'm using: > > image=3D$(guix time-machine --commit=3Dd6a53849935f8584e1df57faa79c18c23f= bb2aa1 --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... > sudo dd if=3D$image of=3D/dev/mmblk1 bs=3D4M status=3Dprogress oflag=3Dsy= nc > > for flashing the sd card and > > sudo dd if=3D$image of=3D/dev/nvme0n1 bs=3D4M status=3Dprogress oflag=3Ds= ync > > for flashing the nvme disk. Since you dd'ed the exact same image to both partitions, they will have the identical filesystem labels and uuids, and which one is associated with the label/uuid may vary from one boot to the next... this is likely the cause for the behavior you describe... > I'm using tow boot and i have armbian on emmc, guix system on sd card=20 > and guix system on nvme. One really strange behavior happens: > > 1. I choose the nvme option in tow boot > 2. I'm instantaneously presented the U-Boot menu (as opposed to when I > choose the sd card, where I'm also presented u-boot but quite a lot > slower) so I'm pretty sure that the bootloader is correctly read > from the disk > 3. a Guix System loads but when I log in as root and run mount the / > filesystem is mounted on /dev/mmblk1 Does it boot to the NVMe partition correctly when you remove the SD card? You need to change at least one of them to use a different filesystem label, and the system configuration needs to be updated as well. Or build a second image with an alternate label/uuid (it should go fairly fast, as most of the components will be identical). It would also be wise to not have identical uuids, though I am not sure how easy that is to do... live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCZSd5BwAKCRDcUY/If5cW qqjvAQCLm1drvq0S47fpO0VzzKDMuuclYm0/rl6UNniiRVcA0AEAh6faOyNCC2Gr ldJf3lLog5ixwsVtFojHVLp89ucekAw= =VXYL -----END PGP SIGNATURE----- --=-=-=--