From owner-freebsd-questions Tue Feb 19 10:23:32 2002 Delivered-To: freebsd-questions@freebsd.org Received: from zaphod.wox.org (CPE0050bae86969.cpe.net.cable.rogers.com [24.112.22.141]) by hub.freebsd.org (Postfix) with ESMTP id 2598037B402 for ; Tue, 19 Feb 2002 10:23:20 -0800 (PST) Received: from glidden.org (rglidden@localhost.acheron.localnet [127.0.0.1]) by zaphod.wox.org (8.11.6/8.11.6) with ESMTP id g1JINCa35372; Tue, 19 Feb 2002 13:23:13 -0500 (EST) (envelope-from rglidden@glidden.org) Message-Id: <200202191823.g1JINCa35372@zaphod.wox.org> Date: Tue, 19 Feb 2002 13:23:11 -0500 (EST) From: Richard Glidden Subject: Re: Dropping to single user To: oberman@es.net Cc: cft@panix.com, freebsd-questions@FreeBSD.ORG In-Reply-To: <20020219180156.ADF165D09@ptavv.es.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 19 Feb, Kevin Oberman wrote: > Yes, a 'shutdown now' will "drop you to single-user mode, but you > REALLY want to reboot after you installkernel and before you > installworld. Actually, isn't this dangerous, since you would be booting a new kernel with an old world, which could cause problems if there are significant changes to the kernel that breaks the old world? What I usually do is: make buildworld make buildkernel KERNCONF=xxxx shutdown +15 "Upgrading the World. Be right back." make installkernel KERNCONF=xxxx mergemaster make installworld shutdown -r now This way, the running kernel always matches the installed world until that final "shutdown -r now" command. At worst, if the new world completely breaks everything, even your ability to reboot, you can just hit the reset switch and hope everything was written to disk first. -- Richard Glidden richard@glidden.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message