LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 674|回复: 3

[LFS-6] Chapter 6:过程中断,如何继续?

[复制链接]
发表于 2005-1-11 00:32:51 | 显示全部楼层 |阅读模式
LFS-6的Chapter 6进行到6.7 Creating the passwd, group, and log Files,之后电脑关机,怎么继续?是不是要把6.1-6.7重新做一遍?
发表于 2005-1-11 00:44:35 | 显示全部楼层
注意这句话:
It is important that all the commands throughout the remainder of this chapter and the following chapters be run from within the chroot environment. If you leave this environment for any reason (rebooting for example), remember to first mount the proc and devpts file systems (discussed in the previous section) and enter chroot again before continuing with the installations.
 楼主| 发表于 2005-1-11 09:30:48 | 显示全部楼层
呵呵,注意到了,只是有些不确定是不是那一堆install -d要重新做一遍,是不是root group & user也要重建,毕竟是非正常关机啊~~另外,在新建的root下没法重启电脑,怎么回到host system下的root?
发表于 2005-1-11 11:48:20 | 显示全部楼层
install -d 是建立一大堆的目录,如果你的新系统已经建立好了,当然就不用再重新创建拉。root group&user如果chroot进去没在显示"i have no name !"当然也就不用重新做拉。
你可以通过logout退回到主系统,不行的话试试exit.
另外你可以用另一个终端退出阿。
记得chroot前挂载上proc,sys.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表