From owner-freebsd-questions Mon Jul 2 22: 8:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rannoch.demon.co.uk (rannoch.demon.co.uk [158.152.110.117]) by hub.freebsd.org (Postfix) with ESMTP id 25D4837B401 for ; Mon, 2 Jul 2001 22:08:35 -0700 (PDT) (envelope-from apbran@rannoch.demon.co.uk) Received: (from apb@localhost) by rannoch.demon.co.uk (8.11.4/8.10.1) id f63535X24251; Tue, 3 Jul 2001 06:03:05 +0100 (BST) Date: Tue, 3 Jul 2001 06:03:03 +0100 From: Paul Branston To: Andrew Reid Cc: freebsd-questions@freebsd.org Subject: Re: Kernel installation error Message-ID: <20010703060303.A19655@rannoch.demon.co.uk> References: <994135122.6461.7.camel@percible.alfred.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <994135122.6461.7.camel@percible.alfred.cx>; from andrew.reid@plug.cx on Tue, Jul 03, 2001 at 02:08:41PM +0930 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 Tue, Jul 03, 2001 at 02:08:41PM +0930, Andrew Reid wrote: > Eeek! > > I've just ran 'make install' (as root) and it's not letting me move the > old kernel out of the way. > > matilda# make install > chflags noschg /kernel > chflags: /kernel: Operation not permitted > *** Error code 1 (ignored) > mv /kernel /kernel.old > mv: rename /kernel to /kernel.old: Operation not permitted > *** Error code 1 > > Stop in /usr/src/sys/compile/MYKERNEL. > the security level won't let you clear the noschg flag. Try it is single user mode, or edit /etc/rc.conf to say kern_securelevel_enable="NO" reboot and try again. man securelevel man init man chflags To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message