Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2001 06:03:03 +0100
From:      Paul Branston <apbran@rannoch.demon.co.uk>
To:        Andrew Reid <andrew.reid@plug.cx>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Kernel installation error
Message-ID:  <20010703060303.A19655@rannoch.demon.co.uk>
In-Reply-To: <994135122.6461.7.camel@percible.alfred.cx>; from andrew.reid@plug.cx on Tue, Jul 03, 2001 at 02:08:41PM %2B0930
References:  <994135122.6461.7.camel@percible.alfred.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010703060303.A19655>