From owner-freebsd-questions Sat Jul 14 19:42:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from creme-brulee.marcuscom.com (rdu26-228-058.nc.rr.com [66.26.228.58]) by hub.freebsd.org (Postfix) with ESMTP id E71A537B401 for ; Sat, 14 Jul 2001 19:42:31 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.11.3/8.11.3) with ESMTP id f6F2fuu25882; Sat, 14 Jul 2001 22:41:56 -0400 (EDT) (envelope-from marcus@marcuscom.com) Date: Sat, 14 Jul 2001 22:39:47 -0400 From: Joe Clarke To: Noone Here Cc: questions@FreeBSD.ORG Subject: Re: cant chflags noschg /kernel in any mode Message-ID: <20010714223947.A62241@shumai.marcuscom.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: ; from oldtlhingan@hotmail.com on Sat, Jul 14, 2001 at 22:27:53 -0400 X-Mailer: Balsa 1.1.7 Lines: 43 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 Have you tried booting into single user mode, and running mount -uw / to make / read-write? You should be able to remove the immutable bit then. Joe Clarke On 2001.07.14 22:27 Noone Here wrote: > i boot to single user mode, but i cant do anything to my kernel. as root > i > dont seem to have permission to write or move it. i tried to chmod 755 > it, > but cant. > > ls -lo shows /kernel permissions r-xr-xr-x and schg. > > i boot normally,become super user, try chflags noschg /kernel, i get > operation noy permitted. i boot and login as root, same thing. i boot to > single user mode, same thing. i try to chmod, i get "read-only file > system" > message. i raise securelevel from single user -1 to 0 and still get same > messages. > > im trying to install MYKERNEL, but make installkernel KERNEL=MYKERNEL > fails > because it cant remove this immutable bit and cant mv /kernel -> > /kernel.old. i did a make buildworld, and a make buildkernel > KERNEL=MYKERNEL > that worked without error. > > what am i missing or doing wrong here? > > FBSD v.4.3-20010706-STABLE > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message