Re: i did it again
From: Giorgos Keramidas (keramida_at_ceid.upatras.gr)
Date: 04/01/05
- Previous message: Gert Cuykens: "can i delete /stand ?"
- In reply to: Gert Cuykens: "i did it again"
- Next in thread: Gert Cuykens: "Re: i did it again"
- Reply: Gert Cuykens: "Re: i did it again"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 1 Apr 2005 04:21:07 +0300 To: Gert Cuykens <gert.cuykens@gmail.com>
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.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Gert Cuykens: "can i delete /stand ?"
- In reply to: Gert Cuykens: "i did it again"
- Next in thread: Gert Cuykens: "Re: i did it again"
- Reply: Gert Cuykens: "Re: i did it again"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|