AHCI driver

Roland Smith rsmith at xs4all.nl
Tue Aug 10 14:52:19 UTC 2010

On Tue, Aug 10, 2010 at 03:23:29PM +0100, Arthur Chance wrote:
> 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}.

Of course I tried that, and it did _not_ work! I'm not sure why, but it was
when running a 8.0-RELEASE userland on a 8.1-RELEASE kernel. (I was trying to
run 'make installworld' after booting in single user mode during the upgrade
process). After booting with the old 8.0 kernel it did work!

> Alternatively, before switching to the ahci driver, label all your 
> partitions and mount them using their labels rather than device names.

This is probably a better idea.

But people should note the difference between
using 'tunefs -L' and 'glabel label'! The latter uses the last section of the
provider to store metadata, so in that case one should _only_ create a
filesystem on the labeled device!
> That way the change in device names won't matter. Just be careful of the 
> gotcha with labelling the root partition.

What do you mean?

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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100810/eb188559/attachment.pgp

More information about the freebsd-questions mailing list