Subject: RE: Recompiling the kernel
To: None <port-i386@netbsd.org>
From: Harald Bjoroy <harald@bitcon.no>
List: port-i386
Date: 08/13/1998 12:10:31
No offense, but I believe somebody already did

http://www.netbsd.org/FAQ/index.html#how_to_build_a_kernel

There is also a request for modifications on that page, if you feel you
want to add or change something.

Regards,

Harald.


> -----Original Message-----
> 
> On Aug 13, Calum Mackay wrote
> > How do I recompile the kernel to recognise new devices such as ps/2 
> > mouse driver, etc.
> 
> 0) extract the syssrc.tgz set in '/'.
> 1) cd /usr/src/sys/arch/i386/conf
> 2) cp GENERIC MYCONFIG
> 3) vi MYCONFIG
> 
>     here you can add/remove drivers, filesystems, or kernel 
> compile-time
>     options. You may want to have a look at the man pages in 
> section 4,
>     especially options(4).
> 4) config MYCONFIG
> 	if config complains, goto 3)
> 5) cd ../compile/MYCONFIG
> 6) make depend && make
>    this will produce you a binary called 'netbsd'. It's the kernel.
>    If make fails, 'rm *.o' and goto 3)
> 7) mv /netbsd /netbsd.old #just in case ...
> 8) cp netbsd /
> 9) reboot
> 
> 
> Hum ... any volunter to clean up/complete this and put it on 
> a www page ? :)
> 
> --
> Manuel Bouyer, LIP6, Universite Paris VI.           
> Manuel.Bouyer@lip6.fr
> --
>