rami.info



Making FreeBSD World

Posted in by Rami on the February 20th, 2005

Making World [FreeBSD]

  1. Create /etc/make.conf and put the following in it:

    CFLAGS= -O -pipe

    COPTFLAGS= -O -pipe

    NOPROFILE= true

    USA_RESIDENT= YES

  2. Create a supfile by typing:

    cp /usr/share/examples/cvsup/stable-supfile /usr/src

  3. Edit the supfile and make the changes that suits you.

  4. Update your source and your ports by typing the following:

    /usr/local/bin/cvsup -g -L 2 /usr/src/stable-supfile

  5. If you had made world before type the following:

    cd /usr/obj

    rm -rf *

  6. Build world by typing the following:

    cd /usr/src

    make buildworld

  7. Make and install the kernel by typing the following:

    make kernel KERNCONF=

  8. Install world by typing the following:

    shutdown now

    mount -u /

    mount -a -t ufs

    swapon -a

    cd /usr/src

    make installworld

  9. Update /etc by typing the following:

    cp -Rp /etc /etc.old

    /usr/sbin/mergemaster -v

  10. Update stand by typing the following:

    cd /usr/src/release/sysinstall

    make clean

    make all install

  11. Reboot

Leave a Reply