|
# script /var/tmp/mw.out Script started, output file is /var/tmp/mw.out |
|
# chflags -R noschg /usr/obj/* # rm -rf /usr/obj |
|
# cd /usr/src # make buildwolrd # make buildkernel # make installkernel # shutdown now // reboot your machine, it will startup with the new kernel. # mount -u / // if you are using ufs do below. # mount -a -t ufs # swapon -a # zfs set readonly=off zroot // if you are using zfs do below, zroot is your zpool's name. # zfs mount -a # cp -Rp /etc /etc.old // backup the etc directory # mergemaster -p // process certain directories such as /etc for updating. # cd /usr/src; make installworld; # mergemaster -iF // update any remaining configuration files. # make delete-old # reboot // a full reboot is needed now. # make delete-old-libs |
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/25521690/viewspace-2123649/ ,如需转载,请注明出处,否则将追究法律责任。