设为首页
收藏本站
用户名
Email
自动登录
找回密码
密码
登录
注册
快捷导航
平台
Portal
论坛
BBS
文库
项目
群组
Group
我的博客
Space
搜索
搜索
热搜:
shell
linux
mysql
本版
用户
LinuxSir.cn,穿越时空的Linuxsir!
»
论坛
›
Linux 发行版讨论区 —— LinuxSir.cn
›
LFS(LinuxfromScratch)
›
安装进行到:chroot 安装基本的系统软件
返回列表
查看:
1168
|
回复:
9
安装进行到:chroot 安装基本的系统软件
[复制链接]
David
David
当前离线
积分
257
IP卡
狗仔卡
发表于 2002-12-5 09:28:52
|
显示全部楼层
|
阅读模式
这两天有点忙,昨晚装到了----安装基本的系统软件. 本来可以装下去的,但是出了点错,没有查就睡觉了,今天来一看,好象是命令打错了:
(我昨晚打的命令)
chroot $LFS/static/bin/env -i \
HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/static/bin \
/static/bin/bash --login
出了个错,说我的目录不存在.我看了一下,没有env这个目录.我今天一看,chroot $LFS后面有个空格,是不是这个原因呢?
各个兄弟,后面还没什么地方要小心的,有地雷的,请提前通知一下,谢谢了!
回复
使用道具
举报
提升卡
置顶卡
沉默卡
喧嚣卡
变色卡
显身卡
doooom
doooom
当前离线
积分
2954
IP卡
狗仔卡
发表于 2002-12-5 09:31:52
|
显示全部楼层
$LFS must be followed by a space. and you should have the bin program "env" in your /static/bin
if not, return back charpter 5, recompile a xxxxutil pack.
回复
支持
反对
使用道具
举报
显身卡
David
David
当前离线
积分
257
IP卡
狗仔卡
楼主
|
发表于 2002-12-5 09:36:58
|
显示全部楼层
Thank you for your answers. I would just like to know if there are any steps needed to take care in the future?
回复
支持
反对
使用道具
举报
显身卡
David
David
当前离线
积分
257
IP卡
狗仔卡
楼主
|
发表于 2002-12-5 09:40:51
|
显示全部楼层
More questions:
What does the PS1='\u:\w\$ 'mean in this command?
回复
支持
反对
使用道具
举报
显身卡
doooom
doooom
当前离线
积分
2954
IP卡
狗仔卡
发表于 2002-12-5 09:41:11
|
显示全部楼层
some packs can't be compiled with the optimization CFLAGS and blabla, check with tram's blfs installation note very very carefully.
if you add some mistakes on this point, the strange problems will occure days after and drive you on to the wall.
回复
支持
反对
使用道具
举报
显身卡
doooom
doooom
当前离线
积分
2954
IP卡
狗仔卡
发表于 2002-12-5 09:42:27
|
显示全部楼层
try it anywhere and
try PS1="hahahaha"
see what happen?
回复
支持
反对
使用道具
举报
显身卡
tram
tram
当前离线
积分
7281
IP卡
狗仔卡
发表于 2002-12-5 09:42:55
|
显示全部楼层
我觉得你装到这一步的话,应该要出的问题都出了,只要注意一下glibc就行了。那可是个大户,装不好后面的都白费。
回复
支持
反对
使用道具
举报
显身卡
tram
tram
当前离线
积分
7281
IP卡
狗仔卡
发表于 2002-12-5 09:44:07
|
显示全部楼层
sorry,你是已经装好了LFS,要装BLFS是么?
回复
支持
反对
使用道具
举报
显身卡
David
David
当前离线
积分
257
IP卡
狗仔卡
楼主
|
发表于 2002-12-5 09:53:29
|
显示全部楼层
呵呵,还没有. 只到了要用chroot 这个命令的时候了.请多指导!
回复
支持
反对
使用道具
举报
显身卡
tram
tram
当前离线
积分
7281
IP卡
狗仔卡
发表于 2002-12-5 09:57:45
|
显示全部楼层
不敢当啊,呵呵,出了问题就把出错的情况给大家说说,人多力量大!
回复
支持
反对
使用道具
举报
显身卡
返回列表
高级模式
B
Color
Image
Link
Quote
Code
Smilies
您需要登录后才可以回帖
登录
|
注册
本版积分规则
发表回复
回帖后跳转到最后一页
Copyright © 2002-2023
LinuxSir.cn
(http://www.linuxsir.cn/) 版权所有 All Rights Reserved.
Powered by
RedflagLinux!
技术支持:
中科红旗
|
京ICP备19024520号
快速回复
返回顶部
返回列表