Date: Fri, 1 Apr 2005 04:21:07 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Gert Cuykens <gert.cuykens@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: i did it again Message-ID: <20050401012107.GA57109@gothmog.gr> In-Reply-To: <ef60af0905033115291da6d5d7@mail.gmail.com> References: <ef60af0905033115291da6d5d7@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-04-01 01:29, Gert Cuykens <gert.cuykens@gmail.com> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050401012107.GA57109>