From owner-freebsd-questions Mon Oct 13 16:35:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA02905 for questions-outgoing; Mon, 13 Oct 1997 16:35:07 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from BIGFUN.vwcom.com (BIGFUN.vwcom.com [151.197.101.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA02898 for ; Mon, 13 Oct 1997 16:35:04 -0700 (PDT) (envelope-from bmc@WillsCreek.COM) Received: from WillsCreek.COM (gw.willscreek.com [151.197.101.46]) by BIGFUN.vwcom.com (8.8.6/8.8.6) with ESMTP id TAA04864 for ; Mon, 13 Oct 1997 19:30:22 -0400 (EDT) Received: from current.willscreek.com (current.willscreek.com [172.16.87.1]) by WillsCreek.COM (8.8.5/8.8.5) with ESMTP id TAA01624 for ; Mon, 13 Oct 1997 19:35:01 -0400 (EDT) Received: (from bmc@localhost) by current.willscreek.com (8.8.5/8.8.5) id TAA00366; Mon, 13 Oct 1997 19:35:01 -0400 (EDT) Date: Mon, 13 Oct 1997 19:35:01 -0400 (EDT) Message-Id: <199710132335.TAA00366@current.willscreek.com> From: Brian Clapper MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: questions@FreeBSD.ORG Subject: Re: Kernel Sources In-Reply-To: <94816690@toto.iv> X-Mailer: VM 6.23 under Emacs 19.34.1 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Liang Yu wrote: > Hi, > > > Sorry if I missed this somewhere but I have checked the FAQ and the > handbook but cannot find any info how onto get the kernel sources for > FreeBSD 2.2.1 current. > I've installed FreeBSD 2.2.1 but I haven't installed the kernel sources > because I have > nothing in the /usr/src directory. I've tried running the sysinstall > that way to get the > package but it cor dumps everytime. > > I don't want to re-install the OS because I have got some vital software > installed and > running already. Please can you help? If you installed from CDROM, then: 1. Put the installation CD back in your CD-ROM drive. 2. Mount the CD. I'll assume you mounted it under /cdrom 3. Type the following commands to extract kernel source under /usr/src/sys # cd /usr/src # cat /cdrom/src/ssys.* | tar xzvf - The "#" indicates that you must the run command as "root". ----- Brian Clapper, bmc@WillsCreek.COM, http://WWW.WillsCreek.COM/ A moose once bit my sister.