Date: Fri, 13 Jan 2012 10:31:30 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@freebsd.org Subject: Re: fstab problem Message-ID: <4F100802.6070805@infracaninophile.co.uk> In-Reply-To: <4F100104.6010904@bananmonarki.se> References: <4F100104.6010904@bananmonarki.se>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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@infracaninophile.co.uk Kent, CT11 9PW
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8QCAkACgkQ8Mjk52CukIw7LgCcCgKklsF3ZCgWy0Me2xQlY/ih
ef8Ani3BoRco9pO0fAiC3F+8vU7XeswL
=M1uc
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F100802.6070805>
