Date: Thu, 20 Jan 2005 10:01:27 -0800 From: "Kevin Oberman" <oberman@es.net> To: Scot Hetzel <swhetzel@gmail.com> Cc: freebsd-amd64@freebsd.org Subject: Re: Failure on today's CVS (stable, AMD) Message-ID: <20050120180127.3BCB35D07@ptavv.es.net> In-Reply-To: Your message of "Thu, 20 Jan 2005 10:12:04 CST." <790a9fff050120081229a3ec6a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Thu, 20 Jan 2005 10:12:04 -0600 > From: Scot Hetzel <swhetzel@gmail.com> > Sender: owner-freebsd-stable@freebsd.org > > On Wed, 19 Jan 2005 16:42:29 -0500, Michael R. Wayne > <freebsd@wayne47.com> wrote: > > 2) More importantly, I recovered by loading /boot/kernel.old/kernel > > and the box is up BUT I am concerned that the NEXT time that I > > do "make installkernel" I'll stomp on kernel.old losing this fallback > > procedure. I can certainly copy /boot/kernel.old to /boot/kernel.save > > but is there something else I should save? Or is there another > > suggested procedure? > > > When I have a bad kernel I do the following after booting the good kernel. > > cd /boot > rm -rf kernel > cp -rp kernel.old kernel > cp -rp kernel.old kernel.good > > This way I can reboot the box without going into the loader to load kernel.old. While this works (I've done it), "make reinstallkernel" and "make -DMODULES_WITH_WORLD" reinstallkernel" can also be good friends. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050120180127.3BCB35D07>