從 FreeBSD 5.4 Release-p7 升級到 FreeBSD 6.0 安裝 Kernel 步驟
BSD
1.在 CVsup 裡面修改下列參數

*default release=cvs tag=RELENG_6

2.更新完 source 後就來做世界

make -j3 world >& /tmp/world &

結果…

WARNING: make world will overwrite your existing FreeBSD
installation without also building and installing a new
kernel. This can be dangerous. Please read the handbook,
『Rebuilding world’, for how to upgrade your system.
Define DESTDIR to where you want to install FreeBSD,
including /, to override this warning and proceed as usual.
You may get the historical 『make world’ behavior by defining
HISTORICAL_MAKE_WORLD. You should understand the implications
before doing this.
Bailing out now…
*** Error code 1
1 error

參考 「Rebuilding World 」…
依照官方使用手冊, 第一步要先來建立世界

make buildworld >& /tmp/world &

結果…

===> sbin/ipf/ipf (obj)
mkdir: /usr/obj/usr/src/sbin/ipf/ipf: File exists
*** Error code 1

把存在的檔案刪除掉…然後繼續 make

3. make 結束, 繼續做下面的動作…

make buildkernel
make installkernel
reboot

4.若無法正常開機則reboot, 選擇進入 single mode…
繼續以下的動作

mergemaster -p
make installworld
mergemaster
reboot

5.Finish !!!

arrow
arrow
    全站熱搜

    Bluelove1968 發表在 痞客邦 留言(0) 人氣()