Novice needs advice building new kernel: UPG 4.7-RELEASE ---> 4.9-RELEASE

Mark Weinem mark.weinem at uni-duisburg.de
Thu Nov 27 16:52:30 PST 2003


On Sun, 23 Nov 2003, Eric F Crist wrote:

> Here's what works for me:
>[...] 
> #cvsup -g -L2 /root/cvs-supfile

and then:
 
 # mergemaster -p
 # cd /usr/obj
 # chflags -R noschg *
 # rm -rf *


> #cd /usr/src
> #make clean
> #make world

Should be:

 # cd /usr/src
 # make -j4 buildworld 


> #config GENERIC
> #cd ../../compile/GENERIC 
> #make
> #make depend 
> #make install

Should be:

 # make kernel KERNCONF=GENERIC


Continue with:
 
 # shutdown now
 # fsck -p
 # mount -u /
 # mount -a -t ufs
 # swapon -a
 # cd /usr/src
 # make installworld
 # (Backup of /etc !!!)
 # mergemaster -svia
 # mergemaster -vr
 # fastboot

Finished!


Read about the "official" way to upgrade here:

	/usr/share/doc/en_US.ISO8859-1/books/handbook/makeworld.html

	http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html


Ciao, Mark Weinem


More information about the freebsd-questions mailing list