[Please don't top post.]
On 2003-03-11 23:07, "W. J. Williams" <[EMAIL PROTECTED]> wrote:
>Tom Parquette <[EMAIL PROTECTED]> wrote:
>> Noel, From your description I'm assuming you are going into single
>> user mode.
>>
>> It sounds like fstab is pointing in the wrong place. If you can
>> figure out where your /usr filesystem is you can issue a mount
>> command to remount it. Once you have /usr mounted, "ee" should
>> work for you. Hope this helps. Cheers...
>
> ironic...I dorked something up last night in my lab and found myself
> in the same predicament...my mentor had me invoke the mount -a
> command which brought me out of read only mode so I could run vi to
> fix my rc.conf...hope this helps...
Nah. It's not a good idea to use "mount -a" before fsck. The safest
thing you can do if you haven't tinkered with the sizes and/or order
of the partitions is to run:
# fsck -p && mount -u / && mount -va
Then you can use vi from /usr/bin or vim, emacs, joe, pico, nano or
whatever from /usr/local/bin :-)
- Giorgos
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message