Date: Sat, 25 Jan 1997 12:18:16 +1000 From: Andrew Perry <andrew@shoal.net.au> To: Cliff Addy <fbsdlist@revelstone.jvm.com> Cc: questions freebsd <questions@freebsd.org> Subject: Re: URGENT: Cannot delete kernel Message-ID: <32E96D68.4CE0@shoal.net.au> References: <Pine.BSF.3.91.970124130223.2228A-100000@revelstone.jvm.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Cliff Addy wrote: > > Help! We installed a new kernel this morning and it didn't work. Ran for > about an hour before crashing. I rebooted with the old kernel, but now I > can't get rid of the old one. I'm logged in as root, but the kernel is > marked no write for everyone and I can't rm or mv it, I can't even chmod > it, I get "permission denied". I need to get the "kernel.old" renamed to > "kernel" so that this system will boot on it's own. according to the handbook: (i cc'd to questions so i can be corrected if incorrect) the command to 'unlock' the kernel file is chflags noschg /kernel and to 'lock' your new kernel into place chflags schg /kernel hope this helps andrew perry andrew@shoal.net.au
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32E96D68.4CE0>