User Tools

Site Tools


documentation:netbsd:upgrade

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
documentation:netbsd:upgrade [2012/03/07 10:40] – created spsdocumentation:netbsd:upgrade [2015/01/23 10:28] (current) sps
Line 1: Line 1:
 +====== NetBSD upgrade procedure (aka NUP) ======
  
 +===== Simplified procedure =====
 +  - Get binary sets
 +  - Unpack Kernel
 +  - Reboot
 +  - Binary sets
 +  - Postinstall check
 +  - Postinstall fix
 +  - Reboot
 +  - Upgrade packages as needed.
 +
 +===== Extended procedure =====
 +I take it that you have /path/to/sets set to /INSTALL
 +  * If not set already, set -o braceexpand
 +  * Fetch binary sets from a [[http://www.netbsd.org/mirrors/|NetBSD Mirror]]. I use the DK mirror.
 +  * ''echo "mget *gz" | ftp -Va ftp://ftp.dk.netbsd.org/pub/NetBSD/NetBSD-5.1.2/i386/binary/sets''
 +  * Unpack modules 
 +  * ''progress -z -f /INSTALL/modules.tgz pax -rpe''
 +  * Unpack Kernel 
 +  * ''progress -z -f /INSTALL/kern-GENERIC.tgz pax -rpe''
 +  * Reboot server to let new kernel take effect, remember to set braceexpand if you haven't stuffed it in a login script already.
 +  * Unpack base, comp, games, man, misc, tests and text binary sets.
 +  * ''for file in INSTALL/{b,c,g,ma,mi,t,x}*tgz ; do progress -zf $file pax -rpe ; done''
 +  * Check etc.tgz via postinstall
 +  * ''postinstall -s /INSTALL/etc.tgz check''
 +  * And then fix via postinstall
 +  * ''postinstall -s /INSTALL/etc.tgz fix''
 +  * reboot
 +  * ... Enjoy new and upgraded server..

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki