freebsd升级:FreeBSD下编译升级内核的不同操作手法



  编译安装升级内核思路方法

  

  #cd /usr/src
  #make world
  #cd sys/i386/conf
  #cp GENERIC NEWKERNEL
  #/usr/sbin/conf NEWKERNEL
  #cd ../../compile/NEWKERNEL
  #make
  #make

   2、

  #cd /usr/src
  #mergemaster –p
  #make buildworld
  #make buildkernel KERNC
  #make kernel KERNC
  # reboot
  启动到单用户模式下然后执行:
  #mount –u /
  #mount -a
  # mergemaster -p
  # make world
  # mergemaster
  # reboot

   3、(适用于大内存高CPU)

  cvsup先
  # /usr/local/bin/cvsup -g -L 2 /etc/ports-supfile
  # /usr/local/bin/cvsup -g -L 2 /etc/stable-supfile
  cd /usr/src
  # make -j 80 buildworld
  # make -j 80 buildkernel
  # make -j 80 kernel

Tags:  linux内核升级 linux内核编译 编译内核 freebsd升级

延伸阅读

最新评论

发表评论