Feed on
Posts
Comments

FreeBSD 7.0有許多功能(如ZFS)讓大家躍躍欲試,這邊簡單整理一下昇級的方法。
FreeBSD 6.2 or 6.3用csup昇級上來的步驟大概如下(i386/amd64皆試過):

1. 改stable-supfile,tag改成RELENG_7_0 。
2. cd /usr/src;make update
3. make buildworld
4. make kernel
5. make installworld
6. mergemaster -i
7. reboot

接下來是關於ports的部分

8. cd /usr/ports;make fetchindex
9. cd /var/db/pkg;rm pkgdb.db
10. portupgrade -af
11. cd /usr/src ; make BATCH_DELETE_OLD_FILES=YES delete-old delete-old-libs
12.收工

用freebsd-update的話:

1.fetch http://people.freebsd.org/~cperciva/freebsd-update-upgrade.tgz
2.tar -xf freebsd-update-upgrade.tgz
3.sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade
4.sh freebsd-update.sh -f freebsd-update.conf install
5.shutdown -r now
6.sh freebsd-update.sh -f freebsd-update.conf install
7.portupgrade -faP
8.sh freebsd-update.sh -f freebsd-update.conf install
9.shutdown -r now
10.收工

Leave a Reply