--------------------------------------------------------------------------------
Finished the build of 11.1
--------------------------------------------------------------------------------
W A R N I N G
--------------------------------------------------------------------------------
To be able to boot your new system you need to follow
the next steps:
- Mount the virtual kernel file systems.
- Enter to the chroot using the command found
in the section -Entering the Chroot Environment-
except if building with METHOD=boot.
- Set a password for the root user.
- Edit or create /etc/fstab and any other configuration file
required to suit your needs.
- Set-up the boot loader.
You can set-up the new boot-loader installed on the new system
or the host bootloader.
If the last, it is better to exit first from the chroot.
- Exit from the chroot and umount the filesystems.
If you are an experienced LFS user, several of those steps can be
skipped or done in a different way. But then, that is something
that you already know and there is no need to discuss it here.
--------------------------------------------------------------------------------
Have a nice day :-)
--------------------------------------------------------------------------------
make[1]: 离开目录“/mnt/build_dir/jhalfs”
done
<jhalfs> exit
chroot进入系统
sudo su
export LFS=/mnt/build_dir
mknod -m 600 $LFS/dev/console c 5 1
mknod -m 666 $LFS/dev/null c 1 3
mount -v --bind /dev/pts $LFS/dev/pts
mount -vt proc proc $LFS/proc
mount -vt sysfs sysfs $LFS/sys
mount -vt tmpfs tmpfs $LFS/run
sudo chroot $LFS /usr/bin/env -i HOME=/root TERM="$TERM" PS1='(lfs chroot) \u:\w\$ ' PATH=/usr/bin:/usr/sbin /bin/bash --login
(lfs chroot) root:/# cat /etc/lfs-release
11.1
|