LinuxSir.cn,穿越时空的Linuxsir!

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

为什么不用一个脚本来完成lfs的基本安装?

[复制链接]
发表于 2003-11-8 20:45:23 | 显示全部楼层 |阅读模式
这样可以避免敲进去那么多的句子。反正对于新手,安装lfs的基本系统也都是按照文档上面一步一步的来。这样的好处还可以避免键入错误。何乐而不为?
运行一个脚本,然后去睡觉,呵呵,免去了难熬的等待。
发表于 2003-11-8 22:02:23 | 显示全部楼层
为什么你不写一个呢?
 楼主| 发表于 2003-11-8 22:36:08 | 显示全部楼层
水平有限,不过正在尝试。。
第一次安装lfs。。。
发表于 2003-11-8 23:41:30 | 显示全部楼层
已经有了,在LFS主站就有ALFS,里面有一个nALFS,非常好用,我就是用这个安装好LFS的,我使用的是5.0pre2版本的.遇到的问题是:
第8章的内核以后都是手工操作,在nALFS里面总是停止响应了。开始时候还是有问题了,因为忘记了chroot:
chroot $LFS /usr/bin/env -i \
HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin \
/bin/bash --login
这样8,9都正常。安装成功。
发表于 2003-11-9 00:23:30 | 显示全部楼层
这想法不好,如果没有手动装过一次,是不知道什么是LFS的.
nALFS的目的是为了测试,因为这样才能保证没有人为的因素干扰.
发表于 2003-11-9 03:03:11 | 显示全部楼层
自己手把手安装好LFS才有成就感嘛
发表于 2003-11-9 10:36:27 | 显示全部楼层
LFS 的 1.4 pre1 CD 启动后cdrom目录里有一个install_lfs不错,而且也可以手工安装,并解决了需要在硬盘上安装宿主LINUX的问题。
 楼主| 发表于 2003-11-9 11:59:36 | 显示全部楼层
哪能找到LFS 的 1.4 pre1 CD
是不是和5。0一样内容的lfs
发表于 2003-11-9 14:08:09 | 显示全部楼层
我觉得没有必要,,虽然有的的确很麻烦,不过,自己打一次,我觉得对水平提高有好处。:)。
发表于 2003-11-10 21:40:42 | 显示全部楼层
最初由 tram 发表
这想法不好,如果没有手动装过一次,是不知道什么是LFS的.
nALFS的目的是为了测试,因为这样才能保证没有人为的因素干扰.

I don't think so . with nALFS you can write the XML based "script" by yourself to control the installation , and that needs you to read the LFS book very carefully too. the good thing of nALFS is just like its name "automated" -- after finish your scripts,you would find a re-installation of system or software upgrade is just a piece of cake,while the "pure" LFS guys have to configure and make the sources all by hand again --- the first time might be interesting,but the the second and third time is definitely boring  :help

I once wrote all the nALFS scripts to build a LFS system,and I even created and burned a bootable CD (the CD itself is a LFS system too) to "nALFS" a fresh system;)

but that was almost one year ago (still LFS V4) , now I would like to stick with slackware -- fast , clean and lots of compiled packages available.

but I'm thinking about give Gentoo a try :p
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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