From owner-freebsd-questions Fri Aug 24 5:11:53 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailgate.originative.co.uk (mailgate.originative.co.uk [62.232.68.68]) by hub.freebsd.org (Postfix) with ESMTP id DC58237B406 for ; Fri, 24 Aug 2001 05:11:47 -0700 (PDT) (envelope-from paul@freebsd-services.com) Received: from lobster.originative.co.uk (lobster [62.232.68.81]) by mailgate.originative.co.uk (Postfix) with ESMTP id 96FC31D146; Fri, 24 Aug 2001 13:11:45 +0100 (BST) Date: Fri, 24 Aug 2001 13:11:45 +0100 From: Paul Richards To: Tom Beer , questions@FreeBSD.org Subject: Re: Mangled /usr/src Message-ID: <226310000.998655105@lobster.originative.co.uk> In-Reply-To: <001a01c12c8f$d2df9ca0$0901a8c0@system> References: <001a01c12c8f$d2df9ca0$0901a8c0@system> X-Mailer: Mulberry/2.1.0b3 (Linux/x86 Demo) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --On Friday, August 24, 2001 13:27:34 +0200 Tom Beer wrote: > Hi, > > my /usr/src directory is mangled, > so I'm unable to install i4b. > How can I safely update my > /usr/src without lost of Kernels? Move your kernel configuration files out of /sys/i386/conf to somewhere else e.g. /home/kernels Delete /usr/src and reinstall it. Leave your kernel config files in /home/kernels and create a symlink from /sys/i386/conf instead e.g. cd /sys/i386/conf ln -s /home/kernels/MYCONFIG . It's much better to keep your kernel config files out of /usr/src because it's quite easy to forget about them and blow away /usr/src and lose them. Paul Richards FreeBSD Services Ltd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message