|
|
发表于 2006-2-22 20:50:34
|
显示全部楼层
liveCD是为了为没有host提供安装条件,但是他对文件系统的限制,使得无法从硬盘安装。
如果那个内核提供了对ext2文件系统的支持,这样不是更好嘛。光盘安装时用initramfs(最主要的是里面的Init),硬盘安装时用noinitrd,这不更符合LFS的精神嘛。
引述 http://www.linuxfromscratch.org/livecd/
Why would I want to use the LFS LiveCD?
It provides a known good host for building LFS
At times, Linux distros are built in such a way that make it difficult to successfully build LFS using that distro as a host. Their releases may even contain bugs that are really only exposed with heavy compiling, as is done when building LFS. The LiveCD has been tested thoroughly and is known to successfully build the current version of LFS without deviation.
Removes the LFS prerequisite of having a Linux distro installed on your system
To build LFS, you need to have a host Linux system with development tools. In this case, the LiveCD is the host system. This allows you to build LFS onto a completely blank machine, if you so desire.
Doubles as a rescue CD
Having a LiveCD close at hand can be a life saver if your system breaks or suddenly refuses to boot. You can boot the CD, fix the error on your local system, reboot, and voila!
Includes all sources and the LFS Book
This spares you from having to download all the packages individually, which can be quite time consuming. It also removes the need for a working internet connection.
可见 LFS 的 LiveCD 开发的原意并没有考虑用户从硬盘安装。硬盘安装这方式好像只在国内较普遍,国外不甚流行的样子。
关于制作一个通用的initrd的脚本我觉得意义不大,个人建议内核启动时使用noinitrd。 不同发行版使用的mkinitrd脚本都不同,做出的initrd格式及内容也不相同,各施各法,这也是我不喜欢initrd的原因。 |
|