AHCI driver

David DEMELIER demelier.david at gmail.com
Fri Aug 13 19:12:36 UTC 2010


2010/8/10 Victor Ophof <mr4hughz at hotmail.com>:
>
>
>> -----Oorspronkelijk bericht-----
>> Van: owner-freebsd-questions at freebsd.org [mailto:owner-freebsd-
>> questions at freebsd.org] Namens Roland Smith
>> Verzonden: dinsdag 10 augustus 2010 15:14
>> Aan: Victor Ophof
>> CC: freebsd-questions at freebsd.org; dick at nagual.nl
>> Onderwerp: Re: AHCI driver
>>
>> 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!
>
> There is a trick on the web,
> Something with mount -u then mount -a .. but the next link sounds better :)
> http://www.wonkity.com/~wblock/docs/html/ahci.html
>
>
>> Roland
>> --
>> R.F.Smith                                   http://www.xs4all.nl/~rsmith/
>> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
>> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>

In single-user mode, just use mount -o rw / and it works.

I personnaly do this before editing something in single-user mode :

# mount -o rw /
# mount /var
# mount /usr
# TERM=vt100 vi /etc/fstab

and everything is okay ;-)

-- 
Demelier David


More information about the freebsd-questions mailing list