Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2010 15:23:29 +0100
From:      Arthur Chance <freebsd@qeng-ho.org>
To:        freebsd-questions@freebsd.org
Cc:        dick@nagual.nl
Subject:   Re: AHCI driver
Message-ID:  <4C6160E1.4080305@qeng-ho.org>
In-Reply-To: <20100810131343.GB48376@slackbox.erewhon.net>
References:  <4C6139AB.8020306@nagual.nl>	<SNT142-w18E920D1253EE370CA730B8C950@phx.gbl> <20100810131343.GB48376@slackbox.erewhon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C6160E1.4080305>