Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF9110CECBDEA322F523C411E
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 13/01/2012 10:01, Bernt Hansson wrote:
> Hello list!
>=20
> I've moved /etc/fstab to /etc/fstab.org
>=20
> When booting I get prompted with
>=20
>>mountroot
>=20
> Ok. I type ufs:ad0s1a
>=20
> The crap boot up. But I can't get the filesystem to become R/W
>=20
> Tried /sbin/mount -o rw /ad0s1a /
> /sbin/mount -o rw,force /ad0s1a /
> /sbin/mount -o force /ad0s1a /
>=20
> But /sbin/mount only shows ro.
>=20
> 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


--=20
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


--------------enigF9110CECBDEA322F523C411E
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enigF9110CECBDEA322F523C411E--



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