Force exit+re-enter chroot (rather than merely suggest it)

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@436 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2001-04-06 01:04:18 +00:00
parent 584847559b
commit ba3c4d322f

View File

@ -42,14 +42,18 @@ Install Glibc by running the following commands:
</literallayout></blockquote>
<para>
You can get rid of the "I have no name!" in the bash prompt if you want
to by exiting chroot and re-entering it. Run the following commands to do
that:
We have to get username/groupname to userid/groupid conversion possible
by exiting the chroot'ed environment and re-entering it. This will also
get rid of the "I have no name!" message in the command prompt.
</para>
<para>
Run the following commands to accomplish that:
</para>
<blockquote><literallayout>
<userinput>logout</userinput>
<userinput>cd $LFS &amp;&amp;</userinput>
<userinput>chroot $LFS /usr/bin/env -i HOME=/root
\</userinput>
<userinput>&nbsp;&nbsp;&nbsp;TERM=$TERM /bin/bash --login</userinput>