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,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 541 invoked from network); 8 Jan 2023 15:59:21 -0000 Received: from tb-ob0.topicbox.com (64.147.108.117) by inbox.vuxu.org with ESMTPUTF8; 8 Jan 2023 15:59:21 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob0.topicbox.com (Postfix) with ESMTP id A28EF3E6F7 for ; Sun, 8 Jan 2023 10:59:19 -0500 (EST) (envelope-from bounce.mM9a9b0a67789e2b67bf4b0cdd.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 9FB3BA251B3; Sun, 8 Jan 2023 10:59:19 -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=1673193559; bh=czHxtz1KgFfKuPtUwwD302I6CaRCfJhlCu7t1 +EMmuA=; b=KTOC9Qt1Bkjvi6vteZmRgyssVxDWISBt1GteHp3cPhAmjv8+atXc9 hEQqz8643MphT3tWNGFqeHXnnpg27FX3viEV0oclt+Gsocosu1RG9wKtQ8JYsnUh NJZmXUrfsPXzc1Ww/iGPxTb02LeBOlVLptwN4VQJiIbQe2haAWhmsQ= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1673193559; b=rnPRDBKVXmxBCACPeW+kTGY2gZoq+Qy+j1FN9jZLiRLEPLF0Mc H35lsUhhgdJ+ZEci7D5CBpRBtMNAn4TMHivfQ+6oFdkhlAvMvBFSHqaWMshMOcM2 74ZvFmIykq5C//8w+qZTU8RGejEcfgawSc/8bc7ahZJHX2sczOip7DJvc= 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= 1673193559; x=1673279959; bh=jZE9Z6UNnJT13NOtbo14LJI/pjrudkY9+u0 BdQ3vm9o=; b=RRM+2rdXNnlMfkgYvGpU8pIS4qxOnZDcGnMdRlLI7SUxcL7cSC6 e+rZawBgJ3YtXig4pMJWKuOdFzNkazPXGYUqqjvC6j7jLvf/uDwICp3wrNAtUXPi GEs+cGZJQvHdIgoYvNg7dwr5X3Zecg+4ioRrm900WpwW4y5hBmybWcjY= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 23871A24D44 for <9fans@9fans.net>; Sun, 8 Jan 2023 10:59:08 -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 98FCC888DE3; Sun, 8 Jan 2023 10:59:08 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1673193547; b=ewayNGl8fP/eXik/VkcOx4ABkuC5zWg8VmK6HnmFrVbDkNEb+v XPm68T+7AOFeOKfliqQ45OOTT2SFCb5iOSzsXe3oiPl3ppkeXKGrTWafxFKGmWXi xbLQ+x+LjM8vWXIYEK5Eg4/A2QkbVksk/eYj28tqiElrdNdgMdXJ41BhsWvIxY9o lWjH953Q631UpywFoRqtvlEg8+bPUZtnEco6ekTaq2gi4iarzHqs7pgm4axZkdUN 4FDtzTCwPj0SsM2iFbbY+/X6fi1GGZDLwxMoqxIaruCikIN3p54heOQnBrWPYGF0 Lf+XkjNT6vKNLPiytp7FRF3BA/mQTPO9PhyA== 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=1673193547; bh=kyNVWFXsE1xBsD1WZcpIBOf3YWDuwFgWSxHTmWNQULU=; b= GWPdnwiyzTUmqR99AetrNIscj/s2LFTVq5TMEsd6B0lR2W9OCHn+iM5XvUZbqVtq 4KFFyQadENj0H1ZfCoKYOa9uHBUQfkxU/5S5nCNwWszMTAeId6LawYKhXKlzGglN +qbuDHir7h5ay9Qqv832sroXIP87EV+47qveSE/Sb10lk6610raCqJFiec57lcwd yGGOPJfK2T2UUPk+cw1ykDdD0sj2TaHOUUzAt17WuLArAtFKimGr5N89IpCKmjeG Ws1FIbaWImTnd3Ij9zo/pG0XfqMSxd3Q0ymd+IWRV/Rug74iUXVZSrEVn3sMKQwz 6XqsaV3t/kxCNT0lNyAl6Q== 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: gggruggvucftvghtrhhoucdtuddrgedvhedrkeeggdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkffvuffhff gjgggtgfesthejjhdttddtvdenucfhrhhomheptfhitghhrghrugcuofhilhhlvghruceo lehfrghnsheshhgrmhhnrghvohgvrdgtohhmqeenucggtffrrghtthgvrhhnpeevtdeftd ejfefhleelhfdttdfhhffghfefudeftefghfehfefhffetvdehgeejueenucfkphepgeei rddvfeehrddvvdejrddvgedpkeekrdeljedrvdejrdekfeenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepihhnvghtpeegiedrvdefhedrvddvjedrvdegpdhhvghlohep mhigvddrmhihthhhihgtqdgsvggrshhtshdrtghomhdpmhgrihhlfhhrohhmpeeomhhilh hlvghrsehhrghmnhgrvhhovgdrtghomheq 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>; Sun, 8 Jan 2023 10:59:06 -0500 (EST) (envelope-from miller@hamnavoe.com) Received: from [88.97.27.83] (port=33445 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 1pEY4f-00DvZe-C7 for 9fans@9fans.net; Sun, 08 Jan 2023 15:59:05 +0000 Message-ID: <269c5d9ba480047a140fe06b6ca5167e@hamnavoe.com> To: 9fans@9fans.net Subject: Re: [9fans] pi4 USB '/boot/kfs' error From: Richard Miller <9fans@hamnavoe.com> Date: Sun, 8 Jan 2023 15:59:03 +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: 65378a42-8f6d-11ed-a0e4-ddfb59abc139 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNGNiMDQ0YjFlZWU5OGUzZS1NOWE5YjBhNjc3ODllMmI2N2JmNGIw?= =?UTF-8?B?Y2RkPg==?= 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:M9a9b0a67789e2b67bf4b0cdd:1:nsuh13FCXIxqx-90uAGSYZnp39rRtvCq42JrSX3TZU4 I said: > 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. I've done a bit of experimenting, and did manage to boot a pi4 with only a usb drive and no SD card. It turns out that you can use the first part of the mbr sector on the usb drive to store the fs(3) configuration, ie fsconfig=3D/dev/sdU0.0/data in cmdline.txt -- as long as you don't have so many partitions that the config text overlaps the DOS partition information in the mbr (at offset 0x1be), the pi4 bootrom code will happily boot from the usb drive. I wouldn't suggest that PC users try this - a PC bios might be more strict about what's in the mbr. Booting without an SD card seems to have some rough edges. You get irritating error messages when startup procedures include /dev/sdM0 in the list of disks to look at, and the reboot(8) command doesn't work because the usb disk interface probably needs some soft-reset to be done before the pi bootrom can initialise it again. Even if you are primarily using a usb drive, booting from SD (or netbooting?) might still be preferable. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T4cb044b1eee98e3e-M9a9b0= a67789e2b67bf4b0cdd Delivery options: https://9fans.topicbox.com/groups/9fans/subscription