From owner-freebsd-questions@FreeBSD.ORG Sun Nov 4 17:25:51 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45A6A16A475 for ; Sun, 4 Nov 2007 17:25:51 +0000 (UTC) (envelope-from chris@sigd.net) Received: from ms05.mailstreet2003.net (ms05.mailstreet2003.net [69.25.50.235]) by mx1.freebsd.org (Postfix) with ESMTP id 053D513C4C2 for ; Sun, 4 Nov 2007 17:25:50 +0000 (UTC) (envelope-from chris@sigd.net) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Sun, 4 Nov 2007 12:25:35 -0500 Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC220F34B3B4@ms05.mailstreet2003.net> In-Reply-To: <200711040131.59446.beech@freebsd.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 5.2.1 to 6.2 Migration. Thread-Index: Acge29HznaIFvbnwRYKvIhQhlWkmOAAKrWnA References: <011e01c81e3a$82335dc0$6501a8c0@GRANT> <44sl3m7ogj.fsf@Lowell-Desk.lan> <6FC9F9894A9F8C49A722CF9F2132FC220F34B36D@ms05.mailstreet2003.net> <200711040131.59446.beech@freebsd.org> From: "Chris Haulmark" To: "Beech Rintoul" Cc: freebsd-questions@freebsd.org Subject: RE: 5.2.1 to 6.2 Migration. 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: Sun, 04 Nov 2007 17:25:51 -0000 > > > > But the phrase "reinstall most of the system" doesn't, at > > > > the very least, *sound* like the BSD Way(tm). Granted, > > > > sometimes it's quicker --- I know that's why it's used so > > > > often on that "Other System" .... ;-) > > > > > > If you have reinstalled a userland that depends on a kernel that > > > doesn't boot, you are quite likely to be in trouble. > > > > I always do buildworld/installworld as part of my kernel > > build/installs. That is to ensure staying in sync. > > > > I reboot after the installworld then again after the installkernel. >=20 > You should do it the other way around. That way if the new kernel > doesn't boot you aren't stuck with an out of sync userland which may > not play nicely with your old kernel. Also, depending on the changes > booting an old kernel with a new userland may (and has) result in > your system not booting at all. >=20 > The proper sequence is: >=20 > # make buildworld > # make buildkernel > # make installkernel > # reboot > # mergemaster -p > # make installworld > # mergemaster > # reboot I prefer to do [build|install]world prior to building the kernel with the new installed tools. Even with an outsynced system, the most common tools to be affected are ps and top. Even when a kernel fails to boot all the way through, you can still rebuild a new kernel after booting with the old kernel. Having the new system tools will not hurt. The OP's primary goal was to discuss about if it was possible to upgrade 5.x to 6.x remotely via ssh. I provided that it was possible and what my method is. Chris >=20 >=20 > > > > > The "BSD way" does not necessarily involve easy recovery from > > > making up procedures that haven't been worked out or tested by > > > the release engineers. In fact, I don't think any operating > > > system guarantees that you will have an easy time after making up > > > your own upgrade procedures. > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org" >=20 >=20 >=20 > -- > ----------------------------------------------------------------------- > ---------------- > Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org > /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x > \ / - NO HTML/RTF in e-mail | http://www.freebsd.org > X - NO Word docs in e-mail | Latest Release: > / \ - http://www.FreeBSD.org/releases/6.2R/announce.html > ----------------------------------------------------------------------- > ---------------- >=20 >=20