From nobody Tue Sep 17 11:29:41 2024 X-Original-To: questions@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 4X7KLt6XKnz596yy for ; Tue, 17 Sep 2024 11:29:42 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs2.fjl.org.uk (bs2.fjl.org.uk [84.45.41.208]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "bs2.fjl.org.uk", Issuer "bs2.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7KLt2NyFz4HKq for ; Tue, 17 Sep 2024 11:29:42 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-doc@fjl.co.uk designates 84.45.41.208 as permitted sender) smtp.mailfrom=freebsd-doc@fjl.co.uk Received: from roundcube.fjl.uk ([192.168.0.2]) by bs2.fjl.org.uk (8.16.1/8.16.1) with ESMTP id 48HBTf1N021032 for ; Tue, 17 Sep 2024 11:29:41 GMT (envelope-from freebsd-doc@fjl.co.uk) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Date: Tue, 17 Sep 2024 12:29:41 +0100 From: Frank Leonhardt To: questions Subject: Manual upgrade using base.txz Message-ID: <573b9b4c7f56702619bbb77e9a8c0a77@fjl.co.uk> X-Sender: freebsd-doc@fjl.co.uk Content-Type: multipart/alternative; boundary="=_ec7cc883d54200f4a086b33fb7b5c027" X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.81 / 15.00]; NEURAL_HAM_SHORT(-0.94)[-0.939]; NEURAL_HAM_MEDIUM(-0.91)[-0.914]; NEURAL_HAM_LONG(-0.76)[-0.756]; R_SPF_ALLOW(-0.20)[+ip4:84.45.41.208:c]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:25577, ipnet:84.45.0.0/17, country:GB]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; DMARC_NA(0.00)[fjl.co.uk]; TO_DN_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1] X-Rspamd-Queue-Id: 4X7KLt2NyFz4HKq --=_ec7cc883d54200f4a086b33fb7b5c027 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed I'm sure a lot of people have FreeBSD machines running on older versions. In recent years, TPTB have removed all but the newest versions of anything from repos, which puts the kibosh on using freebsd-upgrade to to bring them forward in stages to a current version. After a year or so you're stuck with an old release. And I'm sure we've all had freebsd-grade go south anyway. Assuming you know what you're doing with configuration files /etc/, what would happen if you booted from a CD and simply unpacked base.txz over the current configuration? Let's assume it's on ZFS or UFS2. I've always had the idea that this installed the complete base system "factory reset" style. But I've never actually tried it. For many years I've run everything in one or more jails, and IME, a jailed environment from an earlier release tend to run just fine on a new kernel, so I'm hoping the solution is as simple as I've always thought. But if it was that simple, why isn't everyone doing it? Thoughts? Thanks, Frank. --=_ec7cc883d54200f4a086b33fb7b5c027 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

I'm sure a lot of people have FreeBSD machines running on older versions= =2E In recent years, TPTB have removed all but the newest versions of anyth= ing from repos, which puts the kibosh on using freebsd-upgrade to to bring = them forward in stages to a current version. After a year or so you're stuc= k with an old release. And I'm sure we've all had freebsd-grade go south an= yway.

Assuming you know what you're doing with configuration files /etc/, what= would happen if you booted from a CD and simply unpacked base.txz over the= current configuration? Let's assume it's on ZFS or UFS2.

I've always had the idea that this installed the complete base system "f= actory reset" style. But I've never actually tried it.

For many years I've run everything in one or more jails, and IME, a jail= ed environment from an earlier release tend to run just fine on a new kerne= l, so I'm hoping the solution is as simple as I've always thought. But if i= t was that simple, why isn't everyone doing it?

Thoughts?

Thanks, Frank.


--=_ec7cc883d54200f4a086b33fb7b5c027--