Update README.md

This commit is contained in:
Luís Guilherme Bergamini Mendes 2020-09-17 22:00:22 -03:00 committed by GitHub
parent 0c3f31c1ff
commit 14be5e4603
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -241,3 +241,26 @@ For the final build phase, run the lfs-system.sh script:
``` ```
sh /lfs-system.sh | tee /lfs-system.log sh /lfs-system.sh | tee /lfs-system.log
``` ```
You must now set a password for the root user (you will have to type a password):
```
passwd root
```
Logout from the chroot environment and re-enter it with updated configuration:
```
logout
chroot "$LFS" /usr/bin/env -i \
HOME=/root TERM="$TERM" \
PS1='(lfs chroot) \u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin \
/bin/bash --login
```
Run the final script to configure the rest of the system:
```
sh /lfs-final.sh | tee /lfs-final.log
```