From owner-freebsd-questions@FreeBSD.ORG Thu Mar 15 08:27:59 2012 Return-Path: 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 CE17A106564A for ; Thu, 15 Mar 2012 08:27:59 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from fileserver.home.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 57DAF8FC1E for ; Thu, 15 Mar 2012 08:27:58 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id q2F8RvrJ004440; Thu, 15 Mar 2012 08:27:57 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <4F61A80D.4050103@qeng-ho.org> Date: Thu, 15 Mar 2012 08:27:57 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120219 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: David Walker Subject: Re: Moved drives ... 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: Thu, 15 Mar 2012 08:27:59 -0000 On 03/15/12 01:11, illoai@gmail.com wrote: > On 14 March 2012 17:39, David Walker wrote: >> Hey. >> >> I had installed 9.0 to a SATA drive (ada1 I think) and went to install >> Windows on a higher numbered drive but Windows doesn't like that or so >> I gathered. >> Anyway, I moved drives around and installed Windows - FreeBSD is now >> ada2 I think. >> I'm used to OpenBSD where fixing this is a vi fstab ... >> What's the procedure on FreeBSD? >> > > Yes, you can change the fstab (if you can get in via mountroot: > at the boot prompt, I believe) from single user mode. If you'd've > used labels (either glabel or tunefs -L) you'd not have to change > your /etc/fstab at all. > I'll second that remark on labelling filesystems. My life has become much easier since I did all mine - the 8.2->9.0 disk naming switch from /dev/ad to /dev/ada had absolutely no effect. Take a look at Warren Block's excellent page on the subject: http://www.wonkity.com/~wblock/docs/html/labels.html