From owner-freebsd-newbies Thu Aug 15 22:19:20 2002 Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8932E37B400 for ; Thu, 15 Aug 2002 22:19:18 -0700 (PDT) Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B4FC43E4A for ; Thu, 15 Aug 2002 22:19:18 -0700 (PDT) (envelope-from andrsn@andrsn.stanford.edu) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.12.5/8.12.5) with ESMTP id g7G5JHNs071101; Thu, 15 Aug 2002 22:19:17 -0700 (PDT) (envelope-from andrsn@andrsn.stanford.edu) Date: Thu, 15 Aug 2002 22:19:17 -0700 (PDT) From: Annelise Anderson To: Jim McAtee Cc: freebsd-newbies@FreeBSD.ORG Subject: Re: Can't install custom kernel In-Reply-To: <03b901c244c3$01689da0$272fa8ce@jim> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 15 Aug 2002, Jim McAtee wrote: > When I attempt to do > > # make installkernel KERNCONF=MYKERN > > I run into errors renaming the kernel files because of the kern_securelevel > I've set (which is 2). My understanding is that if I boot into single user > mode, then I should be able to get around this. However, I get the same > error in single user mode. > > I believe I could just set the kern_securelevel to a lower level, reboot and > install the new kernel, but first I'd like to understand what's wrong. > Actually nothing is wrong! Your securelevel is high enough that it does not allow you to change system files. Turn off setting a securelevel in /etc/rc.conf (after you boot into single user mode) and then reboot. That's what the securelevel is supposed to do--prevent a new kernel (or any other system files) being installed unless you're at the console and can reboot into single user mode and change the securelevel. Annelise -- Annelise Anderson Author of: FreeBSD: An Open-Source Operating System for Your PC Available from: BSDmall.com and amazon.com Book Website: http://www.bittreepress.com/FreeBSD/introbook/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message