From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 gBKDHPVkKGVMggEAauVa8A:P1 (envelope-from ) for ; Thu, 12 Oct 2023 23:28:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gBKDHPVkKGVMggEAauVa8A (envelope-from ) for ; Thu, 12 Oct 2023 23:28:21 +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 B290F36473 for ; Thu, 12 Oct 2023 23:28:20 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=autistici.org header.s=stigmate header.b=PBYLcONV; 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=pass (policy=reject) header.from=autistici.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697146101; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qOE9GLrmdi0s7Szdr8cy3bh8kkp5VDg00oCV+DrNnd0=; b=bEfEUKHUd9kI4Z+htu62TMO35JGKGyv63CbTFjym9YUuKNnuRA0f+TW51L8FNh1TuoMhwH itoOsISeQRmk5mqnWUmGfFUuRU83/o8gAXxS5zicmKnOYk+Uy/HCWV46G4E5R5nM06S8LO AHSEicPdH7Q+BrAPaZH4E9+cvjFyqC2fopcrIR6kRnR+qj59FSAEI6svnUfAPc3kHrdU9N pMKw3moUf+tr/lC6anxqaIE8XTcFFO6jF1PjDOpxFmYz4wtma75TXYh6ZxZom9SVQWzwnb xBSDDHUwUplW49YyJleGt7bMLtWKd7D+lHaQyhgFvrKuIM8mAKfbv2T9JX+WXg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=autistici.org header.s=stigmate header.b=PBYLcONV; 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=pass (policy=reject) header.from=autistici.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697146101; a=rsa-sha256; cv=none; b=aK8yi+0UxryeFWZOOVZ/SoY4jHW6My9B9/HOjjGeRVadwoG4Y63Int9uu8893w2fV4Jv8o esrB1AXQercyUXylXKogTQFl7vZiw9nBlKFb7LOzVhGBWralAjF9UAxDfCPy1yto4hV3MA Kvf+0WvXvIu6Sq3WF3B0YtmDvTd+PnIgWgSxd0d/RXTooHgEfUSe4H5eEVRdPwBQmuD8OF slaFtoMTmxxaeXgcuVByipzNpE5f25BA9qnm/AcHhMqOlbW50Lid3qf/BsR6QvrlPUJxmS WR5ys4ICZpzv9MMno3CNVibcOqSt1haoyQWJWGfS9HVJn7gbipskXrnJOrp9Lg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qr3Dn-0002Dn-50; Thu, 12 Oct 2023 17:27:56 -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 1qr3Dj-0002DU-IC for help-guix@gnu.org; Thu, 12 Oct 2023 17:27:51 -0400 Received: from confino.investici.org ([93.190.126.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qr3Dg-0004UV-LL for help-guix@gnu.org; Thu, 12 Oct 2023 17:27:51 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4S62mB4nTDz114x; Thu, 12 Oct 2023 21:27:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1697146058; bh=qOE9GLrmdi0s7Szdr8cy3bh8kkp5VDg00oCV+DrNnd0=; h=Date:Subject:To:References:From:In-Reply-To:From; b=PBYLcONVOHkZhVchup6AbTKcTJsL+S2eUaPdhuZfwtkTL6BODLrsHUe2pnCMGeRhV 9LUvP9r4hI1JVtAwAQJsfgquk+4K14OVNDKic+Q8iv0fZrpOYaO+GmRFkjj3Miz9zP vLMtrNuHA6S2/PV1vJGRjPiKfri5yLro8pJ1Z7k0= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4S62mB40gGz114v; Thu, 12 Oct 2023 21:27:38 +0000 (UTC) Message-ID: Date: Thu, 12 Oct 2023 23:27:37 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: Pinebook Pro boot from NVME To: Vagrant Cascadian , help-guix@gnu.org References: <87edi0a1vc.fsf@wireframe> Content-Language: en-US From: paul In-Reply-To: <87edi0a1vc.fsf@wireframe> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=93.190.126.19; envelope-from=goodoldpaul@autistici.org; helo=confino.investici.org X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-3.339, SPF_HELO_PASS=-0.001, SPF_PASS=-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: -7.37 X-Spam-Score: -7.37 X-Migadu-Queue-Id: B290F36473 X-Migadu-Scanner: mx2.migadu.com X-TUID: Zd0C5/h4RRp4 Hi Vagrant, 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 Pro >> (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... > > >> 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=$(guix time-machine --commit=d6a53849935f8584e1df57faa79c18c23fbb2aa1 --system image -e '(@ (gnu system images pinebook-pro) pinebook-pro-barebones-raw-image)' --system=aarch64-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? > > >> sudo dd if=$image of=/dev/mmblk1 bs=4M status=progress oflag=sync >> >> for flashing the sd card and >> >> sudo dd if=$image of=/dev/nvme0n1 bs=4M status=progress oflag=sync >> >> 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... :( Thank you, this is what happens by testing at late night. > >> I'm using tow boot and i have armbian on emmc, guix system on sd card >> 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? No it does not. If I remove the sd card and don't change anything else guix is not booting. I'm attaching [0] a video of the behavior, basically the screen stays black forever. > 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... That was an extreme situation in which i found myself after many failed trials. My goal is just to be able to dd an image able boot a Guix System from nvme. Is there something i can do to increase verbosity of some log? Maybe uboot or the kernel? Thank you for your time, giacomo [0]: https://libre.video/videos/watch/ce63c53b-68c9-4943-b74b-52e71af6fc20