Date: Sat, 14 Jul 2001 22:39:47 -0400 From: Joe Clarke <marcus@marcuscom.com> To: Noone Here <oldtlhingan@hotmail.com> Cc: questions@FreeBSD.ORG Subject: Re: cant chflags noschg /kernel in any mode Message-ID: <20010714223947.A62241@shumai.marcuscom.com> In-Reply-To: <F267dkSmLAztxc1o8yf000005dd@hotmail.com>; from oldtlhingan@hotmail.com on Sat, Jul 14, 2001 at 22:27:53 -0400 References: <F267dkSmLAztxc1o8yf000005dd@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010714223947.A62241>