Date: Sat, 13 Oct 2001 14:49:45 -0500 From: Bob Willcox <bob@immure.com> To: Dag-Erling Smorgrav <des@ofug.org> Cc: current list <freebsd-current@FreeBSD.ORG>, imp@village.org Subject: Re: Best way to get a system on current? Message-ID: <20011013144945.A18662@luke.immure.com> In-Reply-To: <xzpr8s7h648.fsf@flood.ping.uio.no>; from des@ofug.org on Sat, Oct 13, 2001 at 06:11:51PM %2B0200 References: <20011012111534.C49550@luke.immure.com> <xzpr8s7h648.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
I decided to try to get my test system to 5.0-current by upgrading from
4.4-release again and this time, being very careful to not screw up, I
was successful. I suspect that the first time I tried this I may have
used an old 4.4 kernel config file. This time I used the GENERIC config
file and the kernel build was successful.
I did run into two problems, though. While following the following
instructions to do the update from the UPDATING instructions to do the
upgrade:
make buildworld
make buildkernel KERNCONF=YOUR_KERNEL_HERE
cp src/sys/${MACHINE_ARCH}/conf/GENERIC.hints /boot/device.hints [2]
make installkernel KERNCONF=YOUR_KERNEL_HERE
reboot in single user [3]
make installworld
mergemaster [4]
[1]
<reboot>
The first proplem was that the "make installkernel" got an error due to
not finding the program kldxref. This didn't seem to serious so I simply
ignored it (it appeared to be right at the end of things, the kernel and
modules were already installed).
The next one was more exasperating. I consistently received an error
when attempting to run the mergemaster step. Turned out that the default
PATH that the standalone shell provides is simply:
/bin:/usr/bin
since mtree is in /usr/sbin, the mtree steps that occur as a result of
the "make DESTDIR=${TEMPROOT} distrib-dirs" early on in mergemaster
fail.
I suggest that a line something like:
export PATH=/sbin:/usr/sbin:$PATH
be added prior to the mergemaster step. This is what I wound up doing to
get past the mergemaster failure.
Thanks,
Bob
--
Bob Willcox Putt's Law:
bob@vieo.com Technology is dominated by two types of people:
Austin, TX Those who understand what they do not manage.
Those who manage what they do not understand.
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?20011013144945.A18662>
