LinuxSir.cn,穿越时空的Linuxsir!

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

Util-linux-ng-2.14.1 安装报错,导致LFS6.4 不能启动。 (已解决)

[复制链接]
发表于 2009-3-17 13:46:20 | 显示全部楼层 |阅读模式
哥们儿闭关数十天,苦练LFS**,呕血数十升,终不能打穿玄督二脉。眼看大限将至,BOSS怒火又气,哥们若神功不成,必将含恨而退 .. . . . 哎,可怜一代大侠虫子风流倜傥,潇洒绝伦,就要这样隐姓埋名回家带孩子了 . .. ..

小弟初次接触LFS,上手用的宿主系统为REDHAT企业5,LFS版本为6.4。最后在启动的时候提示出错:

mounting kernel-based file systems:/proc/etc/rc.d/rcsysinit.d/S00mountkernfs:   line 24:  mount : command not found

/sys/etc/rc.d/rcsysinit.d/S00mountkernfs: line 29 : mount:command not found                                   [FALL]
setting the console log level to 7...
/etc/rc.d/rcsysinit.d/S02conslelog: line 30: demsg: command not found                                              [FAIL]
Populating /dev/ with device nodes...
grep :/proc/mounts :No such file or directory                                                               [FAIL]
FAILURE:
Unable to create device without a SysFS filesystem
After you press Enter,this system will be halted and powerd off.

根据上面的提示,查出"mount ,demsg"命令都是Util-linux-ng-2.14.1包提供的。我重新回复环境(chroot)再次安装Util-linux-ng-2.14.1 还是报错
make
make instal
......
make[3]: *** [install-exec-hook] Error 1
make[3]: Leaving directory `/sources/util-linux-ng-2.14.1/login-utils'
make[2]: *** [install-exec-am] Error 2
make[2]: Leaving directory `/sources/util-linux-ng-2.14.1/login-utils'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/sources/util-linux-ng-2.14.1/login-utils'
make: *** [install-recursive] Error 1

,还望有玩LFS的高人来打救打救啊  . .. .      

因为是用真实环境做的,上面这些信息都是不辞辛苦的用手敲出来的,还望各位好心的大哥大婶行行好,
发表于 2009-3-17 17:44:16 | 显示全部楼层
错误信息不详细啊,多贴点吧
回复 支持 反对

使用道具 举报

发表于 2009-3-17 19:58:14 | 显示全部楼层
Post by yujia0214;1962195
哥们儿闭关数十天,苦练LFS**,呕血数十升,终不能打穿玄督二脉。眼看大限将至,BOSS怒火又气,哥们若神功不成,必将含恨而退 .. . . . 哎,可怜一代大侠虫子风流倜傥,潇洒绝伦,就要这样隐姓埋名回家带孩子了 . .. ..

小弟初次接触LFS,上手用的宿主系统为REDHAT企业5,LFS版本为6.4。最后在启动的时候提示出错:

mounting kernel-based file systems:/proc/etc/rc.d/rcsysinit.d/S00mountkernfs:   line 24:  mount : command not found

/sys/etc/rc.d/rcsysinit.d/S00mountkernfs: line 29 : mount:command not found                                   [FALL]
setting the console log level to 7...
/etc/rc.d/rcsysinit.d/S02conslelog: line 30: demsg: command not found                                              [FAIL]
Populating /dev/ with device nodes...
grep :/proc/mounts :No such file or directory                                                               [FAIL]
FAILURE:
Unable to create device without a SysFS filesystem
After you press Enter,this system will be halted and powerd off.

根据上面的提示,查出"mount ,demsg"命令都是Util-linux-ng-2.14.1包提供的。我重新回复环境(chroot)再次安装Util-linux-ng-2.14.1 还是报错
make
[color="Red"]make instal
......
make[3]: *** [install-exec-hook] Error 1
make[3]: Leaving directory `/sources/util-linux-ng-2.14.1/login-utils'
make[2]: *** [install-exec-am] Error 2
make[2]: Leaving directory `/sources/util-linux-ng-2.14.1/login-utils'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/sources/util-linux-ng-2.14.1/login-utils'
make: *** [install-recursive] Error 1

,还望有玩LFS的高人来打救打救啊  . .. .      

因为是用真实环境做的,上面这些信息都是不辞辛苦的用手敲出来的,还望各位好心的大哥大婶行行好,


???

还有,chroot 环境下有 mount 命令否?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-18 09:29:51 | 显示全部楼层
chroot 环境下有 mount 命令。现在问题已经解决了,原来是安装perl的时候有错误,我进入chroot 环境重新安装了perl,再次安装Util-linux-ng-2.14.1就没有错误了。logout,重启一切正常。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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