Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jul 2004 23:22:28 -0600
From:      Danny MacMillan <flowers@users.sourceforge.net>
To:        Kristian Holdich <kjholdich@yahoo.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Newbieish Desktop Questions
Message-ID:  <20040711052228.GA587@procyon.nekulturny.org>
In-Reply-To: <1089468142.26300.46.camel@slide.hopto.org>
References:  <40F00DDD.7772.12F6CBB@localhost> <1089468142.26300.46.camel@slide.hopto.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 10, 2004 at 08:02:22AM -0600, Kristian Holdich wrote:
>
> ...
> 
> There's one glaring problem with that, if for some reason you need to go
> into single user mode under FreeBSD's default slicing scheme root wont
> have a shell as /usr isn't mounted. It's always good practice to keep
> the shell root uses in /sbin or /bin.
>
> ...

If your concern is that you won't be able to log in to single-user mode,
consider that you will be prompted for a shell in any case (at least I
am).  If your concern is that you would like to have bash available in
single user mode as well, make sure it is statically linked.  If you will
be installing from ports, the following should work (if I'm reading the
Makefile correctly):

cd /usr/ports/shells/bash2
make -DWANT_STATIC_BASH install clean

-- 
Danny MacMillan



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