- 论坛徽章:
- 0
|
My cublog:
http://www.cublog.cn/u/14514/
My ID:deeperbluer
试验设备:
# uname -a
SunOS xjz-cr02 5.7 Generic_106541-40 sun4u sparc SUNW,Ultra-60
整过过程大致需要3小时,根据具体机器设备情况而定。
################
#拷贝镜像过程:#
################
放入Solaris8 2/02 Software 1/2
# pwd
/cdrom/sol_8_202_sparc/s0/Solaris_8/Tools
# ls
Boot dial setup_install_server
add_install_client rm_install_client
# ./setup_install_server /home/oracle/solaris8img
Verifying target directory...
Calculating the required disk space for the Solaris_8 product
|/-\| (大概经过5分钟的时间检测系统空间,根据具体机器和空间而定)
Copying the CD image to disk...
|/-\| (大概经过60分钟的时间进行拷贝,根据具体机器和空间而定)
Install Server setup complete
# cd /
# eject
放入Solaris8 2/02 Software 2/2
# pwd
/cdrom/sol_8_202_sparc_2/Solaris_8/Tools
# ls
Installers add_to_install_server installer_source
# ./add_to_install_server /home/oracle/solaris8img
The following Products will be copied to /home/oracle/solaris8img/Solaris_8/Product:
Solaris_2_of_2
If only a subset of products is needed enter Control-C
and invoke ./add_to_install_server with the -s option.
Checking required disk space...
|/-\| (大概经过5分钟的时间检测系统空间,根据具体机器和空间而定)
Copying the Early Access products...
|/-\| (大概经过15分钟的时间进行拷贝,根据具体机器和空间而定,以下过程10秒钟内完成)
194459块
Copying Top Level installer...
1640块
Copying Installers Directory...
3500块
\
Processing completed successfully.
# eject
放入Solaris8 2/02 Language
# pwd
/cdrom/sol_8_202_lang_sparc/Tools
# ls
add_to_install_server
# ./add_to_install_server /home/oracle/solaris8img
The following Products will be copied to /home/oracle/solaris8img/Solaris_8/Product:
Simplified_Chinese
French
German
Italian
Japanese
Korean
Spanish
Swedish
Traditional_Chinese
shared
If only a subset of products is needed enter Control-C
and invoke ./add_to_install_server with the -s option.
Checking required disk space...
|/-\| (大概经过2分钟的时间检测系统空间,根据具体机器和空间而定)
Copying SimplifiedChinese packages...
Copying French packages...
Copying German packages...
Copying Italian packages...
Copying Japanese packages...
Copying Korean packages...
Copying Spanish packages...
Copying Swedish packages...
Copying TraditionalChinese packages...
Copying shared packages...
|/-\| (大概经过30分钟的时间进行拷贝,根据具体机器和空间而定,以下过程10秒钟内完成)
/
Processing completed successfully.
# eject
放入Solaris8 2/02 Installion CD
# pwd
/cdrom/multi_icd_sol_8_202_sparc_cs
# cd s0
# ls
Boot add_install_client rm_install_client
Copyright modify_install_server
# ./modify_install_server -p /home/oracle/solaris8img /cdrom/multi_icd_sol_8_202_sparc_cs/s1
Setting up installer net image
preserving existing miniroot in /home/oracle/solaris8img/Solaris_8/Tools/Boot.orig
|/-\| (大概经过10分钟的时间进行拷贝,根据具体机器和空间而定)
Setup complete
# eject
###########################################
#添加需要通过网络安装OS的客户机到Image中:#
########################################### 本例中将vlj作为安装的客户端机器
# pwd
/home/oracle/solaris8img/Solaris_8/Tools
# ls
Boot Installers dial setup_install_server
Boot.orig add_install_client rm_install_client
# ./add_install_client -e 8:0:20:cd:91:12 vlj sun4u
Adding Ethernet number for vlj to /etc/ethers
saving original /etc/dfs/dfstab in /etc/dfs/dfstab.orig
Adding "share -F nfs -o ro,anon=0 /home/oracle/solaris8img" to /etc/dfs/dfstab
making /tftpboot
enabling tftp in /etc/inetd.conf
starting rarpd
starting bootparamd
starting nfsd's
starting nfs mountd
updating /etc/bootparams
copying inetboot to /tftpboot
#
###########################################
#重新引导VLJ系统并安装其系统前的检查工作:#
########################################### 本例中将vlj作为安装的客户端机器
1、检查InstallServer的/etc/hosts中是否有VLJ的IP定义
eg:
# more /etc/hosts
...
210.10.3.71 vlj
...
2、检查InstallServer的/etc/bootparams中是否有VLJ的一项
eg:
# more /etc/bootparams
vlj root=xjz-cr02:/home/oracle/solaris8img/Solaris_8/Tools/Boot install=xjz-
cr02:/home/oracle/solaris8img boottype=:in rootopts=:rsize=32768
#
3、检查InstallServer的进程中是否有tftpd在运行
eg:
# ps -ef |grep tftpd 看此进程是否运行,如果没有请修改/etc/inetd.conf文件,将其中含有tftpd的
一行前的“#”去掉
#
###########################################
#重新引导VLJ系统并安装其系统前的检查工作:#
########################################### 本例中将vlj作为安装的客户端机器
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/14514/showart_342197.html |
|