From owner-freebsd-questions@FreeBSD.ORG Wed Jul 4 19:56:49 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2855416A400; Wed, 4 Jul 2007 19:56:49 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from smtpclu-5.eunet.yu (smtpclu-5.eunet.yu [194.247.192.230]) by mx1.freebsd.org (Postfix) with ESMTP id 68CAD13C465; Wed, 4 Jul 2007 19:56:48 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-232-137.eunet.yu [213.198.232.137]) by smtpclu-5.eunet.yu (8.13.6/8.13.6) with ESMTP id l64JuTe6027108; Wed, 4 Jul 2007 21:56:30 +0200 Message-Id: <200707041956.l64JuTe6027108@smtpclu-5.eunet.yu> Date: Wed, 4 Jul 2007 21:56:20 +0200 From: Nikola Lecic To: "Abdullah Ibn Hamad Al-Marri" In-Reply-To: <499c70c0707041244u5f5127ffj4948ed7d116c2faf@mail.gmail.com> References: <200707040210.l642AMWQ084133@banyan.cs.ait.ac.th> <200707041230.48171.freebsd@dfwlp.com> <499c70c0707041244u5f5127ffj4948ed7d116c2faf@mail.gmail.com> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_50,UNPARSEABLE_RELAY X-AVAS-Spam-Score: 0.0 Cc: Jonathan Horne , freebsd-questions@freebsd.org, Colin Percival Subject: Re: Migration from 5.5 to 6.2 without single user access X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2007 19:56:49 -0000 On Wed, 4 Jul 2007 22:44:34 +0300 "Abdullah Ibn Hamad Al-Marri" wrote: > On 7/4/07, Jonathan Horne wrote: > > On Tuesday 03 July 2007 21:10:22 Olivier Nicole wrote: > > > Hi, > > > > > > I am upgrading a remote server (very remote, 10,000 km) and I > > > have no way to access the machine in single user mode. > > > > > > Is there a recommended way to do the upgrade from 5.5 to 6.2? > > > > > > Do everything in multi-user, but kill all services but sshd? > > > > > > Thanks, > > > > > > Olivier > > > > your mileage may vary... > > > > but i do it without killing any services (but i also know that i am > > the only one logged into the machine). when you install world, > > *for the most part*, you are not tampering with things like apache, > > etc. > > > > as always, good backups of your data and configurations are a must > > before performing any such dangerous process as a multiuser-mode > > installworld. > > > > when going from 5.x to 6.x, most people recommend first upgrading > > to the lastest possible 5.x release first, and then moving on to > > 6.x (so in your case, either 5.5-STABLE or 5.5-RELEASE-p13. > > > > good luck, > > -- > > Jonathan Horne > > http://dfwlpiki.dfwlp.org > > freebsd@dfwlp.com >=20 > Here how I did it for many remote servers I own and help friends to > run. >=20 > First install screen from the ports to make your life easier. >=20 > After csup to the branch you desire to upgrade to, like RELENG_6_2 or > RELENG_6 to get the latest changes in 6.x branch do these stuff. >=20 > #rm -r /usr/obj/* > #cd /usr/src > #make cleanworld > #mergemaster -p > #make buildworld > #make buildkernel > #make installkernel > #reboot > #cd /usr/src > #make installworld > #mergemaster -iU (-iU added to automatically install files that don't > exist and upgrade those that haven't changed. > #reboot This is rather a sub-question than an answer: can Colin Percival's depenguinator (http://www.daemonology.net/depenguinator/) be used for such porpose? I mean, can someone run (or tweak) this program to run on an old remote FreeBSD installation in order to easily get a new fresh FreeBSD system? Nikola Le=C4=8Di=C4=87