Re: What happened to 16?

From: S. Ross Gohlke <ross_at_bisd.ro>
Date: Mon, 08 Dec 2025 19:03:51 UTC
On 12/8/25 01:37, Chris wrote:
> I just got a new laptop and tried to boot 13.5,14 and 15
> but it hangs at the video -- something about loosing contact
> with sc. So I went to get a copy of 16. But download.freebsd.org
> doesn't know where it is. All the links to it from FreeBSD.org
> return 404.
>
> So where is it?
>
> Thanks! :-) 
You can generate your own artifacts from pkgbase packages installed in 
an alternate root.

Add the package repository configuration:

     FreeBSD-base: {
       url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_latest",
       mirror_type: "srv",
       signature_type: "fingerprints",
       fingerprints: "/usr/share/keys/pkg",
       enabled: yes
     }

To generate src.txz:

     # env ABI=FreeBSD:16:amd64 pkg -r /mnt/src install FreeBSD-set-src
     # tar -acof /var/tmp/src.txz -C /mnt/src usr/src

To generate base.txz:

     # env ABI=FreeBSD:16:amd64 pkg -r /mnt/base install FreeBSD-set-base
     # mtree -deiU -f /etc/mtree/BSD.root.dist -p /mnt/base
     # mtree -deiU -f /etc/mtree/BSD.usr.dist -p /mnt/base/usr
     # tar -acof /var/tmp/base.txz -C /mnt/base .

The mtree commands may or may not be necessary, but in my case I expect 
/usr/obj to exist.

If you want to pretend like this never happened, remove the package 
repository configuration and database ($PKG_DBDIR/repos/FreeBSD-base) 
once you have the artifacts.

You will still have the packages, which you could exclude from your 
normal cache by setting PKG_CACHEDIR in the above pkg commands.