ChorusOS 5.0 Installation Guide

Configuring the Boot Server

The following procedure requires that the target system and boot server must be on the same subnet.

See Chapter 5, Setting Up a Boot Server. for instructions on how to enable TFTP and RARP services on the boot server.

  1. Become superuser on the boot server:


    $ su
    Password: superuser_password
    # 
  2. Copy the inetboot.sun4u file, that is, install_dir/chorus-usparc/opt/unsupported/inetboot.sun4u to the /tftpboot directory, where, the install_dir is /opt/SUNWconn/SEW/5.0-UltraSPARC.

  3. Create a soft link from the inetboot.sun4u file to a file called /tftpboot/target_IP_address_in_hex.

    For example, the file for the target system with IP address 129.157.197.88 is called 819DC558, and is constructed as follows:

    • 129 in decimal translates to 81 in hexadecimal

    • 157 in decimal translates to 9D in hexadecimal

    • 197 in decimal translates to C5 in hexadecimal

    • 88 in decimal translates to 58 in hexadecimal

    To create the soft link for the preceding examples, use the following commandS:


    # ln -s /tftpboot/inetboot.sun4u 819DC558
    
  4. Create a /tftpboot/export/root/target/platform/sun4u directory on the boot server.

  5. Copy the system image, chorus.obp, to the directory you just created.

  6. Edit /etc/bootparams to include the following:

    target root=boot_server:/tftpboot/export/root/target
    

    where target is the target system hostname and boot_server is the boot server hostname.


    Note -

    Create the bootparams file if it doesn't exist.


  7. Edit /etc/hosts to include the following:

    target_IP_address     target
    

    where target_IP_address is the target IP address (such as 129.157.197.88) and target is the target system hostname.

  8. Edit /etc/ethers to include the following:

    target_Ethernet_address     target
    

    where target_Ethernet_address is the target Ethernet address (such as 8:0:20:a7:d6:f3) and target is the target system hostname.

  9. Edit /etc/dfs/dfstab to include the following:

    share -F nfs -o rw -d "ChorusOS boot"  /export/home

    For the directory to be shared, you must stop and then restart the NFS server on the host workstation as follows:


    $ su
    Password: superuser_password
    # /etc/init.d/nfs.server stop
    # /etc/init.d/nfs.server start
    
  10. Edit /etc/nsswitch.conf so that the hosts, ethers, and bootparams entries read files, rather than NIS databases. For example:

    #
    # /etc/nsswitch.nis:
    #
    # An example file that could be copied over to /etc/nsswitch.conf; it
    # uses NIS (YP) in conjunction with files.
    #
    # "hosts:" and "services:" in this file are used only if the
    # /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
    
    # the next two lines obviate the "+" entry in /etc/passwd and /etc/group.
    passwd:     files nis
    group:      files nis
    
    # consult /etc "files" only if nis is down. 
    hosts:      files [NOTFOUND=return] nis
    networks:   nis [NOTFOUND=return] files
    protocols:  nis [NOTFOUND=return] files
    rpc:        nis [NOTFOUND=return] files
    ethers:     files [NOTFOUND=return] nis
    netmasks:   nis [NOTFOUND=return] files	
    bootparams: files [NOTFOUND=return] nis
    publickey:  nis [NOTFOUND=return] files
    
    netgroup:   nis
    
    automount:  files nis
    aliases:    files nis
    
    # for efficient getservbyname() avoid nis
    services:   files nis
    sendmailvars:   files
  11. Reboot the boot server.