Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 07:21:06 -0800
From:      "David Schultz" <vvortex1@home.com>
To:        <rene@xs4all.nl>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: installkernel fails on a 4.2-stable system
Message-ID:  <002501c08a07$197cfe40$0100a8c0@mshome.net>
References:  <20010128234634.A18929@xs4all.nl> <3A74A37D.95513C88@urx.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> rene@xs4all.nl wrote:
> > Building succeeds using /usr/src:make installkernel KERNEL=<my kernel
> > file>, but installing fails with:
> >
> > mv: rename /kernel to kernel.old: Operation not permitted
>
> You didn't pay attention to the side effects of the security options.
> When you let it setup your system for anything other than low, you
> have to be in single user mode or you receive this "Operation not
> permitted" message. The other choice is turn off security in rc.conf
> and build everything and then set it back. The parameter is
> kern_securelevel="-1".

Note also that make installkernel under 4.2 fails in this situation whereas
4.1 suceeds. Installkernel now tries to install the kernel to /kernel even
if you specify a different kernel name. Information about this behavior is
in /usr/src/UPDATING.



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?002501c08a07$197cfe40$0100a8c0>