Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 1997 18:46:05 -0700 (PDT)
From:      Thomas Dean <tomdean@ix.netcom.com>
To:        sgronim@panix.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Kernel question
Message-ID:  <199709020146.SAA01596@celebris.tddhome>
In-Reply-To: <Pine.SUN.3.94.970901205500.27230C-100000@panix.com> (message from Sara Gronim on Mon, 1 Sep 1997 20:56:42 -0400 (EDT))

next in thread | previous in thread | raw e-mail | index | archive | help
I experiment with kernels by booting sd(1,a)/kernel.GENERIC in emergencies.

The kernel installation process moves /kernel to /kernel.old.  So, If
you only build one kernel, you can boot kernel.old.  However, each
time you install a kernel, kernel.old getw over-written.  So, if you
build 2 kernels that will not work, kernel.old will also not work.

To get around this problem, when I build a kernel that I am happy
with, as root:

  cd /
  cp -f kernel kernel.safe

This way, I always have a custom kernel I can boot, it rebuilding a
kernel makes one that will not work.  In that case, I boot
kernel.safe.

tomdean



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709020146.SAA01596>