编译安装升级内核思路方法
、
#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
最新评论