5.3Râ6.0Stableã¡ã¢
upgradeæé
- CVSupã§ææ°ã®ã½ã¼ã¹åå¾
- ã¦ã¼ã¶ã¼ã©ã³ãã®æ§ç¯
- ã«ã¼ãã«ã®æ§ç¯
- æ°ã«ã¼ãã«ã®ã¤ã³ã¹ãã¼ã«
- ã¦ã¼ã¶ã¼ã©ã³ãã®ã¤ã³ã¹ãã¼ã«
- etcã®ãã¼ã¸
CVSup
CVSupãã¤ã³ã¹ãã¼ã«ãã¦supfileã®è©²å½é¨åã以ä¸ã®ããã«æ¸ãæã
*default host=cvsup2.jp.FreeBSD.org *default release=cvs tag=RELENG_6
ã¡ãªã¿ã«ãä¸åº¦CVSupãè¡ã£ãå¾ã¯ã/etc/make.confãé©å½ã«æ¸ãã¦
# cd /usr/src # make update
ã§ã½ã¼ã¹ããªã¼ã®æ´æ°ãåºæ¥ãã
buildworld
# cd /usr/src # make buildworld
make -j4 buildworldã¨ããã¨è¤æ°ã®ããã»ã¹ã§ã³ã³ãã¤ã«ã§ããâçæéã§çµãããã¨ã®ãã¨ãªã®ã§ã-j4ã¤ãã¦buildworldããã£ããããªãã ãã¨ã©ã¼ã§çµäºãã¦ãã¾ã£ããã§ãã´ããæ®ã£ãã®ã§
# cd /usr/obj # chflags -R noschg * # rm -rf *
ãã¦ãmake buildworldã§ãã£ãããããªãè¡ããç´1æéã
buildkernel
# cd /usr/src # make buildkernel
ç¹å®ã®ã³ã³ãã£ã®ã¥ã¢ãè¡ãã®ãªãã/usr/src/sys/i386/conf/GENERICãåèã«kernelconfãæ¸ãã¦
# make buildkernel KERNCONF=hoge
ã¨ããããä»åã¯GENERICã®ã¾ã¾ã«ã¼ãã«åæ§ç¯ã
installkernel
# cd /usr/src # make installkernel
ãããã»ãã¨ã¯ã·ã³ã°ã«ã¦ã¼ã¶ã¼ã¢ã¼ãã§ãã£ãæ¹ããããããããããã©ãããã£ãã®ã§ãã®ã¾ã¾installãããã¤ãé¢åã ã£ãã®ã§Puttyä¸ãããªã¢ã¼ãã§installkernelãã£ããæããããã§ããããã¯ã¼ã¯ãåããã«ä½äºããªãç¡äºçµäºã»ã»ã»ããã¼ãä¸æè°ã ãã§ã楽ã§ããã
ã¡ãªã¿ã«ã«ã¼ãã«åæ§ç¯æã«kernelconfãæå®ããå ´åãã¤ã³ã¹ãã¼ã«æãåæ§ã«æå®ããã
ã¡ããã¨æ°ã«ã¼ãã«ãå ¥ã£ãã確èªã
# uname -rs FreeBSD 6.0-STABLE
ã¨åºãã°OKãããã§ãã¡ã© shutdown -r now ããã
installworld
# cd /usr/src # make installworld
ãããã»ãã¨ã¯ã·ã³ã°ã«ã¦ã¼ã¶ã¼ã¢ã¼ãã§ãã£ãæ¹ããããããããããã©(ä¸ç¥ï¼ä½äºããªãç¡äºçµäºã»ã»ã»ãä¸æè°ã ã
mergemaster
# cp -Rp /etc /etc_5.3
ãããªãããã§ä¸å¿è¨å®ãã¡ã¤ã«ã®ããã¯ã¢ãããåã£ã¦ãã
# /usr/sbin/mergemaster -svia # /usr/sbin/mergemaster -svir
ãã¦è¨å®ãã¡ã¤ã«ã®ãã¼ã¸ããããããããã£ãã®ã§å ¨é¨dâyé£æãããã®ã ãããããã
ã¨ããããç¡äºã«åãã¦ãã£ã½ãã§ãã