From owner-freebsd-questions@FreeBSD.ORG Mon Nov 13 15:24:06 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B451616A522 for ; Mon, 13 Nov 2006 15:24:06 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from matrix.teledomenet.gr (dns1.teledomenet.gr [213.142.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id F23A2441DB for ; Mon, 13 Nov 2006 15:17:01 +0000 (GMT) (envelope-from nvass@teledomenet.gr) Received: from iris ([192.168.1.71]) by matrix.teledomenet.gr (8.12.10/8.12.10) with ESMTP id kADFGxEY005208; Mon, 13 Nov 2006 17:16:59 +0200 From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Mon, 13 Nov 2006 17:16:10 +0200 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611131716.10942.nvass@teledomenet.gr> Cc: dhaneshk k Subject: Re: cant login to my server machine(FreeBSD-6.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2006 15:24:06 -0000 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