What's the point of the shell choice in single user mode?

Erik Trulsson ertr1013 at student.uu.se
Fri Dec 7 04:56:36 PST 2007


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 at riderway.com> wrote:
> 
> > Jorn Argelo wrote:
> > > RW wrote:
> > >> On Sun, 02 Dec 2007 18:48:33 +0100
> > >> Jorn Argelo <jorn at 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 at student.uu.se


More information about the freebsd-questions mailing list