- 論壇徽章:
- 0
|
一直做不好這個題目,希望老大能邦幫忙。
主要用到:
1.sysinstall
2.vnconfig
3.install.cfg
4.CD上的boot.flp
man sysinstall看到以下的提示,執(zhí)行腳本的三種方式,我的install.cfg,在sysinstall的主菜單下選load config file option可以正確執(zhí)行,但放到boot.flp的mfsroot里,就不管用,不能自動執(zhí)行。搜遍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. |
|