From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15138 invoked from network); 7 Jan 2023 19:50:14 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 7 Jan 2023 19:50:14 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 9C82628290 for ; Sat, 7 Jan 2023 14:50:10 -0500 (EST) (envelope-from bounce.mMc9962f736d0b6ee6e0c0ad7b.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 99B89A180CE; Sat, 7 Jan 2023 14:50:10 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=mx2.mythic-beasts.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:from:date:in-reply-to :mime-version:content-type:content-transfer-encoding:list-help :list-id:list-post:list-subscribe:reply-to:list-unsubscribe; s= sysmsg-1; t=1673121010; bh=AliLAhG2h6d25bBCyFszPe1XMOt1KAL2a7YOA EjoPT0=; b=BKkA1GV3pRBfAkEjr8Z+1K2uuKS2MorxU+35fK70pFN+MVEoiTDLZ f4duZSKrz9VwYyxTq93IloHOpej/Ab1VKkVQRWbdA7hcp1Eps8TOt1vNPvr9YVXN ug+EVzd7A9naLI9YABTCxKt6ot+wKmxXoXw2zGsLEFrutSDPMoMPWY= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1673121010; b=Z5Y0Klqz5GO2i2Z5HyASMhG+qJzWQMPfBaJsHQnvBrwdmI0VOz r6CFhnfjmooROjPmTTpPxucfSRZ3iuR6uMlIh9v3mOJ3/eXaUGZDUF3PHpvw282J k4/W76BuDhHsjgaCcwrf3sTVb2ox6vQUTTyDGVgVEnGL6IKP8x5konYM0= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=mx2.mythic-beasts.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; iprev=pass smtp.remote-ip=46.235.227.24 (mx2.mythic-beasts.com); spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=mx2.mythic-beasts.com; x-aligned-from=domain_pass (Domain match); x-me-sender=none; x-ptr=pass smtp.helo=mx2.mythic-beasts.com policy.ptr=mx2.mythic-beasts.com; x-return-mx=pass header.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx2.mythic-beasts.com,mx1.mythic-beasts.com); x-return-mx=pass smtp.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx2.mythic-beasts.com,mx1.mythic-beasts.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=message-id :to:subject:from:date:in-reply-to:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=dkim-1; t= 1673121010; x=1673207410; bh=IHi6lYRDecb5Yo0nMylG69Gei4JGY5/nZEk 4Jbv0HQw=; b=CDFiwKqi0Z02tL20TCctsgq4EiQ/fibVyLgbdx5fct19+Z9Y2de l/8fFip5wQPxxJzmZa8SzA7HPQo1AXwBrGR6AOtdVwa41Wts1Zaj9Fv5meBjPf5I y5XHoMuWQRpocaVBpeMIoYFS0H2LSXoWaxnDL/t8IxXZtcgsF2MMpFmM= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id E0222A17BFC for <9fans@9fans.net>; Sat, 7 Jan 2023 14:49:52 -0500 (EST) (envelope-from miller@hamnavoe.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 66B3F5426A6; Sat, 7 Jan 2023 14:49:52 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1673120992; b=fOvhQR6ybJvKp5OVuiuKNplJPttkPS7UcRXrlMBhmf99BRNAEW DfqzyQwAr4dpAb2cArTNIW7AF+qcLNEuMht4ISYv9mkYog0TK7QQ59APIKIGcdYa SsD6uCrja2QV2SKRR/HQePDqxf/BXagkjecgCE+10kDmNcmOQCbpH2RJxG+kB2L2 NCN4P0v/7P6ftheyhGK7W8Z1qyx/e2DHpfDCsGg8jllH6HnI0FrSIEcLt5lhUNj4 ySt83Ua1JzHb0TMfR6hbNrOAOQlHVBjL6G52R+LsMdNANg2l2PGcbY1HRI35gDxq DANiHZGNyrBSBTwtiaAHq/+BhjAWztEZ9+iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:to:subject:from:date:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1673120992; bh=QuZhNA9d0MB3k+uNQKHP6QGxqCvpE/YeGSPoMs1vmO0=; b= L+LYIIyB7EzP4J8Gq6GhsPa2UDwIMfrii1CXh45WiEYhetwwLjJqNnm7BeJhA7ow 0V653rECwZpe3orqB23mJml5ApOQYkq4QHexkrd1daeHPhEv5RGexpljl25dWLhf ECr+5FsV2uvAh4DyqXd7iLDGJ0dUwhEaCwf3NSyaS0E4uNAhMKxjrBrT8CEz41QS oG48If0YUi1ic6qVv6P88rPctkNnw7cIrSb8GwJzMbMciFhHS0GKCGdM5mLrD+Tu e1OxQAxZcNmCn6cP3ozOEwLDlG7VA3X/Y4D58GFpih82iP+L//ZHVCCHBU9NXiJt wVoBXbcfgcWgQLzo58rfFA== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=hamnavoe.com; iprev=pass smtp.remote-ip=46.235.227.24 (mx2.mythic-beasts.com); spf=pass smtp.mailfrom=miller@hamnavoe.com smtp.helo=mx2.mythic-beasts.com; x-aligned-from=domain_pass (Domain match); x-me-sender=none; x-ptr=pass smtp.helo=mx2.mythic-beasts.com policy.ptr=mx2.mythic-beasts.com; x-return-mx=pass header.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx2.mythic-beasts.com,mx1.mythic-beasts.com); x-return-mx=pass smtp.domain=hamnavoe.com policy.is_org=yes (MX Records found: mx2.mythic-beasts.com,mx1.mythic-beasts.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvhedrkedvgdduvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkvffuhf ffjgggtgfgsehtjehjtddttddvnecuhfhrohhmpeftihgthhgrrhguucfoihhllhgvrhcu oeelfhgrnhhssehhrghmnhgrvhhovgdrtghomheqnecuggftrfgrthhtvghrnhepvedtfe dtjeefhfellefhtddthffhgffhfedufeetgffhheefhffftedvheegjeeunecukfhppeeg iedrvdefhedrvddvjedrvdegpdekkedrleejrddvjedrkeefnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehinhgvthepgeeirddvfeehrddvvdejrddvgedphhgvlhho pehmgidvrdhmhihthhhitgdqsggvrghsthhsrdgtohhmpdhmrghilhhfrhhomhepoehmih hllhgvrheshhgrmhhnrghvohgvrdgtohhmqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (hamnavoe.com: Sender is authorized to use 'miller@hamnavoe.com' in 'mfrom' identity (mechanism 'include:_spf.mythic-beasts.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="miller@hamnavoe.com"; helo=mx2.mythic-beasts.com; client-ip=46.235.227.24 Received: from mx2.mythic-beasts.com (mx2.mythic-beasts.com [46.235.227.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Sat, 7 Jan 2023 14:49:51 -0500 (EST) (envelope-from miller@hamnavoe.com) Received: from [88.97.27.83] (port=36311 helo=hamnavoe.com) by mailhub-hex-d.mythic-beasts.com with esmtpsa (TLS1.2) tls TLS_RSA_WITH_AES_256_CBC_SHA (Exim 4.94.2) (envelope-from ) id 1pEFCQ-0085p1-8K for 9fans@9fans.net; Sat, 07 Jan 2023 19:49:50 +0000 Message-ID: To: 9fans@9fans.net Subject: Re: [9fans] pi4 USB '/boot/kfs' error From: Richard Miller <9fans@hamnavoe.com> Date: Sat, 7 Jan 2023 19:49:48 +0000 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BlackCat-Spam-Score: 1 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 76e77ad0-8ec4-11ed-b491-f0c5c49a9635 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNGNiMDQ0YjFlZWU5OGUzZS1NYzk5NjJmNzM2ZDBiNmVlNmUwYzBh?= =?UTF-8?B?ZDdiPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Mc9962f736d0b6ee6e0c0ad7b:1:ihERkipqVir7S0eKZAhf42Vayc9kdosQ7Gr9r6DAlEA marco@germteig.com: > I am running the Dec 22 9legacy on a machine, and now want to create a bo= otable USB on it. > The USB is for a raspberry pi 4 4GB, acting as a standalone auth only. When you say "bootable USB", do you want to boot the pi4 without an SD card, and just a USB drive? If you're happy to have both SD card and USB drive, you can use the SD card to hold a DOS partition (with bootable kernel and cmdline.txt) and a fsconfig partition (to hold a partition configuration for a /dev/fs device (see fs(3)) which maps the USB drive. This is what I do to set up a pi4 file server with fossil on a SSD drive. My pi4 kernel config doesn't have partfs, fdisk and prep in the bootdir section, and does have fs in the dev section. The cmdline.txt is readparts=3D1 nvram=3D#S/sdM0/nvram fsconfig=3D#S/sdM0/fscfg bootargs=3Dl= ocal!/dev/sdXX/fossil and the fscfg partition on the SD card looks like this (the fsdev: first line seems to be undocumented) fsdev: part sdXX/nvram /dev/sdU0.0/data 2096640 512 part sdXX/fossil /dev/sdU0.0/data 2097152 8192000000 part sdXX/swap /dev/sdU0.0/data 8194097152 2048000000 ... plus some other partitions for venti, etc I use the fs(3) device because I haven't been able to get partfs(8) to work at boot time. I think there may be a bug in /sys/src/9/boot where an extra re-mount is missed out. If you want to boot the pi4 completely from a USB drive, with no SD card present (I've never tried this), you'll need an alternative place for a fs(3) configuration (maybe in the built-in bootdir in the kernel?), or the boot code will need tweaking to get the partfs(8) partitions re-mounted at the right time. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T4cb044b1eee98e3e-Mc9962= f736d0b6ee6e0c0ad7b Delivery options: https://9fans.topicbox.com/groups/9fans/subscription