当时发现这个问题的时候觉得很奇怪,猜想是在选择boot模式的时候,要去加载ks文件,但当时并不能把外置光驱识别成cdrom。为了解决这个问题换了个想法,能不能直接在加载boot引导的时候直接也把ks文件也加载了。
在里面有如下
ks=file:/
<file>
-
The installation program tries to read the file
<file>
from the file system; no mounts are done. This is normally used if the kickstart file is already on theinitrd
image.
可以把ks文件打包到initd.img,而initrd.img肯定能正确加载,这样问题也解决了。至于怎么加压打包initrd.img,我已经在前面的文章--
CentOS5.5系统定制3安装图片文字定制 中提及。