*BSD News Article 10999


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA1128 ; Tue, 23 Feb 93 14:27:09 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!agate!usenet.ins.cwru.edu!howland.reston.ans.net!usc!sdd.hp.com!saimiri.primate.wisc.edu!caen!destroyer!news.itd.umich.edu!nosegoblin.css.itd.umich.edu!pauls
From: pauls@css.itd.umich.edu (Paul Southworth)
Newsgroups: comp.unix.bsd
Subject: Re: [386bsd] Learn how to compile the kernel, pls help
Date: 12 Feb 1993 07:09:37 GMT
Organization: University of Michigan ITD Consulting and Support Services
Lines: 61
Message-ID: <1lfifh$hea@terminator.rs.itd.umich.edu>
References: <1993Feb12.064525.13738@mp.cs.niu.edu>
NNTP-Posting-Host: nosegoblin.css.itd.umich.edu

In article <1993Feb12.064525.13738@mp.cs.niu.edu> t90yuan@mp.cs.niu.edu (yuan tzeng) writes:
>Other than the config file to recompile, I also need where
>to put my 386bsd kernel source. Some info about my hardware
>is IDE drive, 386sx-20 and no-brand SVGA (Wang PC?).

Maybe you will find this useful information...


Article 8892 of comp.unix.bsd:
Path: ccs.itd.umich.edu!destroyer!gumby!wupost!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 |
+-------------------------------------------------------------------------+