Date: Tue, 17 Sep 2024 12:29:41 +0100 From: Frank Leonhardt <freebsd-doc@fjl.co.uk> To: questions <questions@freebsd.org> Subject: Manual upgrade using base.txz Message-ID: <573b9b4c7f56702619bbb77e9a8c0a77@fjl.co.uk>
next in thread | raw e-mail | index | archive | help
--=_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 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen= eva,sans-serif'> <p>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.</p> <p>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.</p> <p>I've always had the idea that this installed the complete base system "f= actory reset" style. But I've never actually tried it.</p> <p>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?</p> <p>Thoughts?</p> <p>Thanks, Frank.</p> <p><br /></p> </body></html> --=_ec7cc883d54200f4a086b33fb7b5c027--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?573b9b4c7f56702619bbb77e9a8c0a77>