Re: upgrading to 9.2

Edgar Fuß <[email protected]> Tue, 23 Nov 2021 17:25:51 +0100
Newsgroups gmane.os.netbsd.ports.x86-64
Message-ID <[email protected]>
What I usually do (basically):

Install the new kernel in /netbsd, moving the old to /netbsd.org.
Copy the new sets (sans kern) to /var/tmp.
Reboot single user.
Mount /usr, /var and /tmp.
Unpack (tar xpCzf /) all sets except etc and rescue.
postinstall -s /var/tmp/etc.tgz fix obsolete.
etcupdate -s /var/tmp/etc.tgz.
postinstall -s /var/tmp/etc.tgz, fix what needs fixing.
Go multi-user (which will leave you with the old init) or reboot.

If everything works, unpack the rescue set.

What I really do is (using a patched etcupdate that never made it) running 
etcupdate in "record" mode on one server and then in "playback" mode on the 
rest.