FreeBSD 升级后如何重新编译内核和更新部分文件
一般的重大安全升级最好都这样更新.The Canonical Way to Update Your System|@B]cW&V H
To update your system, you should check [font=新宋体]/usr/src/UPDATING[/font] for any pre-buildworld steps necessary for your version of the sources and then use the following procedure:
# make buildworld
# make buildkernel
# make installkernel6uCk7uOc
# reboot
[indent][b]Note:[/b] There are a few rare cases when an extra run of [font=新宋体]mergemaster -p[/font] is needed before the [font=新宋体]buildworld[/font] step. These are described in [font=新宋体]UPDATING[/font]. In general, though, you can safely omit this step if you are not updating across one or more major FreeBSD versions.9?&]k*B8iqu
[/indent]
After [font=新宋体]installkernel[/font] finishes successfully, [color=red]you should boot in single user mode[/color] (i.e. using [font=新宋体]boot -s[/font] from the loader prompt). Then run:ug2d%kd1X"P
# mergemaster -p3d*\t8p?
# make installworld;]#F0x(h']1P}%Cr#V
# mergemaster5M I,Tx(C NI,f1El
# reboot
[indent][b]Read Further Explanations:[/b] The sequence described above is only a short resume to help you getting started. You should however read the following sections to clearly understand each step, especially if you want to use a custom kernel configuration. a r0d:^8OybA$t
[/indent]
页:
[1]