Date: Sat, 20 Dec 2025 22:18:56 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> To: A FreeBSD User <freebsd@walstatt-de.de> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: Using install image to recover wrecked system? CC missing ... Message-ID: <b9989aa7-05eb-4475-8e46-ee8c3fb9db16@quip.cz> In-Reply-To: <20251220153444.3b39a16e@thor.sb211.local> References: <20251220141552.6058bacc@thor.sb211.local> <2ea2910a-197a-4cfd-8dd9-8878f1e4dda5@quip.cz> <20251220153444.3b39a16e@thor.sb211.local>
index | next in thread | previous in thread | raw e-mail
On 20/12/2025 15:34, A FreeBSD User wrote:
> Am Tage des Herren Sat, 20 Dec 2025 15:21:04 +0100
> Miroslav Lachman <000.fbsd@quip.cz> schrieb:
[..]
> well, it is a bit confusing now, the latest install image from FreeBSD (Current, unhashed)
> contains only new style packages. I theory, picking up the right package and relocate
> installation would do the trick? Bad thing is that I do not know what package to pick up to
> overwrite a damaged part ...
I don't know if you really need CURRENT to boot a fix your system, maybe
the 15-RELEASE is enough to boot and try to build your new CURRENT as if
you are upgrading. You can download base.txz from official FreeBSD FTP
server in the path /pub/FreeBSD/releases/amd64/amd64/15.0-RELEASE/
> using old-style base.txz also would wipe out /etc/ (overwrite existing files). I have backups,
> but they are unfortunately not accessible until the crippled host is up and running again ...
In this moment it it good that it will overwrite default files, because
you are not sure what files are broken and what are OK. You can rename
or copy /etc/ to /etc.bak and then extract base.txz
Or if you really need to keep original /etc/ in place, just excluded
from unpacking by --exclude
tar --exclude etc -xvf base.txz
I would recommend to unpack at least /etc/rc.d/ from base.txz to be sure
services can start correctly.
And well, there is also base.txz for 16.0-CURRENT on FTP!
/pub/FreeBSD/snapshots/amd64/amd64/16.0-CURRENT/
Kind regards
Miroslav Lachman
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b9989aa7-05eb-4475-8e46-ee8c3fb9db16>
