Date: Wed, 8 Mar 2000 10:26:25 -0600 From: Adriel Ickler <adriel@adriel.net> To: freebsd-current@freebsd.org Subject: Re: howto for 3.4-STABLE -> 4.0-CURRENT? Message-ID: <20000308102625.M5199@adriel.net> In-Reply-To: <Pine.BSF.4.20.0002102311040.58144-100000@home.astralblue.com>; from Eugene M. Kim on Thu, Feb 10, 2000 at 11:14:11PM -0800 References: <200002101835.NAA81587@server.baldwin.cx> <Pine.BSF.4.20.0002102311040.58144-100000@home.astralblue.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ab@astralblue.com> > > "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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000308102625.M5199>