Date: Fri, 07 Apr 2006 11:13:28 -0400 From: "B. Cook" <bcook@poklib.org> Cc: freebsd-questions@freebsd.org Subject: Re: src upgrade from 4.11-p16 to 5.4 possible? (some success) Message-ID: <44368198.8030102@poklib.org> In-Reply-To: <6.0.0.22.2.20060407094949.028270a8@mail.computinginnovations.com> References: <443668B9.1010701@poklib.org> <6.0.0.22.2.20060407094949.028270a8@mail.computinginnovations.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Derek Ragona wrote: > I recently did this exact operation. It went fine for me on my second > try. The first one I determined didn't go well as I didn't have the > system up to date first. So on my second attempt I made sure my 4.11 > system was up to date, and did a complete buildworld, buildkernel, etc. > Once I was sure it was completely up to date on 4.11, I: > Saved my kernel config file to: > /usr/oldkernels/ > rm -rf /usr/src > rm -rf /usr/ports > > I changed my cvsup tag and pulled new source. Then I meticulously > followed the instructions in /etc/src/UPDATING. Read those > instructions, be sure to update your /etc/make.conf file for the right CPU. > > I did need to create a new kernel configuration file starting with > GENERIC and boot.hints from my old 4.11 kernel configuration file. > > All went well except one library didn't get put in place when I did the > installworld. It was built but just not in place, so I saw an error > when I booted the system, and moved it manually. > > The library that didn't get moved was: > libc.so.4 > > I did add: > COMPAT4X= yes > to my make.conf file and > options COMPAT_FREEBSD4 # Compatible with FreeBSD4 > to my kernel config file, but still had to make sasl2 and sendmail for > sasl2. Otherwise the ports I had seemed to mostly work. But you might > want to do a: > portupgrade -a > > -Derek > > [root@FreeBSD /usr/src]# echo $? 0 [root@FreeBSD /usr/src]# make -j6 buildworld The CPUTYPE is not defined in /etc/make.conf, trying to make a clean build.. and this is RELENG_5_2_1 so make buildworld on this box completes. I am going to try RELENG_5_3 and then if so then good ;)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44368198.8030102>