*BSD News Article 8628


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!uunet!pipex!ibmpcug!fizzy
From: fizzy@fizzy.ibmpcug.co.uk (Adrian Hall)
Newsgroups: comp.unix.bsd
Subject: Re: Compiling new kernel (386BSD)
Message-ID: <NEMJrAFJBh107h@fizzy.ibmpcug.co.uk>
Date: Tue, 8 Dec 92 10:36:45 GMT
References: <1992Dec8.035717.14397@monu6.cc.monash.edu.au>
Organization: The IBM PC User Group (Staff Network)
Lines: 40

In <1992Dec8.035717.14397@monu6.cc.monash.edu.au> bryan@euler.maths.monash.edu.au (Bryan Seng Hpa) writes:
>Can anyone give me a novices guide to re-compiling the kernel ?

Idiots guide to Building a new kernel.

Step (1)	Apply the patches required in the patch kit.
Step (2)	Rebuild config (/usr/src/usr.sbin/config)

			cd /usr/src/usr.sbin/config
			make depend
			make
			make install
			rehash		(if on csh)

Step (3)	cd /sys/i386/conf
		cp GENERICISA MYCONFIG
		vi MYCONFIG		(make changes to this as you will)

Step (4)	config MYCONFIG

Step (5)	cd /sys/compile/MYCONFIG
		make newvers
		make depend
		make
		
Step (6)	mv /386bsd /386bsd.old
		mv 386bsd /386bsd

Step (7)	reboot the machine.

Easy when you know how :)

Adrian

-- 
+-------------------------------------------------------------------------+
| Adrian Hall                     E-Mail:  adrian@ibmpcug.co.uk   (Inter) |
| Connect Systems Manager		   ..!pipex!ibmpcug!adrian (UUCP) |
| Tel: +44 (0)81 863 1191                Dial-Up BBS - +44 (0)81 863 6646 |
+-------------------------------------------------------------------------+