cant login to my server machine(FreeBSD-6.0)
Nikos Vassiliadis
nvass at teledomenet.gr
Mon Nov 13 15:24:06 UTC 2006
On Monday 13 November 2006 16:32, dhaneshk k wrote:
> But I tried to create the new /etc/rc.conf file by the following method
>
> #mount -o rw,remount/
> #cat >/etc/rc.conf
you can remount rw like this:
mount -u -w /
then use an editor to correct /etc/rc.conf
there is also /rescue which might be helpful(vi lives
there).
also "mount -t ufs-a -u -w" might be handy, which
will remount read-write all your ufs filesystems, so
everything will available(vi, ee etc)
You also need to boot in single user and fsck
your filesystems. I would do this step first.
HTH, Nikos
More information about the freebsd-questions
mailing list