From owner-freebsd-questions Thu Jan 23 08:52:21 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA28912 for questions-outgoing; Thu, 23 Jan 1997 08:52:21 -0800 (PST) Received: from mail12.digital.com (mail12.digital.com [192.208.46.20]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA28907 for ; Thu, 23 Jan 1997 08:52:19 -0800 (PST) From: garyj@frt.dec.com Received: from cssmuc.frt.dec.com by mail12.digital.com (8.7.5/UNX 1.5/1.0/WV) id LAA10139; Thu, 23 Jan 1997 11:39:49 -0500 (EST) Received: from localhost by cssmuc.frt.dec.com; (5.65v3.2/1.1.8.2/14Nov95-0232PM) id AA05195; Thu, 23 Jan 1997 17:39:39 +0100 Message-Id: <9701231639.AA05195@cssmuc.frt.dec.com> X-Mailer: exmh version 1.6.4 10/10/95 To: stanb@netcom.com (Stan Brown) Cc: questions@freebsd.org In-Reply-To: Message from stanb@netcom.com (Stan Brown) of Thu, 23 Jan 97 10:58:27 EST. Reply-To: gjennejohn@frt.dec.com Subject: Re: How to replace curretn (bad) kernel with old (good) one? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 23 Jan 97 17:39:39 +0100 X-Mts: smtp Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk stanb@netcom.com writes: > I realize that this sounds simple, but I haven't managed to do it. > > Here is to situation. I have a new kernel that won;t boot. I have the > old (working) kernel in kernel.working. > > I can boot by typing kernel.working at the boot prompt. Once I do that > i want to put the old working kernel back in place as /kernel. > Everything I try fails(cp mv chmod). /kernel -s mode 555, why can't I > chmod it and overwrite it with the good kernel? > > How do I acomplish this? > > "chflags noschg /kernel" as root. --- Gary Jennejohn (work) gjennejohn@frt.dec.com (home) Gary.Jennejohn@munich.netsurf.de (play) gj@freebsd.org