Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2007 11:42:43 +0100
From:      "Niclas Zeising" <niclas.zeising@gmail.com>
To:        "DSA - JCR" <juancr@dsa.es>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to update fstab (or other) in Single User (read only fs)
Message-ID:  <bc292860702060242n5759c391u14850f8283dda28a@mail.gmail.com>
In-Reply-To: <4810.217.114.136.133.1170755012.squirrel@llca513-a.servidoresdns.net>
References:  <4810.217.114.136.133.1170755012.squirrel@llca513-a.servidoresdns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2/6/07, DSA - JCR <juancr@dsa.es> wrote:
> Hi all
>
> FreeBSD 6.2 i386
>
> I need to edit fstab to delete a geom mirror dev in order to boot my PC
> and I can=B4t because when my computer boots find a problem in fstab
> (because geom mirror device not ok) and then go to Single User mode.
>
> In this mode I can=B4t edit fstab, because there is not editor working (I=
=B4ve
> tried ee, vi.. all says "fs is readonly")
>
> How can I do this? I think there must be a way to do it, isn't it?
>
> thanks in advance
>
> Juan Coru=F1a
> Desarrollo de Software Atlantico
>
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>


You have to remount / rw, try mount -uw / from the command line prompt
you get when you are in single user mode, then use vi /etc/fstab or
/rescue/vi /etc/fstab if the regular vi won't work.
HTH!
//Niclas
--



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