1.chroot后不要再打开新的终端了,没法用,还可能使系统崩溃。另外如果需要去睡觉,重启后要再次挂载并填充/dev和挂载虚拟内核文件系统,并再次运行chroot,可以将下列命令保存为脚本,重启后一次运行
2,安装Linux api头文件,执行 make mrproper出错:
1 |
make : /bin/sh: Command not found |
2 |
Makefile:579: /sources/linux-3.10/arch//Makefile: No such file
or directory <a target= "_blank"
href= "http://www.linuxquestions.org/questions/linux-from-scratch-13/gcc-command-not-found-lfs-book-6-3-section-6-7-1-a-663061/"
rel= "nofollow" > make : gcc: Command not found</a> |
添加链接:
1 |
ln -sf /bin/ bash /bin/sh |
2 |
ln -sv /tools/lib/ld-linux.so.2 /lib/ld-linux.so.2 |
3. 该中文版文档提供的Man-pages包下载地址失效了,之前没下到这个包,到 这里可以下载。别把Man-pages和Man-DB当成一个了。
4.
lfs遇到的一些问题--编制LFS,布布扣,bubuko.com
原文:http://www.cnblogs.com/sukai/p/3669330.html