On Mon, Oct 16, 2006 at 02:36:53PM +0100, Stuart Henderson wrote:
> On 2006/10/16 15:16, Michael wrote:
> > Anyone got an idea how I can upgrade the system anyway without having to
> > compile the kernel and everything else from source while the system is
> > running?
> 
> untar (with the p flag) the distribution *.tgz on the running system.
 
To be more specific:

The kernel can be copied to the root directory; but one should avoid losing
access to bsd kernels in the event of power failures or other problems, e.g.:

    # cd /
    # rm -f obsd*
    # ln bsd.rd obsd.rd
    # ln bsd obsd
    # cp /path/to/new/bsd.rd nbsd.rd
    # cp /path/to/new/bsd nbsd
    # mv nbsd.rd bsd.rd
    # mv nbsd bsd

The filesets you use (except etc*.tgz and xetc*.tgz) should be unpacked
using the root directory, e.g.:

    # cd /
    # tar xpzf /path/to/new/base40.tgz
    # tar xpzf /path/to/new/comp40.tgz
    .
    .

Either /etc and /var should be dealt with manually, or a tool like the
mergemaster port/package can be used to semiautomate the *etc*.tgz file set
updates.

Reply via email to