Making FreeBSD World
Making World [FreeBSD]
-
Create /etc/make.conf and put the following in it:
CFLAGS= -O -pipe
COPTFLAGS= -O -pipe
NOPROFILE= true
USA_RESIDENT= YES
-
Create a supfile by typing:
cp /usr/share/examples/cvsup/stable-supfile /usr/src
-
Edit the supfile and make the changes that suits you.
-
Update your source and your ports by typing the following:
/usr/local/bin/cvsup -g -L 2 /usr/src/stable-supfile
-
If you had made world before type the following:
cd /usr/obj
rm -rf *
-
Build world by typing the following:
cd /usr/src
make buildworld
-
Make and install the kernel by typing the following:
make kernel KERNCONF=
-
Install world by typing the following:
shutdown now
mount -u /
mount -a -t ufs
swapon -a
cd /usr/src
make installworld
-
Update /etc by typing the following:
cp -Rp /etc /etc.old
/usr/sbin/mergemaster -v
-
Update stand by typing the following:
cd /usr/src/release/sysinstall
make clean
make all install
-
Reboot