From owner-freebsd-current@freebsd.org Tue May 4 21:37:41 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 694BA624172 for ; Tue, 4 May 2021 21:37:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-25.consmr.mail.gq1.yahoo.com (sonic304-25.consmr.mail.gq1.yahoo.com [98.137.68.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FZY903Ylvz4XKd for ; Tue, 4 May 2021 21:37:40 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1620164258; bh=/CQJQQlLJXv5yTAN/T1bRluVv23SJIjFq/XBim01XON=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=oL2qPQnZO2YOrKBHhD1mcQha7a23Y55YoEVYkCfHx7QDVRm/q1Qy+8hpWaDCw0gwXXcyq8sgfr/LV6P4bQokn/MWR1bVFMKr2qlTvLWcdKnml4JkohOG2836urMrqmkRn1CpgqWCfRdLXZhM3YrATRU67Gryp8+1vDn21Bot5909EIX7jEKqVSxed/qILgAw334e63GmejySAgsXCX/jZsCVopABVOCKUjdsLj6YhYjb/ffIxiZQgpw5KQsN1mFClfSteS9hzGH8fr+nEhrPv9gUA9GBbeMV37YbnWJ4wk5tCDxWPlw4fibg24i/fy2kcoayO2BfWqgE9pqffdZ+xA== X-YMail-OSG: upoRRm0VM1mFyyYHZiFY0cntPwvnKPDBmDBoI3_OpyjVFhdEnCMyS9PLYjdz4wc AgW4Rz9H_GGVbFNYKzWlKu3_ZJ3vOJKJsKOvIuDQn.WBeBnosJhDNplUMjlXy4lrfQ4ddSlkwG1y Wq63C8nAF6bm_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APYN5tRst9pLGc5NmGN88ngcsg.W2wUZGW Rd2aK8YVl8kJfnqZklKcMPt5N_4Uws3itWlXDFplSTOXPVXycI2v1TBcTnT2PSogpV.ihpoYvQZa QSzuNrWeBQwMjPD16szWlqV.sMBP54XgiwsT8wbuljS0kjrZRrRRqGpOifxK9mHFxHA2HFnfArri JbRwMHpRVSwsbZb8o3Tm2NKimtGlL.D1XR8n0TUEwBRg- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Tue, 4 May 2021 21:37:38 +0000 Received: by kubenode512.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID bde6a5c52663df75e016ba2a4b8652e3; Tue, 04 May 2021 21:37:33 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: should bsdinstall work? Message-Id: Date: Tue, 4 May 2021 14:37:30 -0700 To: tech-lists , freebsd-current X-Mailer: Apple Mail (2.3654.60.0.2.21) References: X-Rspamd-Queue-Id: 4FZY903Ylvz4XKd X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.68.206:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.68.206:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.206:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.206:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2021 21:37:41 -0000 tech-lists tech-lists at zyxst.net wrote on Tue May 4 19:22:39 UTC 2021 : > I've been trying to set up a boot-from-usb3 raspberry pi 4. I thought > i'd be able to do this by booting into latest current snapshot image = for > arm64 rpi (written to microsd), and then running bsdinstall as root. I've done something similar, deliberately making the root file system ZFS based to experiment with bectl usage and to have GPT instead of MBR, for example. Even when other things work, do not expect bsdinstall to deal with the RPi firmware or u-boot in the msdos file system partition. I copied those over separately. > I can select the auto-zfs option then select the usb3 disk as > installation destination. The bsdinstall selects the sets and = downloads > them, but then get the error: >=20 > "error while fetching=20 > file://usr/freebsd-dist/MANIFEST > : No such file or > directory" As I remember, I had to use bsdinstall's DISTRIBUTIONS environment variable to pick what to download in order to get MANIFEST to download. Otherwise I got just the 2 files (base.txz and kernel.txz) and the complaint that you report. Ultimately I picked to get more than just base.txz and kernel.txz as well. I'll note that: http://ftp3.freebsd.org/pub/FreeBSD/releases/arm64/13.0-RELEASE/ has the MANIFIEST file available. As does: http://ftp3.freebsd.org/pub/FreeBSD/snapshots/arm64/14.0-CURRENT/ Unfortrunately, there has not been a successful snapshot build for arm64/aarch64 or arm/armv7 recently. So there are no .../13.0-STABLE/ examples yet. Another place to stable-13 materials is paths matching: https://artifact.ci.freebsd.org/snapshot/stable-13/*/arm64/aarch64/ that have MANIFEST and *.txz files. For example, = https://artifact.ci.freebsd.org/snapshot/stable-13/d6d039ea74a26357173d126= 3682d4f5119037434/arm64/aarch64/ has a snapshot as of one of today's commits. When looking in such folders, be sure to check the dates on the files: they might be older than the parent directory dates suggest. Sometimes one finds the directory is empty despite the arm64/aarch64/ level being created.) There is also: https://artifact.ci.freebsd.org/snapshot/stable-11/ https://artifact.ci.freebsd.org/snapshot/stable-12/ https://artifact.ci.freebsd.org/snapshot/main/ and aliases based on names like 13.0-STABLE and head . > also tried via release/13 image, same error. Looks like it's = downloading > the files but then the installer can't see them, something like that. >=20 > the downloaded files are there: >=20 >=20 > root at generic > :~ # ls -lah /mnt/usr/freebsd-dist/ > total 187454 > drwxr-xr-x 2 root wheel 4B Apr 9 06:51 . > drwxr-xr-x 6 root wheel 6B Apr 9 06:50 .. > -rw-r--r-- 1 root wheel 158M Apr 9 06:51 base.txz > -rw-r--r-- 1 root wheel 25M Apr 9 06:51 kernel.txz Yea, without DISTRIBUTIONS it seemed to grab just the 2 files without also getting MANIFEST. Or at least that is my memory of how it went. I used DISTRIBUTIONS to get more files and so also got MANIFEST. You can also put the files in place separately and tell bsdinstall to look in a file:///path that you type as I remember. file:///usr/freebsd-dist could be an example. > root at generic > :~ #=20 >=20 > worth submitting a PR? or is bsdinstall legacy and I need to use some > other method. I've not tried releng/12.2 yet. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)