Port-sparc archive

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

Re: upgrading from old 2.4.x to 5.0.x



At 22:07 Uhr +1100 29.10.2009, Craig Dewick wrote:
I've got a system (Sparc 20) running a quite old version of NetBSD
(2.4) and I noticed that NetBSD is now up to 5.0.x.

For anyone who's upgraded from old to new releases, what is the best
way to go about it?

Well, there's two aspects to that, the base system, and pkgsrc.

The base system is the easier part:

(0) If your ss20 is an SMP system, rip out all cpus but one, or stick with netbsd-4, since netbsd-5 smp does not work on sparc.

(1) Copy the netbsd-[45] distribution to your harddisk, preferably a daily snapshot of the netbsd-[45] stable branch.

(2) Install a kernel as /netbsd[45], and boot that. GENERIC kernels have all the compat* options and so should work fine with your netbsd-2 userland. If it works; great, if not, you need to update the boot blocks first.

(2a) For updating the boot blocks, unless you have a second machine around, print out the installboot(8) man page and the install document first. Depending on your hardware, either boot from an install cd, or dd(1) the install kernel to the swap partition, and boot from that. In sysinst, drop to the shell prompt, mount the root partition, copy boot, and run the proper incantation of /usr/mdec/installboot.

(3) Assuming you've booted to the new kernel successfully, drop to single user and unpack all but the {x,}etc.tgz tarballs. Alternatively, run the attached script.

(4) Reboot.

(5) Run etcupdate(8) from the {x,}etc.tgz tarballs; it will run postinstall(8) afterwards.

(6) Reboot again.

For the package system update, look at pkg_rolling-replace for updates from source, and pkg_chk for updates from binary packages. Expect a bumpy road ahead.

HTH,
        hauke

--
Hauke Fath                        <hauke%Espresso.Rhein-Neckar.DE@localhost>
Friedrich-Ebert-Straße 70
64347 Griesheim
Germany

Attachment: %install-sets.sh
Description: application/applefile

Attachment: install-sets.sh
Description: Binary data



Home | Main Index | Thread Index | Old Index