From owner-freebsd-questions Mon Sep 1 18:46:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA06403 for questions-outgoing; Mon, 1 Sep 1997 18:46:24 -0700 (PDT) Received: from celebris.tddhome (sil-wa4-57.ix.netcom.com [207.93.136.121]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id SAA06398 for ; Mon, 1 Sep 1997 18:46:18 -0700 (PDT) Received: (from tomdean@localhost) by celebris.tddhome (8.8.7/8.8.5) id SAA01596; Mon, 1 Sep 1997 18:46:05 -0700 (PDT) Date: Mon, 1 Sep 1997 18:46:05 -0700 (PDT) Message-Id: <199709020146.SAA01596@celebris.tddhome> From: Thomas Dean To: sgronim@panix.com CC: freebsd-questions@FreeBSD.ORG In-reply-to: (message from Sara Gronim on Mon, 1 Sep 1997 20:56:42 -0400 (EDT)) Subject: Re: Kernel question Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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