From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 14:35:44 2010 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 2048C1065670 for ; Tue, 10 Aug 2010 14:35:44 +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 872988FC0A for ; Tue, 10 Aug 2010 14:35:43 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.3/8.14.3) with ESMTP id o7AENTQU080736; Tue, 10 Aug 2010 15:23:29 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <4C6160E1.4080305@qeng-ho.org> Date: Tue, 10 Aug 2010 15:23:29 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100727 Thunderbird/3.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C6139AB.8020306@nagual.nl> <20100810131343.GB48376@slackbox.erewhon.net> In-Reply-To: <20100810131343.GB48376@slackbox.erewhon.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: dick@nagual.nl Subject: Re: AHCI driver 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: Tue, 10 Aug 2010 14:35:44 -0000 On 08/10/10 14:13, Roland Smith wrote: > On Tue, Aug 10, 2010 at 02:37:42PM +0200, Victor Ophof wrote: >> >> Its better to enable, >> >> but AD4 can get renamed to ada0 > > I think you should change "can" to "will". :-) > >> but it's easy to fix >> you just need to edit the /etc/fstab to point to the newly named drives .. > > Do this _before_ rebooting! When I rebooted into single user mode to update my > laptop running 8.0 to 8.1, I couldn't edit my /etc/fstab, because my / wat > mounted read-only, and I could not get it to remount as read/write! I had to > boot with the old kernel (/boot/kernel.old/kernel) to be able to mount root as > read/write and fix etc/fstab! If you're in single user mode "mount -uw /" will make / (and thus /etc/fstab) writable, although your choice of editors is restricted to /bin/ed and /rescue/{ex,vi}. Alternatively, before switching to the ahci driver, label all your partitions and mount them using their labels rather than device names. That way the change in device names won't matter. Just be careful of the gotcha with labelling the root partition.