problem in chapter 6: entering chroot'ed environment
gerard at linuxfromscratch.org
Sat Oct 7 12:42:08 PDT 2000
On Sat, 07 Oct 2000, you wrote:
> Yes, /etc/group and /etc/passwd were created at the end of chapter 5.
> These files seem correct... that is, through my untrained
> eyes. Or are they?
Looks good. Perhaps Glibc can't find the files passwd and group for some
You executed the echo commands to setup group and passwd exactly as the book
says, right? If in doubt, copy and paste them.
Also execute this command: id
The output must be exactly like this:
uid=0(root) gid=0(root) groups=0(root)
If you get uid=0 gid=0 groups=0 without the name 'root' then the system is
having problems translating the numerics to names, so that means /etc/group
and /etc/passwd can't be found. If that's the case, create the
/etc/nsswitch.conf file. The contents can be found at the end of Chapter 6 -
configuring essential software.
-*- If Linux doesn't have the solution, you have the wrong problem -*-
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message
More information about the lfs-dev