From owner-freebsd-questions@FreeBSD.ORG Wed Jul 4 19:44:36 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 AFA6616A400 for ; Wed, 4 Jul 2007 19:44:36 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id 6D3BC13C4C3 for ; Wed, 4 Jul 2007 19:44:36 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so539589anc for ; Wed, 04 Jul 2007 12:44:35 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kt5SA1D2996H4Nit2akPihVCIUxk7l2E18DU3s4vzwj0ZHNEc0bn/LY8D326GRJWX5Un7ZV7gZYSHLEGOKCvhTCoCCxjYb2vhHZhaJbeGnO3i/YTQHwof5LkKN4qPhsJl1xy5eN3/MayPS11qL4+lHLcmJhRXUC64iwXjhW+80M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dKbNlV5fxwBfyuZbpd0cHXYGIVX2a+RQLXZ9Eui7UvcJw9vbyWhEmMUwPy9RBcBZ3tULB+MpOR4wQB7p8sUbN+5gkWIuZAY9k21i77MaccdUlkUhknJrUkFN7r3eq66MjgMun0iHqYUFaMv0+wGo42hYdthIJxryQ6oMpQHWrek= Received: by 10.100.111.16 with SMTP id j16mr4964920anc.1183578275291; Wed, 04 Jul 2007 12:44:35 -0700 (PDT) Received: by 10.100.9.14 with HTTP; Wed, 4 Jul 2007 12:44:34 -0700 (PDT) Message-ID: <499c70c0707041244u5f5127ffj4948ed7d116c2faf@mail.gmail.com> Date: Wed, 4 Jul 2007 22:44:34 +0300 From: "Abdullah Ibn Hamad Al-Marri" To: "Jonathan Horne" In-Reply-To: <200707041230.48171.freebsd@dfwlp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200707040210.l642AMWQ084133@banyan.cs.ait.ac.th> <200707041230.48171.freebsd@dfwlp.com> Cc: freebsd-questions@freebsd.org 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:44:36 -0000 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 Here how I did it for many remote servers I own and help friends to run. First install screen from the ports to make your life easier. 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. #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 -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/