From owner-freebsd-questions@FreeBSD.ORG Fri Feb 7 21:55:05 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AEA51515 for ; Fri, 7 Feb 2014 21:55:05 +0000 (UTC) Received: from mailrelay5.qsc.de (mailrelay5.qsc.de [195.90.0.237]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1DB331D15 for ; Fri, 7 Feb 2014 21:55:04 +0000 (UTC) Received: from mx01.qsc.de ([213.148.129.14]) by mailgate5.qsc.de; Fri, 07 Feb 2014 22:54:07 +0100 Received: from r56.edvax.de (port-92-195-97-134.dynamic.qsc.de [92.195.97.134]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id E01FD3CB1F; Fri, 7 Feb 2014 22:54:07 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s17Lripu003172; Fri, 7 Feb 2014 22:53:45 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 7 Feb 2014 22:53:44 +0100 From: Polytropon To: sw2wolf Subject: Re: The best approach to upgrade to freebsd 10 ? Message-Id: <20140207225344.957c609c.freebsd@edvax.de> In-Reply-To: <1391320028595-5882151.post@n5.nabble.com> References: <1391320028595-5882151.post@n5.nabble.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-questions@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailgate5 with 38B341490001 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=, IP=213.148.129.14 X-cloud-security: scantime:.1539 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 21:55:05 -0000 On Sat, 1 Feb 2014 21:47:08 -0800 (PST), sw2wolf wrote: > $uname -a > FreeBSD mybsd.zsoft.com 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #3: Thu Jun 27 > 20:00:17 CST 2013 ***@mybsd.zsoft.com:/usr/obj/usr/src/sys/MYKERNEL > i386 > > I want to use freebsd-update first, then customize the kernel. Any > suggestion is appreciated ! I have just done something similar few days ago. Source system was 9.1, target was 10.0. I could not upgrade from 9.1 to 10.0 with freebsd-update directly, but it was easy to upgrade to 9.2 and from there to 10.0. Still this way requires much interaction and time. It's probably easier to do an upgrade from source. Obtain the sources for 10.0 and follow the instructions in /usr/src/Makefile and The FreeBSD Handbook's relevant chapter. You could of course also do a complete reinstall from a 10.0 installation media. :-) Note that you'll probably have to re-install all your ports (or install the compat port as short-time solution). Also the shift from pkg_* towards pkg is something that a complete reinstallation seems to handle nicely. However, if you choose the freebsd-update way, make sure that you also have the "src" distribution selected so you can apply your kernel changes afterwards. Make sure world and kernel source code are in sync (so you don't run into trouble there). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...