急死人啊,麻烦大家给看一下。网络安装SOLARIS10

sbepai
急死人啊,麻烦大家给看一下。网络安装SOLARIS10

我用PC机安装的solaris10 x86的,然后按下面方法设置服务器端:Solaris 10 的网络安装方法

准备:solaris10 X86 DVD光盘一张
      Solaris 10 space DVD 光盘一张
      PC 做服务器  计算机名:server   IP:192.168.2.54
      SUN  T1000  客户机    计算机名:T1000    IP:192.168.2.58
1 ,先在PC机上预装X86 SOLARIS 10
    开始工作Put the Solaris 10 OS for Sparc platforms DVD in the DVD-ROM on the server
  1.创建一个安装目录
# mkdir /export/home/install
  2.将Solaris software拷贝到新建的目录中
     # cd /cdrom/cdrom0/s0/Solaris_10/Tools
     # ./setup_install_server /export/home/install
      Verifying target directory….
      Calculating the required disk space for the Solaris_10 product
Calculating space required for the installation boot image
Copying the CD image to disk...
Copying Install Boot Image hierarchy...
3.根下创建一个jumpstart的目录
#mkdir jumpstart
把jumpstart¬_sample复制到jumpstart里面
#cp–r /cdrom/cdrom0/Solaris_10/Misc/jumpstart_sample/ /jumpstart
创建sysidcfg
#cd /jumpstart
#touch sysidcfg
Vi sysidcfg
system_local=en_US.ISO8859-1
      timezone=Asia/Shanghai
      terminal=vt100
      root_password=<encrypted from /etc/shadow>
      network_interface=hem0 {primary hostname=T1000
                             network=255.255.255.0
                             protocol_ipv6=no}
      :wq
创建一个profile文件test_prof
# touch test_prof
# vi test_prof
install_type   initial_install
system_type   standalone
partitioning    explicit
cluster        SUNWCprog
filesys        any 1024 swap
创建check脚本
#cp –r /export/home/install/Solaris_10/Misc/jumpstart_sample/check /jumpstart
运行check脚本
# ./check
Validating rules…
Validating profile Tech_prof
The custom JumpStart configuration is ok.
共享/export/home/install和/jumpstart 目录
  (1)# share –F nfs –o ro,anon=0 /export/home/install
       # share –F nfs –o ro,anon=0 /jumpstart
       # shareall
   (2)编辑/etc/dfs/dfstab文件
     # vi /etc/dfs/dfstab
#       Place share(1M) commands here for automatic execution
#       on entering init state 3.
#
#       Issue the command 'svcadm enable network/nfs/server' to
#       run the NFS daemon processes and the share commands, after adding
#       the very first entry to this file.
#
#       share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
#       .e.g,
#       share  -F nfs  -o rw=engineering  -d "home dirs"  /export/home2
share -F nfs -o ro,anon=0 /export/home/install
share -F nfs -o ro,anon=0 /jumpstart
     
"dfstab" 16 lines, 580 characters
  :wq
创建rules文件
#cd /jumpstart
# touch rules
#vi rules
Hostname T1000 – test_prof –
:wq
5.启动nfsserver
    # /etc/init.d/nfs.server start
6.编辑/etc/hosts
       #
# Internet host table
#
127.0.0.1       localhost      
192.168.2.54    server loghost
192.168.2.58    T1000
:wq
7.创建tftpboot文件
   运行add_install_client 脚本为客户
   找到add_install_client 脚本的位置
   # cd /export/home/install/Solaris_10/Tools
   # ./add_install_client -c server:/jumpstart/ -p server:/jumpstart/ -s server:/export/home/install/ T1000 sun4u
#.add_install_client –e 0:14:4f:af:50:aa T1000 sun4u
生成文件在/etc/bootparams验证:
    # more /etc/bootparams
T1000  root=server:/export/home/install/Solaris_10/Tools/Boot install=server:/export/home/install boottype=:in sysid_config=server:/jumpstart/sysidcfg install_config=server: /jumpstart rootopts=:rsize=8192
# more /etc/hosts
#
# Internet host table
#
127.0.0.1       localhost      
192.168.2.54   server    loghost
192.168.2.58   T1000
# more /etc/ethers
0:14:4f:af:50:aa T1000
8.配置就绪,客户机可以通过网络安装了
连好网线,在同一个子网内
在OK下
OK>boot net –install
可是,引导到一半就总重起了。我的客户端是SUN的T1000.什么都没有,因为出厂带的硬盘太小,就重新买的新硬盘,所以要装系统,可怎么装也装不,急死了,求大家帮帮忙。引导到
os-io whoami:no domain name
然后就出现一堆乱东西,最后提示:no dump device configure
然后客户端就又重起了。求求大家了。

race
有点复杂 ,步骤不对。如果是简单的使用PC安装X86做server,给T1000安装SRAPC 的SOLARIS10,不用那么多步骤的。
“3.根下创建一个jumpstart的目录:就可以省略掉,直接进行下面的。NFS是系统自动设置的,不用手工设置。

楼主可去docs.sun.com下载《Solaris 10 11 06 安装指南:基于网络的安装.pdf》里面说的比较详细,设置也很简单。

sbepai
先谢了

我去看看,如果race 有时间的话,能详细说下吗

sbepai
这个我看过了,可还是有些弄不懂,能帮帮忙吗,加我QQ,64564280,指导一下