fstab problem

Matthew Seaman m.seaman at infracaninophile.co.uk
Fri Jan 13 10:31:49 UTC 2012


On 13/01/2012 10:01, Bernt Hansson wrote:
> Hello list!
> 
> I've moved /etc/fstab to /etc/fstab.org
> 
> When booting I get prompted with
> 
>>mountroot
> 
> Ok. I type ufs:ad0s1a
> 
> The crap boot up. But I can't get the filesystem to become R/W
> 
> Tried /sbin/mount -o rw /ad0s1a /
> /sbin/mount -o rw,force /ad0s1a /
> /sbin/mount -o force /ad0s1a /
> 
> But /sbin/mount only shows ro.
> 
> Don't really know what to do, except reinstall and that's a noop.

fsck /dev/ad0s1a
/sbin/mount -u -o rw /dev/ad0s1a /

You should then be able to recover /etc/fstab, fix any problems within
it and then on exit, the system should continue with a normal multi-user
bootup.

	Cheers,

	Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120113/702086b5/signature.pgp


More information about the freebsd-questions mailing list