maio 192012
 


1. Instalar os sources do FreeBSD

freebsd# sysinstall
         Configure > Distribuitions > src > all
                     FTP Passive
2. Verifique a versão de seu kernel, neste caso amd64 e siga os passos abaixo
freebsd# cd /usr/src/sys/amd64/conf
freebsd# mkdir /root/kernels
freebsd# cp GENERIC /root/kernels/newkernel
freebsd# ln -s /root/kernels/newkernel
3. Instale o cvsup
freebsd# cd /usr/ports/net/cvsup-without-gui ; make install clean
4. Efetue a correção do arquivo stable-supfile
freebsd# cd /usr/share/examples/cvsup
freebsd# ee stable-supfile

          *default host=cvsup.br.freebsd.org

freebsd# cvsup -g -L 2 stable-supfile
5. Build World
freebsd# cd /usr/src
freebsd# make buildworld KERNCONF=newkernel
6. Compile o fonte do kernel
freebsd# cd /usr/src
freebsd# make buildkernel KERNCONF=newkernel

freebsd# make installkernel KERNCONF=newkernel
7. Reinicie em single-user
freebsd# shutdown -r now
8. Finalização da Compilação
freebsd# mount -a -t ufs
freebsd# mergemaster -p
freebsd# cd /usr/src
freebsd# make installworld KERNCONF=newkernel
freebsd# mergemaster
freebsd# shutdown -r now

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)