Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2009 23:12:04 +0100
From:      Bruce Cran <bruce@cran.org.uk>
To:        "Simon Griffiths" <simon.griffiths@tenenbaum.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Build/Install world via ssh
Message-ID:  <20090401231204.55e562a5@gluon.draftnet>
In-Reply-To: <000f01c9b312$3d148cf0$b73da6d0$@griffiths@tenenbaum.co.uk>
References:  <000f01c9b312$3d148cf0$b73da6d0$@griffiths@tenenbaum.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 1 Apr 2009 22:38:47 +0100
"Simon Griffiths" <simon.griffiths@tenenbaum.co.uk> wrote:

> Hello,
> 
> I tried to get an answer to this via web searches etc.  I have a
> freebsd 7 box that I plan on upgrading remotely via 
> 
> Make buildworld
> Make buildkernel KERNCONF=xyz
> 
> Now im stuck,  I cannot get it down to single user because I only have
> access via ssh.  Would it hurt to 
> 
> Make installkernel KERNCONF=xyz
> Make installworld
> 
> Mergemaster etc.
> 
> Reboot
> 
> ?
> 

Don't forget a 'mergemaster -p' too before installing.

Officially running installworld in multi-user mode isn't supported
because although it usually works, it can fail.  What I do when
upgrading over ssh is to kill off everything except sshd and essential
things like ppp so as little as possible is left that could cause
problems - that includes cron and syslogd.  I've never had any problems
but I know it's discouraged because you could be left with a broken
system if something does go wrong.

-- 
Bruce Cran



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