From owner-freebsd-stable Fri Mar 2 6:37:25 2001 Delivered-To: freebsd-stable@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 550A337B719 for ; Fri, 2 Mar 2001 06:37:20 -0800 (PST) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p02-dn02kiryunisiki.gunma.ocn.ne.jp [211.0.245.67]) by peach.ocn.ne.jp (8.9.1a/OCN/) with ESMTP id XAA15384; Fri, 2 Mar 2001 23:37:15 +0900 (JST) Message-ID: <3A9FAF6B.29CC5157@newsguy.com> Date: Fri, 02 Mar 2001 23:34:19 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,pt-BR MIME-Version: 1.0 To: nickhead@folino.com Cc: freebsd-stable@FreeBSD.ORG Subject: Re: KERNCONF instead of KERNEL? References: <20010302134531.26192.qmail@www1.nameplanet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG nickhead@folino.com wrote: > > What is the prefered way to update a remote machine now? For years, I've run a > make buildworld, installworld, cd /sys/i386/conf config, build and install a > kernel, then reboot. All through telnet or ssh. I've never had problems in > the past, and all goes well. Is there a better way to do this on a machine > that you can't get to the console? Here is the order suggested and the why: 1) make buildworld -- because the new kernel may depend on new tools (config(8) is a common example, but no the only one). 2) make buildkernel -- some programs may depend on new syscalls, so build the kernel before installing the world. 3) make installkernel -- install a new kernel (the copy of the old one is preserved) 4) reboot single user -- make sure the new kernel works 5) mount filesystems, make installworld -- install the rest of the world 6) mergemaster -- update /etc -- the new userland tools may require new /etc scripts and configuration files. -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org capo@the.obscure.bsdconspiracy.net I think you are delusional, but that is OK. Its part of your natural charm! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message