Hi! On Thu, Mar 05, 2009 at 12:09:31PM +1030, Damon McMahon wrote: >Tue, 03 Mar 2009 07:17:56 -0500 <[email protected]>:
>>On 3/2/2009 7:31 PM, Damon McMahon wrote: >> Is it possible/wise to follow the upgrade instructions on a non-live >> OpenBSD disk mounted on /altroot? I have a second drive I use as a >> non-live mirror with dd(1); can I use the "Upgrading without install >> kernel" instructions to upgrade this disk by mounting its file systems >> in /altroot and then substituting /altroot for / in the "Upgrading >> without install kernel" instructions? >>Why not just continue to use your existing mirror process, and update the >>mirror once your prod drive >is upgraded? >To minimise down-time to a simple reboot - best not to rush these >things, and there's nothing like a production system being down to >cause me to rush! >Thanks to Nick for the advice, it seemed to work fine. For the >archives, just make REALLY sure you replace / with /altroot at every >step in the upgrade instructions (I slipped a couple of times, >thankfully both instances were recoverable) and I did find some minor >steps e.g. running newaliases(8) that would seem to require the system >being upgraded to be live and running. chroot /mountpoint /usr/bin/newaliases Kind regards, Hannah.

