From nobody Sat Dec 20 14:34:17 2025 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dYRkx4Y8Yz6MD29 for ; Sat, 20 Dec 2025 14:35:05 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp6.goneo.de (smtp6.goneo.de [IPv6:2001:1640:5::8:31]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4dYRkx1xFlz3ZCh for ; Sat, 20 Dec 2025 14:35:05 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; none Received: from hub2.goneo.de (hub2.goneo.de [IPv6:2001:1640:5::8:53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp6.goneo.de (Postfix) with ESMTPS id EE9AE240836; Sat, 20 Dec 2025 15:34:52 +0100 (CET) Received: from hub2.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPS id 65B9C24029B; Sat, 20 Dec 2025 15:34:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1766241291; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=mddX4caAWIdXF9QeUBw3vdCHO14HGgh9yjGqohWTr8w=; b=jpSoyOh6hbZqeQLn0qmO/wjKNBixCRRxp6j7zkB225Pjm1sa2edFVDUGCgyxdadNIu/Y3k WuRY1G23i6wA3otPluqx9xeUdHcOgqgY/TSYbr0ycuA2LB2qVWfcTjddCYKJLrVwkTW4Ui FEmSW7RCHnsSbVGLXczAz8V49AbJ5AUHsQJREQ/VElZZPxarnn3XM3cJw0yDtCbnyveM9x yKM5M0/4nnr5psjnWIVQ7VsIIxQOE16e38GuHlEE9nFNnP9fWaJrzgzuGZmVaLf4YaMPZC d/exYKmqgia27az2M7HH0UnhRsBeWlVe5YC4Tw/tc6RWsJiHXpTYvNVCYbaoYQ== Received: from thor.sb211.local (dynamic-2a02-3100-28f8-1c02-021b-21ff-fe4e-8f4d.310.pool.telefonica.de [IPv6:2a02:3100:28f8:1c02:21b:21ff:fe4e:8f4d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPSA id 39B82240285; Sat, 20 Dec 2025 15:34:51 +0100 (CET) Date: Sat, 20 Dec 2025 15:34:17 +0100 From: A FreeBSD User To: Miroslav Lachman <000.fbsd@quip.cz> Cc: FreeBSD CURRENT Subject: Re: Using install image to recover wrecked system? CC missing ... Message-ID: <20251220153444.3b39a16e@thor.sb211.local> In-Reply-To: <2ea2910a-197a-4cfd-8dd9-8878f1e4dda5@quip.cz> References: <20251220141552.6058bacc@thor.sb211.local> <2ea2910a-197a-4cfd-8dd9-8878f1e4dda5@quip.cz> X-Mailer: Claws Mail 3.21.0 (GTK+ 2.24.33; amd64-portbld-freebsd16.0) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/2IqPeGMqSQKl16cj46bH1NA"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Rspamd-UID: 744fe7 X-Rspamd-UID: 1a15e8 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4dYRkx1xFlz3ZCh --Sig_/2IqPeGMqSQKl16cj46bH1NA Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Tage des Herren Sat, 20 Dec 2025 15:21:04 +0100 Miroslav Lachman <000.fbsd@quip.cz> schrieb: > On 20/12/2025 14:15, A FreeBSD User wrote: > > Hello, > >=20 > > having wreaked havock over one of my boxes damaging some of the crucial= system's binaries > > but with intact /usr/src, /usr/obj, I try to save the install via "make > > installworld|installkernel" via booting off the latest official install= image. > >=20 > > This endevour fails due to missing CC=3Dcc (no suitable cc in the image= ). > >=20 > > Is there a way to circumvent this issue using the infrastructure residi= ng in /usr/obj? =20 >=20 > If I was in your position, I would only take the base.txz file from=20 > install media (and kernel.txz if necessary) and extract it to your=20 > damaged system disk so that I could boot from this system and start=20 > analyzing what happened and then, if necessary, rebuild/reinstall the=20 > system from /usr/src. >=20 > Kind regards > Miroslav Lachman >=20 Hi, well, it is a bit confusing now, the latest install image from FreeBSD (Cur= rent, unhashed) contains only new style packages. I theory, picking up the right package an= d relocate installation would do the trick? Bad thing is that I do not know what packa= ge to pick up to overwrite a damaged part ...=20 using old-style base.txz also would wipe out /etc/ (overwrite existing file= s). I have backups, but they are unfortunately not accessible until the crippled host is up and= running again ... ;-) Kind regards, thanks, Oliver --=20 A FreeBSD user --Sig_/2IqPeGMqSQKl16cj46bH1NA Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCaUa0BAAKCRCxzvs8Oqok rw4+AQDCKavvHE43YmOBYjROhSirWQyTQNGAnOVy8hpRuUKf3AD+LCpIt9azgDhH iDM/zdxFS1QypPcPsOMQR3UB5AHFegw= =dm2r -----END PGP SIGNATURE----- --Sig_/2IqPeGMqSQKl16cj46bH1NA--