Failure on today's CVS (stable, AMD)

Kevin Oberman oberman at es.net
Thu Jan 20 10:01:28 PST 2005


> Date: Thu, 20 Jan 2005 10:12:04 -0600
> From: Scot Hetzel <swhetzel at gmail.com>
> Sender: owner-freebsd-stable at freebsd.org
> 
> On Wed, 19 Jan 2005 16:42:29 -0500, Michael R. Wayne
> <freebsd at 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 at es.net			Phone: +1 510 486-8634


More information about the freebsd-amd64 mailing list