Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2007 13:56:33 +0100
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        John Murphy <freebsd001@freeode.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: What's the point of the shell choice in single user mode?
Message-ID:  <20071207125633.GA62976@owl.midgard.homeip.net>
In-Reply-To: <20071207124335.4aefe67a@asus.freeode.co.uk>
References:  <20071201044427.38bd2c84@asus.freeode.co.uk> <20071201061813.2a0e35e2@gumby.homeunix.com.> <20071201140619.4b7332ba@asus.freeode.co.uk> <4752EFF1.9050107@wcborstel.com> <20071203181412.709fab80@gumby.homeunix.com.> <4754500D.8070706@wcborstel.com> <4754508E.30802@riderway.com> <20071207124335.4aefe67a@asus.freeode.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 07, 2007 at 12:43:35PM +0000, John Murphy wrote:
> On Mon, 3 Dec 2007 13:53:02 -0500
> "Philip M. Gollucci" <pgollucci@riderway.com> wrote:
> 
> > Jorn Argelo wrote:
> > > RW wrote:
> > >> On Sun, 02 Dec 2007 18:48:33 +0100
> > >> Jorn Argelo <jorn@wcborstel.com> wrote:
> > >>
> > >>
> > >>
> > >>> Also note that vi doesn't work by default as it needs to write
> > >>> to /tmp. So mount /tmp or re-mount / to RW permissions.
> > >>>
> > >> I think vi will also fail unless it has access to termcap, so you'd
> > >> need /usr mounted too.
> > >>
> > > You'd need to mount /usr anyway, as the vi binary is located in /usr/bin ;-)
> > *cough* /rescue/vi
> 
> Thanks for all the tips on this subject. One more question:
> 
> How would I enable a local keyboard layout in single user mode?
> I have had to find '/' by trial and error on my UK keyboard.
> 

You can use kbdcontrol(1) to load a new keyboard mapping. (Probably
requires that /usr is already mounted to work correctly.)

You can also specify in the kernel config file which keyboard layout should
be used by default.  See the atkbd(4) or ukbd(4) manpages for details.



-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071207125633.GA62976>