From nobody Mon Sep 30 12:39:43 2024 X-Original-To: freebsd-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 4XHLHr23zGz5YF1T for ; Mon, 30 Sep 2024 12:39:52 +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 4XHLHq2FXmz4QxY for ; Mon, 30 Sep 2024 12:39:50 +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 48UCdhoO095123 for ; Mon, 30 Sep 2024 12:39:43 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: Mon, 30 Sep 2024 13:39:43 +0100 From: Frank Leonhardt To: FreeBSD questions mailing list Subject: Re: Manual upgrade using base.txz In-Reply-To: <7df6784b-c240-4f41-8e6d-61f01008f373@app.fastmail.com> References: <573b9b4c7f56702619bbb77e9a8c0a77@fjl.co.uk> <73ea4e68084aaef706787425ab17f023@fjl.co.uk> <7df6784b-c240-4f41-8e6d-61f01008f373@app.fastmail.com> Message-ID: X-Sender: freebsd-doc@fjl.co.uk Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-2.66 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.993]; NEURAL_HAM_LONG(-0.87)[-0.871]; NEURAL_HAM_SHORT(-0.59)[-0.592]; R_SPF_ALLOW(-0.20)[+ip4:84.45.41.208]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; 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)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; TO_DN_ALL(0.00)[]; DMARC_NA(0.00)[fjl.co.uk]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4XHLHq2FXmz4QxY X-Spamd-Bar: -- On 2024-09-30 12:56, Dave Cottlehuber wrote: > On Thu, 26 Sep 2024, at 14:37, Frank Leonhardt wrote: >> 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. > > I would expect the password files not to be directly compatible, and > probably a few other things like sshd_config would be out of date too. > > Either way I think you should have a crack and report back just how > bad the breakage is :-). > > 10 years ago would be 9.x approx, a great deal has changed, hopefully > for the better. The zfs pool layout is different now too, IIRC, so > boot environments might not work OOTB. > > I would be concerned about being easily able to revert, for example. > > You could test the waters by installing 14.1-RELEASE onto a USB stick > or external drive, and seeing if you can use that boot loader, to > boot the older version or not. > > good luck! Good luck is probably right! These would be UFS2, not ZFS. I can see that being a problem, but I can't explain exactly where the problem would lie. If the disk bootstraps an 8.3 /boot/kernel/kernel it should go right ahead anything in that place on the disk, right? ¯\_(ツ)_/¯ Reverting won't be a problem - I'd copy the entire disk first (actually they're usually mirrored using geom). Where most of the stuff is running in jails anyway, updating the kernel and base shouldn't involve changing a lot of config files, and things like sshd_config won't have changed much. passwd? Hmm. Good point - I can vipw and copy/paste. When I get around to this I'll report back. I may be grumpy. Regards, Frank.