Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Apr 1996 09:36:40 -0700 (PDT)
From:      "Brian N. Handy" <handy@sag.space.lockheed.com>
To:        Kim Culhan <kimc@w8hd.org>
Cc:        current@freebsd.org
Subject:   Re: can't change -current kernel file
Message-ID:  <Pine.OSF.3.91.960427093329.16725B-100000@sag.space.lockheed.com>
In-Reply-To: <Pine.BSF.3.91.960427114311.163A-100000@moonpie.w8hd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sat, 27 Apr 1996, Kim Culhan wrote:

> Trying to install a new kernel I find it is impossible to change the
> name or rm the present kernel file.

The simplest way to do this is after you've done "make depend; make" is 
to do a "make install".  

Perusing the Makefile, we have in more detail:

	chflags noschg /kernel
	mv /kernel /kernel.old
	install -c -m 555 -o root -g wheel -fschg kernel /

I skipped a couple of steps here...at this point you need to reboot to 
get your new kernel working.  

Good luck and Godspeed,

Brian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.91.960427093329.16725B-100000>