mirror of
https://github.com/luisgbm/lfs-scripts.git
synced 2026-03-10 12:45:18 +00:00
Update README.md
This commit is contained in:
parent
0c3f31c1ff
commit
14be5e4603
1 changed files with 23 additions and 0 deletions
23
README.md
23
README.md
|
|
@ -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
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue