Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Mar 2001 23:34:19 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        nickhead@folino.com
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: KERNCONF instead of KERNEL?
Message-ID:  <3A9FAF6B.29CC5157@newsguy.com>
References:  <20010302134531.26192.qmail@www1.nameplanet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A9FAF6B.29CC5157>