Date: Thu, 13 Jul 95 08:33:58 -0400 From: crtb@helix.nih.gov (Chuck Bacon) To: freebsd-questions@freefall.cdrom.com Cc: crtb@helix.nih.gov Subject: Another upgrade victim Message-ID: <9507131233.AA13523@helix.nih.gov>
next in thread | raw e-mail | index | archive | help
Did I fail to RTFM somewhere? If anyone has a clearer idea of how to upgrade, I'd be glad to try and organize it for the next RELNOTES or the FAQ. I recently upgraded from a very nice, and very full, 2.0R to 2.0.5R. Fearful of an "install" script which might just possibly decide to mkfs all over my existing files, I decided to do it all manually: - Save /etc config files elsewhere # For reference after untarring # shutdown now # Move to single user shell # chflags noschg /kernel # Make kernel move possible # mv /kernel /kernel2.0R # Save in case of disaster # mv /sbin/init /sbin/init-2.0 # Avoid text-busy error in tar # cd / # Stand at point zero # cat /wherever/bin.*|tar zxvfp - # Explode the tarfile # mv /kernel.GENERIC /kernel # Give it the conventional name - Compare/reconcile saved /etc files I was smart enough to know I had to rename init. But I was dumb enough to forget I should have renamed tar, gzip, tcsh, and who knows what else. So I've upgraded them since. I was fairly lucky. Exploding the bin distribution in single user mode seemed to work, but of course I don't know what old executables and /dev entries should be deleted or which configuration files (e.g. /etc/fstab) rewritten. So I may be wasting some space with obsolete stuff. The old XFree86-3.1 executes just fine with 2.0.5R, and so do almost all the other common utilities not in the bin dist. The big anxiety, which held me off for several days, was the disklabel, which appeared to have been trashed. The c and d partitions didn't exist any more, and in fact are missing. All the others have been re-based with offsets from the start of the slice, rather than at the beginning of the disk. Even the total cylinder count in the disklabel is for the slice only! There's a new /dev/wd0s1, for Slice 1, which you must name to mount /dos. I don't know if there are any obsolete /dev entries. Please, if I have summarized all the important points, let me know. And fill me in on what's missing. I'll try to recompose the above as a series of checklist items for anyone who would like to upgrade manually. Chuck Bacon - crtb@helix.nih.gov ABHOR SECRECY - DEFEND PRIVACY
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9507131233.AA13523>