Oops
E. J. Cerejo
ejcerejo at optonline.net
Thu Jan 31 15:05:21 PST 2008
Darryl Hoar wrote:
>> am setting up gmirror and screwed up my fstab. When rebooting,
>> it complains until I tell it the root device:
>> ufs:/dev/mirror/gm0s1a
>
>>> add
>
>>> vfs.root.mountfrom="ufs:mirror/gm0s1a"
>
>>> to /boot/loader.conf
>
> How do I do that when / is automatically being mounted
> read only ?
>
>> it boots up and dumps me into single user. When I try to change
>> /etc/fstab, it tells me that the parition is mounted read only.
>
>>> do
>
>>> mount -uw /dev/gm0s1a /
>
>>> and then edit
>
> how can I mount / again when its already mounted ? When I said single
> user, maybe that wasn't the right thing to say. When I tell it the
> root partition (/dev/mirror/gm0s1a), it then asks me to choose a shell
> (bin/sh being the default). When I select the shell it takes me to
> a command line where only / is mounted.
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.19.17/1253 - Release Date: 1/31/2008
> 9:09 AM
>
>
> _______________________________________________
> 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"
>
ufs:mirror/gm0s1a
fsck -p /
mount /
More information about the freebsd-questions
mailing list