Binary upgrade NetBSD

From ezUnix
Revision as of 15:03, 30 October 2012 by YazzY (talk | contribs) (Created page with "{{PDF}} =Introduction= To upgrade the NetBSD from one version to another (greater), grab the archives (sets) from the nearest mirror. <br>By default, check ftp://ftp.netbs...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
                                    pdf_icon.png Download this article as a single PDF document 


Introduction

To upgrade the NetBSD from one version to another (greater), grab the archives (sets) from the nearest mirror.
By default, check ftp://ftp.netbsd.org/pub/NetBSD/


New kernel

After you downloaded a new kernel image, extract it to the root directory and reboot your computer:

# tar xzpvf kern-GENERIC.tgz -C /
# reboot


Userland

If everything went well, you can proceed to upgrading the userland:

# for i in base comp games man misc text x*; do tar xzpvf $i.tgz -C ; done
# mkdir /tmp/tmproot
# tar xzpvf etc.tgz -C /tmp/tmproot
# postinstall -s /tmp/tmproot check
# (.. run the command postinstall gave you ..)
# etcupdate -s /tmp/tmproot
# reboot

You should now have an upgraded (and still working system).

You can proceed to the packages upgrade (using pkg_add -uu or pkg_chk).



That's all folks.
Marcin


<comments />
Talk:Binary upgrade NetBSD