To do a build world:
- Check the FreeBSD handbook, on how to do make world.
http://www.freebsd.org/
->Handbook
->Using make world
- Read /usr/src/UPDATING
- Backup (script backup-system)
- Check /etc/make.conf (look at defaults in /etc/default/make.conf)
- Compare /etc/group with /usr/src/etc/group make sure you have all
the groups in the src groups.
- Optionally: drop into single user mode: shutdown now
- cd /usr/obj
- chflags -R noschg *
- rm -rf *
- cd /usr/src
- make buildworld 2>&1 | tee build.log
- rebuild a GENERIC kernel
- disable security in /etc/rc.default: kern_secure_level="NO"
- cd /usr/src
- make buildkernel
- make installkernel
- Optional: rebuild your kernel
- cd /usr/src/sys/i386/conf
- cp GENERIC to YOUR_KERNEL
- vi YOUR_KERNEL, modify appropriatly
- /usr/sbin/config YOUR_KERNEL
- make depend
- cd ../../compile/YOUR_KERNEL
- make depend
- make
- make install
- reboot to check new kernel
- make installworld | tee install.log
- re-enable security options in /etc/rc.default: kern_secure_level="YES"
- reboot
- Update /etc,/stand,... with: mergemaster
- Update /dev with: cd /dev; ./MAKEDEV all
- reboot: fastboot