Subject: Re: 1.6.1 -> 2.0 by extracting binary sets
To: Jeff Rizzo <riz@tastylime.net>
From: Roger Fischer <r8@socal.rr.com>
List: netbsd-help
Date: 02/20/2005 16:01:06
Jeff Rizzo wrote:
> rgf wrote:
>
>> Currently running NetBSD i386 1.6.1
>> I've downloaded the 2.0 sets to my /usr partition:
>> /usr/downloads/NetBSD20/*
>>
>> I was thinking of upgrading to 2.0 manually like we
>> used to do in NetBSD-mac68k, by copying over the kernel, rebooting,
>> then extracting all of the sets manually with tar or pax.
>>
>> Will this work, or will there be problems? The NetBSD INSTALL
>> doc says that upgrading using sysinst will replace the boot blocks.
>
>
>
> Yes, you can upgrade "manually" like this - it's the way I usually do
> it. Here are the steps I use:
>
> 1. Install new kernel and reboot.
> 2. extract all sets into / ***except*** for etc.tgz and xetc.tgz
> 3. create /tmp/temproot (or some other directory)
> 4. extract etc.tgz and xetc.tgz into /tmp/temproot
> 5. run etcupdate -b /tmp/temproot and merge changes to etc files
> 6. reboot.
>
> ... works quite well for me. Most of my upgrades are smaller jumps than
> 1.6 to 2.0, but the principal is the same. I suggest reading up on
> etcupdate, since that's the trickiest part.
Thanks for the info.
Is "etcupdate" part of "postinstall" It looks like they do a lot of the
same things.
Looks like I'll also have to revert my ssh and postfix from the package
versions back to the base versions.
Thanks,
Roger