LinuxSir.cn,穿越时空的Linuxsir!

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

安装gentoo 这里提示 /etc/profile not such file

[复制链接]
发表于 2011-5-25 16:51:46 | 显示全部楼层 |阅读模式
按照http://www.gentoo.org/doc/zh_cn/ ... .xml一步步安装

挂载/proc & /dev文件系统,拷贝/etc/resolv.conf文件,然后chroot到你的Gentoo环境。

代码 2.16: Chroot
livecd usr # cd /
livecd / # mount -t proc proc /mnt/gentoo/proc
livecd / # mount -o bind /dev /mnt/gentoo/dev
livecd / # cp -L /etc/resolv.conf /mnt/gentoo/etc/
livecd / # chroot /mnt/gentoo /bin/bash
livecd / # env-update && source /etc/profile  #这里提示 /etc/profile  not such file
>>> Regenerating /etc/ld.so.cache...

为什么?
 楼主| 发表于 2011-5-26 11:02:47 | 显示全部楼层
按照http://www.gentoo.org/doc/zh_cn/ ... .xml一步步安装

挂载/proc & /dev文件系统,拷贝/etc/resolv.conf文件,然后chroot到你的Gentoo环境。

代码 2.16: Chroot
livecd usr # cd /
livecd / # mount -t proc proc /mnt/gentoo/proc
livecd / # mount -o bind /dev /mnt/gentoo/dev
livecd / # cp -L /etc/resolv.conf /mnt/gentoo/etc/
livecd / # chroot /mnt/gentoo /bin/bash
livecd / # env-update && source /etc/profile  #这里提示 /etc/profile  not such file
>>> Regenerating /etc/ld.so.cache...

为什么?
回复 支持 反对

使用道具 举报

发表于 2011-5-26 11:07:03 | 显示全部楼层
请仔细检查你的操作步骤,文档上肯定没有问题
回复 支持 反对

使用道具 举报

发表于 2011-5-26 19:19:58 | 显示全部楼层
没有 potage 的原因
回复 支持 反对

使用道具 举报

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

本版积分规则

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