Backup the system before you do this. I've successfully upgraded my Gnome desktop from 7.2 to 8RC3. I'm also assuming that you are using portsnap and portmaster to manage apps. Here is how I did it:
Edit supfile and make sure tag set to RELENG 8 (this will get RC3):
Note if you do not have supfile, enter:
And make sure it looks as follows
Get the freebsd 8 source:
Read last minute info:
You can disable unwanted options i.e. source build options via /etc/src.conf. Here is my sample /etc/src.conf (read man page src.conf(5) for more info):
Type the following command to build base system:
Build and install the kernel:
Reboot the box:
Boot into a single user mode and mount it:
Install sys configuration files that are required by the new base system
Warning: Be careful with /etc/passwd, /etc/group and other modified file in based. Verify each file before installing the new version or merging something.
Instal the base system:
Merge your configuration files
Warning: Be careful with /etc/passwd, /etc/group and other modified file in based. Verify each file before installing the new version or merging something.
Verify it:
O/P
Recompile all apps:
References:
Let me know if you've any question. Enjoy! Peace & Love!!
Edit supfile and make sure tag set to RELENG 8 (this will get RC3):
Code:
*default release=cvs tag=RELENG_8_0
Code:
# cp /usr/share/examples/cvsup/standard-supfile /root/supfile
# vi /root/supfile
Code:
*default host=cvsup1.us.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_8_0
*default delete use-rel-suffix
Get the freebsd 8 source:
Code:
csup /root/supfile
Code:
vi /usr/src/UPDATING
Code:
WITHOUT_ATM=yes
WITHOUT_BLUETOOTH=yes
WITHOUT_CALENDAR=yes
WITHOUT_GAMES=yes
WITHOUT_I4B=yes
WITHOUT_IPFILTER=yes
WITHOUT_IPX=yes
WITHOUT_LPR=yes
WITHOUT_NETCAT=yes
WITHOUT_NIS=yes
WITHOUT_RCMDS=yes
WITHOUT_SENDMAIL=yes
WITHOUT_WPA_SUPPLICANT_EAPOL=yes
WITHOUT_ZFS=yes
WITHOUT_BLUETOOTH=yes
Code:
cd /usr/src
make cleanworld && make cleandir
make buildworld
Code:
make buildkernel
make installkernel
Code:
reboot
Code:
mount -a -t ufs
df
Code:
mergemaster -p
Instal the base system:
Code:
cd /usr/src
make installworld
Code:
mergemaster -i
make delete-old
reboot
Verify it:
Code:
uname -a
Code:
FreeBSD ninjutsu.my.lan 8.0-RC3 FreeBSD 8.0-RC3 #2: Sun Nov 15 22:34:26 IST 2009 root@ninjutsu.my.lan:/usr/obj/usr/src/sys/GENERIC amd64
Recompile all apps:
Code:
portsnap fetch update
pkg_version -l '<'
portmaster -Da
make delete-old-libs
References:
- man pages portmaster, portsnap, make, csup, src.conf(5) etc, /usr/src/Makefile
- http://www.freebsd.org/doc/en/books/handbook/makeworld.html
Let me know if you've any question. Enjoy! Peace & Love!!