NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysupgrade - has anybody tried it

On Fri, Nov 16, 2012 at 1:18 PM, herbert langhans 
<> wrote:
> Hi List,
> cowardly I procrastinate updating my laptop to 6.0. There is no bootable
> device built in (IBM Thinkpad X31), I have installed NetBSD by taking
> the harddisk out, put it into a PC and ran the installation from CD.
> Anyway - I see sysupgrade can do the trick without all the hassle. My
> question is - has somebody sucessfully updated from 5.1.2 to 6.0? Any
> traps there? I read in the NetBSD-Doku that sysupgrade is still
> 'undergoing field testing' by August 2012 ...

Unfortunately doing an upgrade from 5 to 6 with sysupgrade still
requires some manual handholding.  I haven't had a chance to make this
better yet :-/

The key trick is that you must ensure there is a reboot between the
kernel upgrade and the userland upgrade. Something like:

# for step in fetch modules kernel; do sysupgrade $step || break; done
# reboot
# for step in sets etcupdate postinstall; do sysupgrade $step || break; done
# sysupgrade postinstall fix [any checks that fail, which will probably happen]
# sysupgrade clean

Julio Merino / @jmmv

Home | Main Index | Thread Index | Old Index