From owner-freebsd-questions@FreeBSD.ORG Fri Apr 1 01:31:31 2005 Return-Path: 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 B285216A4CE for ; Fri, 1 Apr 2005 01:31:31 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 447A343D48 for ; Fri, 1 Apr 2005 01:31:31 +0000 (GMT) (envelope-from gert.cuykens@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so535393rng for ; Thu, 31 Mar 2005 17:31:30 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=rZwleKHb4Y7YhLSUXUiOEdZ8PsSx8Sn/ge97KcFKVBLO0W0YAb1QvoW+7ZEyZSjbtl0chwghkZ811JvF43B7AVmbUy2OF2742sOwhZK5epxpEBTpaFQyfnnGO3T9u98ub7CDoWBWhc9/LMmdIsQw0oKQd3xS+rV2yeUYOkrmkYE= Received: by 10.38.13.39 with SMTP id 39mr2292525rnm; Thu, 31 Mar 2005 17:31:28 -0800 (PST) Received: by 10.38.74.23 with HTTP; Thu, 31 Mar 2005 17:31:28 -0800 (PST) Message-ID: Date: Fri, 1 Apr 2005 03:31:28 +0200 From: Gert Cuykens To: Giorgos Keramidas In-Reply-To: <20050401012107.GA57109@gothmog.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20050401012107.GA57109@gothmog.gr> cc: freebsd-questions@freebsd.org Subject: Re: i did it again X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gert Cuykens List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 01:31:31 -0000 On Fri, 1 Apr 2005 04:21:07 +0300, Giorgos Keramidas wrote: > On 2005-04-01 01:29, Gert Cuykens wrote: > > i putted mysqlsafe in my rc.local and found out ctrl + c doesnt work :) > > In single user mode i wanted to edit the file but joe crashed and vi > > was very strange. it was like it only had one line to display the file > > and the arrow keys where acting strange ? > > Bring up all the file systems manually, and you should be set to edit > any file with TERM=cons25. This should be something like: > > 1. Start in single-user mode. When you enter the root shell of the > single user mode, there's only one filesystem (the root filesystem) and > this one is mounted read-only. > > 2. If your system clock is set to local time (and not UTC), run > adjkerntz. > > # adjkerntz -i > > 3. Do minimal sanity checks for all file systems: > > # fsck -p > > 4. Remount the root file system as read-write: > > # mount -u / > > 5. Mount all the rest, and then set your TERM to cons25 (TERM should be > set IIRC only after termcap is available): > > # mount -va > # TERM=cons25 ; export TERM > > 6. Edit your /etc/rc.local with any editor you prefer. > > 7. Exit the single user shell and let the system go on booting in > multi-user mode, as usual. > what is IIRC ? what is a termcap ?