Date: Thu, 23 Jan 1997 18:36:22 +0200 (IST) From: Nadav Eiron <nadav@barcode.co.il> To: Stan Brown <stanb@netcom.com> Cc: Free BSD Questions list <freebsd-questions@freebsd.com> Subject: Re: How to replace curretn (bad) kernel with old (good) one? Message-ID: <Pine.BSF.3.91.970123183454.24255A-100000@gatekeeper.barcode.co.il> In-Reply-To: <199701231558.KAA29126@netcom16.netcom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Jan 1997, Stan Brown wrote: > 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? > > > -- > Stan Brown stanb@netcom.com 404-996-6955 > Factory Automation Systems > Atlanta Ga. > -- > Look, look, see Windows 95. Buy, lemmings, buy! > Pay no attention to that cliff ahead... Henry Spencer > (c) 1997 Stan Brown. Redistribution via the Microsoft Network is prohibited. > The kernel file is protected by flags, not just chmod. Do man chflags. Basically, you'll have to do: chflags noschg /kernel on the old kernel to allow you to move it, and after you move the new kernel to /kernel, do: chflags schg /kernel Nadav
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970123183454.24255A-100000>