Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 2021 13:01:01 +0100
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-current@freebsd.org
Subject:   Re: should bsdinstall work?
Message-ID:  <YJKI/QrCJr8HvcNt@cloud.zyxst.net>
In-Reply-To: <YJIVfYyuajoxOUOO@ceres.zyxst.net>
References:  <YJGe%2B2JNRGwHERBG@cloud.zyxst.net> <f265448f-1443-cb2f-121a-a48f42f0f255@freebsd.org> <YJH73hdEoKZlIaKM@cloud.zyxst.net> <ca15ec5694b3cc1feaaaebe9ec80b57b@bsdforge.com> <YJIVfYyuajoxOUOO@ceres.zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--yXS/49pfLj9JiexD
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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@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@generic:/mnt/usr/freebsd-dist # fetch
ftp://ftp.uk.freebsd.org/pub/FreeBSD/snapshots/arm64/14.0-CURRENT/MANIFEST
fetch: MANIFEST: stat()
root@generic:/mnt/usr/freebsd-dist # fetch
ftp://ftp.uk.freebsd.org/pub/FreeBSD/snapshots/arm64/14.0-CURRENT/MANIFEST
fetch: MANIFEST: stat()
root@generic:/mnt/usr/freebsd-dist #=20

bsdinstall bails with the error.

then:=20
root@generic:/mnt/usr/freebsd-dist # ls -lah
ls: .: Not a directory
root@generic:/mnt/usr/freebsd-dist #=20

clearly theres an issue with the bsdinstaller unmounting the chroot at=20
/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.
--=20
J.

--yXS/49pfLj9JiexD
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmCSiPQACgkQs8o7QhFz
NAWXgg/+MuhAwVEtSTbp3V93x46hRKOMAlnDVwpmNugzaqxUk1DXL+rQdXPSbBKE
y2hb7bQVyQosUzvm1TL2FmiNr+OW8qPl3lWuJmjmlpGO1GREYJBLTnvu9KXmU/B+
qYJqO/1diUnYvvhQg1GuSDlusjJNFOYlfho6vn4ayXvHa/pqVn0qlFxKjciMhuIf
uxWXTNonosxXfytGRaEJ7m405PcSlKUv/6/VSOKgakwD5m24AhB+hbH5vwyiPNnQ
MvT4EBZRUHZQusg9/8ZqID/XJo2av4yfvB/jBM8x3hcrfovzoe7+qDBuUi7vysSc
skMC5KPMvLLZH1xjhc+cZQ3CekklgQ7cRTq7FvwP+Sq+GdMO4ljH5M/67dKhFuQ8
OEgFlCuh6qK8U6MOHrmm9O94tyw4aLNtIWtxgyWAEvyP9ZDIInKnYjHVne7UFs47
6lMD9bSyLgjZ2hDVgCC5vpVDkFOLXgNPdLap/5VUMiaf3liWiNOfpgefteOpV7R5
4FBs+JvnrvvsD7kr3ebLcP+0o/LSihLROi40Nch/pJHKbsIWRnCE8s4CllaQf/dF
aHNqjn5ZqtNNzuN7XTwFI1D2fHZnEHulLgxR2jaKKXBG1PvpnPEj134bILYCpsrH
xMQ0fv8FGamrhqSjQu3gtIxquWowb/RpyjiaTZw2d++JWOAdrNo=
=V5i4
-----END PGP SIGNATURE-----

--yXS/49pfLj9JiexD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YJKI/QrCJr8HvcNt>