From nobody Thu Sep 26 14:37:47 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 4XDx5p1swJz5XNM5 for ; Thu, 26 Sep 2024 14:37:50 +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 4XDx5m5WTSz4cJC for ; Thu, 26 Sep 2024 14:37:48 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Authentication-Results: mx1.freebsd.org; dkim=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; dmarc=none Received: from roundcube.fjl.uk ([192.168.0.2]) by bs2.fjl.org.uk (8.16.1/8.16.1) with ESMTP id 48QEblZr098886 for ; Thu, 26 Sep 2024 14:37:47 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: Thu, 26 Sep 2024 15:37:47 +0100 From: Frank Leonhardt To: questions Subject: Re: Manual upgrade using base.txz In-Reply-To: References: <573b9b4c7f56702619bbb77e9a8c0a77@fjl.co.uk> Message-ID: <73ea4e68084aaef706787425ab17f023@fjl.co.uk> X-Sender: freebsd-doc@fjl.co.uk Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.06 / 15.00]; NEURAL_HAM_LONG(-1.00)[-0.997]; NEURAL_HAM_MEDIUM(-0.96)[-0.957]; NEURAL_HAM_SHORT(-0.90)[-0.904]; R_SPF_ALLOW(-0.20)[+ip4:84.45.41.208:c]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[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:+]; 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: 4XDx5m5WTSz4cJC X-Spamd-Bar: --- On 2024-09-17 15:54, Dave Cottlehuber wrote: > On Tue, 17 Sep 2024, at 11:29, Frank Leonhardt wrote: >> 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. > > Yes, I do this frequently, so much that I wrote it down. It works > best with zfs and a clean boot environment. > > https://people.freebsd.org/~dch/posts/2021-02-23-sideloading-freebsd/ > > it's clearly very mad scientist experimental, expect some breakage > as you merge various things. This guide was targeted at zfs, because > boot environments are incredible at reducing the pain. > > Don't forget to keep your EFI partition / boot blocks up to date. > And something about backups, testing them. Thanks Dave. It shows I'm on the right lines. As I asked Clouds... have you any idea how far back this might work? Like dumping 14 on a ten-year-old AMD64 install? I can, of course, copy the drives and experiment if no one else has. -- ------ 25-Nov-24 My apologies to everyone who I appear to have ignored for the last few years. A procmail script was misfiling some replies to Questions to the wrong folder.