Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Sep 2005 15:56:22 +0200
From:      Kurt Jaeger <pi@c0mplx.org>
To:        "liguoqiang(126)" <liguoqiang_0121@126.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: who has experience about updating freebsd from 4.11 to 5.x
Message-ID:  <20050905135622.GL76888@home.c0mplx.org>
In-Reply-To: <002e01c5b209$abaae280$c700a8c0@lgq>
References:  <002e01c5b209$abaae280$c700a8c0@lgq>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

>  I update my freebsd ver 4.11 by cvsup src-all tree.
>  It's successfully as below:
>      make buildworld 
>      make buildkernel
>      make installkernel
> But some errors appear when i make installworld:

Our process for this type of upgrade is:

cd /usr/src
cvsup -L 2 -g /root/stable-supfile
# anlegen der neu notwendigen accounts
mergemaster -p
make buildworld; make buildkernel
cp sys/i386/conf/GENERIC.hints /boot/device.hints
make installkernel
cd /usr/src/sys/boot
make STRIP="" install
shutdown -r now
# reboot into single-user
boot -s
fsck -p
mount -uw /
mount -at ufs
# if system clock is localtime instead of UTC:
adjkerntz -i
rm -rf /usr/include/g++
cd /usr/src
make installworld
mergemaster -i
# remove leftovers from bind8
rm /usr/bin/dnskeygen /usr/bin/dnsquery
rm /usr/libexec/named-xfer
rm /usr/sbin/named.restart /usr/sbin/ndc
rm /usr/sbin/nslookup /usr/sbin/nsupdate
# done, reboot
shutdown -r now

Works fine.

-- 
pi@c0mplx.org           +49 171 3101372                        15 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050905135622.GL76888>