From owner-freebsd-isp@FreeBSD.ORG Fri Jun 18 16:47:57 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C7F416A4CE for ; Fri, 18 Jun 2004 16:47:57 +0000 (GMT) Received: from mail.egation.com (frhemail.colo.egation.com [216.218.216.14]) by mx1.FreeBSD.org (Postfix) with SMTP id 4BE6E43D45 for ; Fri, 18 Jun 2004 16:47:57 +0000 (GMT) (envelope-from david@mail.egation.com) Received: (qmail 60325 invoked by uid 0); 18 Jun 2004 16:46:16 -0000 Received: from david@mail.egation.com by egation.com by uid 0 with qmail-scanner-1.20 (clamuko: 0.65. uvscan: v4.3.20/v4319. Clear:RC:1(66.220.15.53):. Processed in 0.019592 secs); 18 Jun 2004 16:46:16 -0000 X-Qmail-Scanner-Mail-From: david@mail.egation.com via egation.com X-Qmail-Scanner: 1.20 (Clear:RC:1(66.220.15.53):. Processed in 0.019592 secs) Received: from frecnocpc2.noc.egation.com (66.220.15.53) by frhemail.colo.egation.com with SMTP; 18 Jun 2004 16:46:16 -0000 Received: from frecnocpc2.noc.egation.com (localhost [127.0.0.1]) i5IGk9Sc008653; Fri, 18 Jun 2004 09:46:09 -0700 (PDT) (envelope-from david@frecnocpc2.noc.egation.com) Received: (from david@localhost)i5IGjumA008652; Fri, 18 Jun 2004 09:45:56 -0700 (PDT) (envelope-from david) Date: Fri, 18 Jun 2004 09:45:56 -0700 From: David Wolfskill To: =?us-ascii?B?PT9pc28tODg1OS0xP1E/Tmljb2w9RTFzX2RlX0JhcmlfRW1icj1FRHpf?= =?us-ascii?B?Ry4gX1Iu?= ?= Message-ID: <20040618164556.GV433@frecnocpc2.noc.egation.com> References: <1434.148.243.211.37.1087529193.squirrel@mail.unixmexico.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1434.148.243.211.37.1087529193.squirrel@mail.unixmexico.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-isp@freebsd.org Subject: Re: update to 4.10 via ssh X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 16:47:57 -0000 On Thu, Jun 17, 2004 at 10:26:33PM -0500, =?iso-8859-1?Q?Nicol=E1s_de_Bari_Embr=EDz_G. _R. ?= wrote: > >Hi all, right now I am using freebsd 4.9 but I would like to update to >4.10-STABLE but I have a problem, I want to do this on a dedicated server >the one is in another country and miles away from me, so I am planing to >do this over ssh. > >what I plan to do is a cvsup to get the latest release then: > > 1. `cd /usr/src' > 2. `make buildworld' > 3. `make buildkernel KERNCONF=MY_KERNEL' > 4. `make installkernel KERNCONF=MY_KERNEL' > 6. `mergemaster -p' > 7. `make installworld' > 8. `mergemaster' > 9. `reboot' Should work OK, as it follows UPDATING pretty well. However, before step 3, you might want to compare the MY_KERNEL kernel config against the newly-updated GENERIC (and make any adjustments tat are appropriate). For that matter, if you are using CVSup to modify your /usr/src hierarchy directly, you may need to be sure that the MY_KERNEL kernel config is where it is supposed to be. I'd also recommend: * Read /usr/src/UPDATING after /usr/src has been updated. * Arranging serial console access. * Have built the server to boot from either of 2 slices; copy (I use dump | restore) the running (but quiescent; ideally, read-only) file systems on the 4.9 slice to the other slice, boot from the other slice (thus verifying that you have a usable copy), then upgrade the currently-booted slice to 4.10. [The "extra" boot is probably unnecessary, but I've been too lazy to actually try doing the build while specifying an alternative DESTDIR (or whatever other variables need to be set).] This last is, perhaps, not so commonly done, but I have found it useful. You may also want to consider updating your ports. (I use portupgrade for this.) Finally: If at all possible, try this first on a machine that is (much!) closer to you, so you know what to expect. Peace, david -- David H. Wolfskill david@egation.com