From owner-freebsd-questions@freebsd.org Wed Aug 31 00:29:57 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D8B1BC9F34 for ; Wed, 31 Aug 2016 00:29:57 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E9412C72 for ; Wed, 31 Aug 2016 00:29:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-78-210.dynamic.qsc.de [92.195.78.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id B13BB3CF33; Wed, 31 Aug 2016 02:29:53 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u7V0TpwL001909; Wed, 31 Aug 2016 02:29:52 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 31 Aug 2016 02:29:51 +0200 From: Polytropon To: Warren Block Cc: Manish Jain , "freebsd-questions@freebsd.org" Subject: Re: Is it necessary to reinstall OS upon motherboard change? Message-Id: <20160831022951.b8eedf49.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon 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-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2016 00:29:57 -0000 On Tue, 30 Aug 2016 17:16:50 -0600 (MDT), Warren Block wrote: > On Tue, 30 Aug 2016, Manish Jain wrote: > > > Because of certain problems I am experiencing with my hardware, I am > > planning to move to another motherboard + CPU. Just out of curiosity, I > > wished to enquire - is it possible to use an existing FreeBSD > > installation despite change of MB + CPU ? In the Windows world, that is > > pretty much impossible, but on FreeBSD the possibilities don't appear > > that bad to me. (My hard disk and graphics card will remain unaltered). > > Yes. The two things that might require adjustment are network interface > names (re0 to em0, say) and disk device numbers (ada0 to ada4). If you > use labels, the disk device numbers don't matter. > > So the first boot might be to single user, remount / and other > partitions manually, then edit /etc/fstab and /etc/rc.conf. Yes, those steps are quite often needed. Labels usually save you from altering /etc/fstab, but device names of network cards or installed optical drives might change, depending on the setup. X without xorg.conf will usually work if the required driver has been (pre)installed, otherwise xorg.conf often needs to be adjusted. If you use "exotic" hardware, loading specific kernel modules might be needed. In worst case, a rebuild of a (custom) kernel might be useful - depending on the actual requirements. All those changes do not require a re-installation of the OS. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...