Differences between revisions 5 and 6
Revision 5 as of 2009-11-28 14:05:12
Size: 1431
Editor: Elias
Comment: 删除对PageComment2组件的引用
Revision 6 as of 2009-12-25 07:09:26
Size: 1431
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
[[TableOfContents]] <<TableOfContents>>

07-09-20.FreeBSD 升级

4.10-STABLE -> 5.5-STABLE

教训:这一步由于未预见到 mount_procfs 会出现问题导致当机约1小时。

  • 使用cvsup同步代码到 RELENG_5
  • 以 root 身份执行 make buildworld buildkernel
  • 以 root 身份执行 make installkernel
  • reboot
  • 没反应,遂和 HD 一起前往皂君庙观察,发现 fstab 中的procfs导致了问题:

proc                   /proc           procfs  rw              0       0
  • 改为:

#proc                   /proc           procfs  rw              0       0
  • 启动成功。单用户模式下mergemaster -p, -i。
  • make installworld
  • reboot

5.5-STABLE -> 6.2-RELEASE-p7 + patch

  • 从 tarsier.geekcn.org 同步了一份 delphij 版本 FreeBSD 的代码。
  • rm -fr /usr/obj/*
  • chown -R 非root用户 /usr/src /usr/obj
  • 非root身份执行 make buildworld buildkernel
  • root身份执行make installkernel, reboot
  • mergemaster -p
  • make installworld
  • mergemaster -iU
  • reboot

packages的重新联编

  • 重新安装了 ruby, ruby-bdb1 和 portupgrade-devel (手工)
  • portupgrade -fra
  • 由于一些应用程序出现问题,加上需要的时间实在太长,没有一次做完。为了避免反复做,用find /usr/local/lib -type f -ctime +3查找未更新过的库并让portupgrade去跑。


反馈

woodpecker-log/2007-09-20 (last edited 2009-12-25 07:09:26 by localhost)