Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2008 17:35:09 -0500
From:      "E. J. Cerejo" <ejcerejo@optonline.net>
To:        darryl@osborne-ind.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Oops
Message-ID:  <47A24D1D.7090502@optonline.net>
In-Reply-To: <6301A8F3C1B44C78831802D1A9F88C85@Europa>
References:  <6301A8F3C1B44C78831802D1A9F88C85@Europa>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 

ufs:mirror/gm0s1a
fsck -p /
mount /



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47A24D1D.7090502>