Subject: Re: Update 1.5.2 -> 1.6
To: Schamil Wackenhut <wackenhut@ram.rwth-aachen.de>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 10/15/2002 09:34:39
On Tue, 15 Oct 2002, Schamil Wackenhut wrote:

> What can be a reason? What is the smart way to update a stable release
> of NetBSD to another one?

The easiest way is to backup your /var/cron/tabs/root crontab and then
boot using the 1.6 sysinst and choose the upgrade. (Also, note that the
sshd config doesn't allow root logins.)

Another easy way is to use an already-made kernel and sets. I use pax with
-pe switch to preserve everything. Be sure to back up your /etc/ directory
and /var/cron/tabs/root and xdm (and related X) configs as needed. Also,
build new devices by "cd /dev ; sh MAKEDEV all".

There is an etcupdate script (with manual page) that can help with merging
the old and new etc directories.

Then when you want to build the kernel from source, it should work. To
build distribution look at the build.sh script and BUILDING documentation.

Have fun!

   Jeremy C. Reed
   http://bsd.reedmedia.net/