How to update fstab (or other) in Single User (read only fs)

2007-02-06 Thread DSA - JCR
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´t 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´t edit fstab, because there is not editor working (I´ve
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ña
Desarrollo de Software Atlantico



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to update fstab (or other) in Single User (read only fs)

2007-02-06 Thread Niclas Zeising

On 2/6/07, DSA - JCR [EMAIL PROTECTED] 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´t 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´t edit fstab, because there is not editor working (I´ve
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ña
Desarrollo de Software Atlantico



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




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
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]