From owner-freebsd-current Wed Mar 8 8:27:43 2000 Delivered-To: freebsd-current@freebsd.org Received: from slurpee.jlms.com (jlms.com [216.141.4.160]) by hub.freebsd.org (Postfix) with ESMTP id F38C637B595 for ; Wed, 8 Mar 2000 08:27:34 -0800 (PST) (envelope-from adriel@slurpee.jlms.com) Received: (from adriel@localhost) by slurpee.jlms.com (8.9.3/8.9.3) id KAA10237; Wed, 8 Mar 2000 10:26:26 -0600 (envelope-from adriel) Message-ID: <20000308102625.M5199@adriel.net> Date: Wed, 8 Mar 2000 10:26:25 -0600 From: Adriel Ickler To: freebsd-current@freebsd.org Subject: Re: howto for 3.4-STABLE -> 4.0-CURRENT? References: <200002101835.NAA81587@server.baldwin.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 In-Reply-To: ; from Eugene M. Kim on Thu, Feb 10, 2000 at 11:14:11PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Comments: I wanna share my results for those who want to do this via remote. I slightly modified the procedure below for upgrading a box several hundred miles away, where single user mode means a long distance phone call. cvsup to current make buildworld make buildkernel make installkernel - change - I just rebooted normally, the network came up fine, if you have any special kernel needs, make sure you have di lines in /boot/kernel.conf (i.e. your system hangs when trying to detect a device) at this point you are very safe, Its just a new kernel, if it doesnt work, just load from the old one and give up or tweak, or whatever. make -DNOINFO installworld make installworld ok, here is where I discovered something nobody told me about. 4.0 moved me from DES to MD5. the effect was that none of the passwords worked. luckily I was logged in as root already, and only had 4 accts, I just ran the passwd command and reset them. if its a nightmare to move your accounts, and/or you want to keep DES, I have been told that adding the line "auth_default = des" in /etc/auth.conf will keep you on DES. (I didnt read the dev changes till after I did this, so it would prob be better to do it here.) reboot now after the reboot, I had a weird error that nobody has mentioned as far as I can see. Whenever I tried to make in /usr/ports I would get an error on two libraries: /usr/libexec/ld-elf.so.1, /usr/lib/libm.so.2 after that everything was pretty sane, little cleanups, but nothing really scary. I dont know if I recommend this or not, but I hope anyone who tries it will learn from my experience and have a smoother ride ;) so, first solution I can think of is, copy the files from an existing current box". /usr/libexec/ld-elf.so.1 wouldnt let me overwrite it, even as root, but /usr/lib/libm.so.2 did, amazingly enough it only took the libm replacement. Quoting Eugene M. Kim (ab@astralblue.com): > On Thu, 10 Feb 2000, John Baldwin wrote: > > | You need a -current kernel for installworld to work. In fact, > | if you aren't running a -current kernel installworld will blow > | up on your machine. Try this instead: > | > | - cvsup -current > | - make buildworld > | - make buildkernel > | - make installkernel > > - backup /dev to /dev.orig > - mkdir /dev > - copy /usr/src/etc/MAKEDEV* into /dev > - remake all devices in /dev (don't forget to make the disk slice > entries separately) > > | - reboot into single user mode > | - make -DNOINFO installworld > | - make installworld > | - merge over /etc changes, etc. > | - reboot > > -- > Eugene M. Kim > > "Is your music unpopular? Make it popular; make music > which people like, or make people who like your music." > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- ---------------------------------------------------- Adriel Ickler Network Administrator - adriel@jlms.com Self Trading Securities - Voice: 512-263-2769 www.selftrading.com - Fax: 512-263-2141 ---------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message