%general-entities; ]> Creating the passwd and group Files /etc/passwd /etc/group Create the /etc/passwd file by running the following command: cat > /etc/passwd << "EOF" root:x:&uid-root;:&gid-root;:root:/root:/bin/bash bin:x:&uid-bin;:&gid-bin;:/dev/null:/bin/false daemon:x:&uid-daemon;:&gid-daemon;:/dev/null:/bin/false messagebus:x:&uid-messagebus;:&gid-messagebus;:D-Bus Message Daemon User:/dev/null:/bin/false nobody:x:&uid-nobody;:&gid-nobody;:Unprivileged User:/dev/null:/bin/false EOF The actual password for root (the x used here is just a placeholder) will be set later. Create the /etc/group file by running the following command: cat > /etc/group << "EOF" root:x:0: bin:x:&gid-bin;: sys:x:&gid-sys;: kmem:x:&gid-kmem;: tty:x:&gid-tty;: tape:x:&gid-tape;: daemon:x:&gid-daemon;: floppy:x:&gid-floppy;: disk:x:&gid-disk;: lp:x:&gid-lp;: dialout:x:&gid-dialout;: audio:x:&gid-audio;: video:x:&gid-video;: utmp:x:&gid-utmp;: usb:x:&gid-usb;: cdrom:x:&gid-cdrom;: adm:x:&gid-adm;: messagebus:x:&gid-messagebus;: systemd-journal:x:&gid-systemd-journal;: mail:x:&gid-mail;: wheel:x:&gid-wheel;: nogroup:x:&gid-nogroup;: EOF To remove the I have no name! prompt, start a new shell. Since a full Glibc was installed in and the /etc/passwd and /etc/group files have been created, user name and group name resolution will now work. exec /tools/bin/bash --login +h Note the use of the +h directive. This tells bash not to use its internal path hashing. Without this directive, bash would remember the paths to binaries it has executed. To ensure the use of the newly compiled binaries as soon as they are installed, the +h directive will be used for the duration of the next chapters.