Re: should bsdinstall work?

From: tech-lists <tech-lists_at_zyxst.net>
Date: Wed, 5 May 2021 13:01:01 +0100
On Wed, May 05, 2021 at 04:48:13AM +0100, tech-lists wrote:
>On Tue, May 04, 2021 at 07:33:40PM -0700, Chris wrote:
>>Doesn't bsdinstall allow choosing different means of fetching the
>>dist files?
>
>iirc it gives an ftp list. I tried with ftp.uk and ftp.de.freebsd.org.
>
>>Last I remember using it, I was able to choose ftp http(s),
>>etc... Making, or using an already matched MANIFEST is fairly trivial.
>
>i'll try downloading a matched manifest by hand, next. Thanks for the
>tip.

Clarified there's no http/https in the download list, just ftp urls

I tried running bsdinstall in one console and fetch in another

root_at_generic:/mnt/usr/freebsd-dist # fetch
ftp://ftp.uk.freebsd.org/pub/FreeBSD/snapshots/arm64/14.0-CURRENT/MANIFEST
MANIFEST                                               782  B 2145 kBps
00s
root_at_generic:/mnt/usr/freebsd-dist # fetch
ftp://ftp.uk.freebsd.org/pub/FreeBSD/snapshots/arm64/14.0-CURRENT/MANIFEST
fetch: MANIFEST: stat()
root_at_generic:/mnt/usr/freebsd-dist # fetch
ftp://ftp.uk.freebsd.org/pub/FreeBSD/snapshots/arm64/14.0-CURRENT/MANIFEST
fetch: MANIFEST: stat()
root_at_generic:/mnt/usr/freebsd-dist # 

bsdinstall bails with the error.

then: 
root_at_generic:/mnt/usr/freebsd-dist # ls -lah
ls: .: Not a directory
root_at_generic:/mnt/usr/freebsd-dist # 

clearly theres an issue with the bsdinstaller unmounting the chroot at 
/mnt at the wrong point. If bsdinstall *should* work, I'll raise a PR

looking at man 8 bsdinstall, theres loads of parameters I can set, and
there's also logging. will read all this before making a PR.
-- 
J.

Received on Wed May 05 2021 - 10:01:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:28 UTC