- 论坛徽章:
- 0
|
一直做不好这个题目,希望老大能邦帮忙。
主要用到:
1.sysinstall
2.vnconfig
3.install.cfg
4.CD上的boot.flp
man sysinstall看到以下的提示,执行脚本的三种方式,我的install.cfg,在sysinstall的主菜单下选load config file option可以正确执行,但放到boot.flp的mfsroot里,就不管用,不能自动执行。搜遍google,也没找到,老大能否给点提示?
如果用mfsroot.flp和kern.flp,将install.cfg cp 到mfsroot里,做成软盘,自动安装,一切顺利,就是做成光盘起动的boot.flp总也不成功。
到底什么原因呢?需要改sysinstall的源程序?还是有什么其它的配置?我找不到一点相关的文档。
求救!
RUNNING SCRIPTS
sysinstall may be either driven interactively through its various inter-
nal menus or run in batch mode, driven by an external script. Such a
script may be loaded and executed in one of 3 ways:
LOAD_CONFIG_FILE
If sysinstall is compiled with LOAD_CONFIG_FILE set in the envi-
ronment (or in the Makefile) to some value, then that value will
be used as the filename to automatically look for and load when
sysinstall starts up and with no user interaction required. This
option is aimed primarily at large sites who wish to create a
single prototype install for multiple machines with largely iden-
tical configurations and/or installation options.
MAIN MENU
If sysinstall is run interactively, that is to say in the default
manner, it will bring up a main menu which contains a "load con-
fig file" option. Selecting this option will prompt for the name
of a script file which it then will attempt to load from a DOS or
UFS formatted floppy.
COMMAND LINE
Each command line argument is treated as a script directive when
sysinstall is run in multi-user mode. Execution ends either by
explicit request (e.g. calling the shutdown directive), upon
reaching the end of the argument list or on error.
For example:
/stand/sysinstall _ftpPath=ftp://ziggy/pub/ mediaSetFTP configPacka
ges
Would initialize sysinstall for FTP installation media (using the
server `ziggy') and then bring up the package installation edi-
tor, exiting when finished. |
|