A P P E N D I X  B

Booting From the Network Adapter

Booting from the network adapter requires special procedures in order to enable detection of installation devices. To boot from the small kernel image on the network adapter, you must use either a boot/install server or a temporarily directly-connected boot disk to enable bootability. The method using a boot install server is the Net Install Patching method and the method using a directly-connected boot disk is the Dump and Restore method. Both procedures should be performed by a knowledgeable UNIX system administrator.

The two methods are explained in this appendix in the sections:

The Dump and Restore method is more difficult than the Net Install Patching method and you might experience complications in the loss of the boot. However, the method is available to anyone with existing systems, whether small or large configurations, and it provides a disk image when you have completed the process.

The Net Install Patching method requires a jump-start server and network connectivity, and it is more suitable for large system configurations than for small ones. This method is easier than the Dump and Restore method and mitigates the risk of data loss.



Note - These procedures are necessary if the network adapter card driver is not bundled with the Solaris operating environment on the boot server on the network. Check your Solaris operating environment to determine whether the driver is bundled with it.



Booting through a network adapter is mandatory when the host is an enterprise-level system or other system that does not have its own directly-connected disks. It is optional and preferable when a host has a directly-connected disk, you might prefer to boot through the adapter because the 2 Gb connection is faster.

 


The Net Install Method

This section contains a bootability method that is different from the one starting at "Invalid Cross-Reference Format". The topics in this section include:

The procedures in this section explain how to install the Solaris operating environment from a boot/install server onto the host with the host adapter. Any other host on the same subnet can be set up as a boot/install server.



Note - The procedure is identical whether the you are using a boot server or an install server.[1] Therefore, the convention used in this chapter is to refer to either type of server as the "boot/install server."



Overview For the Net Install Method

Installing a client from a boot/install server uses two images of the Solaris operating environment:

This procedure assumes you know how to install Solaris software over the network as described in the Solaris installation manuals. For more information, see the man(1) pages for the commands that are used in this procedure.



Note - While you are setting up the boot/install server, you must either have the contents of the Solaris installation CD-ROM copied to a disk that is directly-connected to the boot/install server or have the Solaris installation CD inserted and mounted from an attached CD-ROM device.



You need to enable bootability using a boot/install server to make both images aware of the host adapter. At the start of the procedure, the system administrator downloads the driver and all required patches to an exported directory on the boot/install server.

The following steps explain the process. For actual instructions, begin with "Invalid Cross-Reference Format".

1. The boot image is copied from a Solaris CD-ROM or from another location onto a disk that is attached to a boot/install server.

2. The driver package is added to the boot image.

You add the driver package to the boot image so that the boot/install server can then send and receive data through the host adapter on the boot client.

3. The client boots from the boot/install server, the interactive suninstall(1M) application starts, and the system administrator provides configuration information requested at the prompts.

4. After the system administrator provides all configuration information requested by the installation program, the installation of the Solaris operating environment begins.

5. The install image is copied to the client.

6. Before a reboot, while the client is still booted from the boot image mini-root, the driver and any needed patches are copied from the boot/install server and then installed in the install image.

You install the driver package and patch the install image so that the host will be able to see the host adapter after a reboot.



Note - You can not use Jump Start until you modify the install image.



7. The host boots from the boot disk through the network adapter.

To Set Up the Boot/Install Server

1. Switch users to root on the host to be used as the boot/install server.


% su
Password:
#

2. Use the setup_install_server(1M) command from the Tools directory in the location where the Solaris software resides.

As shown in the following screen example, the setup_install_server command copies the boot image to a directory on the boot/install server. (The boot directory is named /boot_dir /<original_OS_dir>/Boot in the example.) The example shows the command being run from the Tools directory on a mounted Solaris 8 installation CD-ROM.


# cd /cdrom/cdrom0/s0/Solaris_8/Tools
# ./setup_install_server -t /<original_OS_dir>/Boot /<new_OS_copy_dir>

3. Download the driver packages and the accompanying README file from Sun's download center into the /<export_public> directory on the boot/install server.

a. Go to the download center URL specified in the instructions on how to download the network adapter driver in the product notes.

b. Download the README file.

c. Remove any previously-installed packages for this network adapter as instructed in the README.

d. Download the packages as described in the instructions in the release notes.

e. Use the uncompress(1M) and tar(1M) commands to uncompress and expand the packages in the tar file, as instructed in the README.



caution icon

Caution - Do not use the pkgadd(1M) command line that is given in the READMEto install the packages. See "Invalid Cross-Reference Format"to install relocatable versions of the packages.



4. Download the required patch(es) and the accompanying README file(s) from sunsolve.sun.com into the /<export_public> directory on the boot/install server.

a. See the release notes for a list of required patches.

b. Go to the URL specified in the instructions on how to download the network adapter driver required patch(es) in the release notes.

c. Download the README file.

d. Remove any previously-installed related-patches that may be specified in the README.

e. Download the patch(es) as described in the instructions in the release notes.

f. Use the uncompress(1M) and tar(1M) commands to uncompress and expand the patch(es) in the tar file, as instructed in the README.



caution icon

Caution - Do not use the patchadd(1M) command line that is given in the READMEto install the patch(es). See "Invalid Cross-Reference Format"to install relocatable versions of the patch(es).



To Modify the Boot Image

1. Install the driver packages into the boot image.

The following example installs all packages previously downloaded into the /<export_public> directory.



Note - Refer to the install_order file for the proper order in which to install the packages. You must follow this order for a successful installation so the driver will run.




# cd /<export_public>
# pkgadd -R /<new_OS_copy_dir>/Boot -d .

2. Install any needed patches into the boot image.

The following example installs any patch(es) that were previously downloaded into the /<export_public> directory. Repeat the patchadd command for all the patches you need to add.


# cd /<export_public>
# patchadd -C /<new_OS_copy_dir>/Boot -M /<export_public> <patch_ID>

3. Make sure the host name, its IP address, and its Ethernet address have been added to the name service (/etc files, NIS, or NIS+).

4. Run the add_install_client(1M) command to add the host with the host adapter as a boot/install client.

The example shows the add_install_client command followed by the name of the host followed by its platform name.


# add_install_client <host_name> <platform_name>



Note - You can find the platform name by running the uname command with the -m option on the host that has the host adapter.



5. Log out of the boot/install server.

To Set Up the Client

1. Bring the client host (with the host adapter) down to the ok prompt at run level 0.

See the Solaris system administration documentation for the commands that can be used with different configurations. The following example uses the shutdown(1M) command.


# shutdown
...
ok



caution icon

Caution - Do not reboot the boot/install server.



2. Boot the host from the net.


ok boot net

The Solaris interactive installation program runs from the boot/install server.

3. Respond to the prompts according to your configuration, as instructed in the Solaris installation guide.

Make sure to specify the new boot disk as the destination for the operating environment installation.

4. When prompted to choose between automatic reboot or manual reboot, click the Manual Reboot button, complete the remaining question, and start the installation.

This question offering a choice between automatic and manual reboot is the last question before the installation starts. If you are using the suninstall program, choose boot manual.

5. Mount the /<export_public> directory which contains the driver packages and any needed patches onto the /mnt directory mount point.

Enter the mount command followed by the hostname of the boot/install server, followed by a colon (:), followed by /<export_public> followed by /mnt. The following example uses boot_install_server as the name of the boot/install server.


# mount boot_install_server:/<export_public> /a/mnt

6. Install the driver packages into the install image.

The following example installs all packages previously downloaded into the
/<export_public> directory. When prompted, install the packages in the order of SUNWsan, SUNWcfpl, SUNWcfplx.


# cd /a/mnt
# pkgadd -R /a -d .

7. Install any needed patches into the boot image.

The following example installs all patch(es) that were previously downloaded into the /<export_public> directory.



Note - Install the patches in their sequential numeric order to ensure the installation is successful.




# cd /a/mnt
# patchadd -R /a <patch_ID>

8. Bring the system down to the ok prompt at run level 0.


# halt

9. Reboot the host from the newly installed operating environment.


ok boot -r 


The Dump and Restore Method

This section contains a bootability method that is different from the one starting at "Invalid Cross-Reference Format". The topics in this section include:

Overview Of the Dump and Restore Method

To enable bootability using a temporary boot disk, a boot disk must be directly connected, at least temporarily, to the host. The boot disk must have the following installed:

See the release notes for how to download and install the driver packages and any needed patches.



Note - The initial boot disk can be removed if it is not needed after the boot disk is enabled.





Note - The examples in this section show disk 0 as the directly-connected boot disk, and disk 2 as the designated new boot disk that is connected through the host adapter.



Partitioning the New Boot Disk the Same As the Temporary Boot Disk

There are several sub procedures required to complete the first phase of enabling bootability from a temporarily connected boot disk. These sub procedures include:

To Prepare To Partition the New Disk

1. Switch users to root on the host with the host adapter.


% su
Password:
#

2. If the driver and any needed patches are not already installed, download the driver package from Sun's download center and install it on the host, following the instructions in the README file that comes with the driver.

To download the driver, follow the instructions in the release notes.

3. Reboot using the reboot(1M) command with the -r option.


# reboot -- -r

4. Log into the host as root.

To Record the Partition Layout

After you log back into the host, you can record the layout of the partitions, or slices, on the system boot disk.

1. Enter the format(1M) command.

If needed, see the format man page and the instructions on adding a disk and using the format command in the Solaris administration documentation.



Note - These examples use disk 0 as the temporary disk (c0t0d0) and disk 2 (c7t16d0) as the new boot disk.




# format
Searching for disks...done
 
AVAILABLE DISK SELECTIONS:
       0. c0t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w2100002037e43542,0
       1. c0t2d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000020374205a1,0
       2. c7t16d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@8,600000/SUNW,qlc@1/fp@0,0/ssd@w500000e01002b7c1,0
       3. c7t17d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@8,600000/SUNW,qlc@1/fp@0,0/ssd@w500000e0100357c1,0
       4. c7t18d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@8,600000/SUNW,qlc@1/fp@0,0/ssd@w500000e010032331,0
       5. c7t19d0 <drive not available: formatting>
          /pci@8,600000/SUNW,qlc@1/fp@0,0/ssd@w500000e010032661,0
       6. c7t20d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
          /pci@8,600000/SUNW,qlc@1/fp@0,0/ssd@w500000e0100369e1,0
Specify disk (enter its number):

2. Make a note of the device path name of the new boot disk.

For example, for disk 2, the new boot disk in this example, the device path name shown is:/pci@8,600000/SUNW,qlc@1/fp@0,0. You use this information later in Step 4 in "Invalid Cross-Reference Format".



Note - The qlc number changes, depending on the type of host and slot in use.



3. Specify the disk where the operating system is installed on the temporary boot disk.

The following screen example specifies disk 2.


Specify disk (enter its number): 2

4. Enter the partition command to bring up the PARTITION MENU.


format> partition 
PARTITION MENU:
        0      - change `0' partition
        1      - change `1' partition
        2      - change `2' partition
        3      - change `3' partition
        4      - change `4' partition
        5      - change `5' partition
        6      - change `6' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
        quit
partition> 

5. Enter the print command to display the partition table for the specified disk.


partition> print
Current partition table (original):
Total disk cylinders available: 3880 + 2 (reserved cylinders)
 
Part      Tag    Flag     Cylinders        Size            Blocks
  0       root    wm       0 - 1937        2.00GB    (1938/0/0) 4186080
  1       swap    wu    1938 - 2908        1.00GB    (971/0/0)  2097360
  2     backup    wm       0 - 3879        4.00GB    (3880/0/0) 8380800
  3 unassigned    wm       0               0         (0/0/0)          0
  4 unassigned    wm       0               0         (0/0/0)          0
  5 unassigned    wm       0               0         (0/0/0)          0
  6 unassigned    wm       0               0         (0/0/0)          0
  7       home    wm    2909 - 3879        1.00GB    (971/0/0)  2097360

As shown in the example, the temporary boot disk has three slices defined: 0 (root), 1 (swap), and 7 (home) with sizes, 2.00GB, 1.00GB, and 1.00GB.

6. Record the layout (sizes and numbers) assigned to the slices on the temporary boot disk, and enter quit when done.


partition> quit
FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> 

As shown in the previous example, the quit command returns you to the FORMAT MENU.

To Change To the New Boot Disk

After you record the partition layout, change to the new boot disk.

1. At the format> prompt, type disk to change the current disk to the new boot disk.

2. Enter the number of the disk to be formatted after the disk command.

The following screen example uses disk 2. The FORMAT MENU appears.


format> disk 2
selecting c7t16d0
[disk formatted]
 
FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> 

3. Make a note of the device name of the disk.

The device name of the disk in the previous screen example is c7t16d0.

To Specify Slices On the New Boot Disk

After you change to the new boot disk, specify one slice on the new boot disk for every slice on the temporary boot disk. The following examples specify the root slice 0 on the new boot disk to match slice 0 on the temporary boot disk.

1. Enter the partition command to bring up the PARTITION MENU.


format> p
PARTITION MENU:
        0      - change `0' partition
        1      - change `1' partition
        2      - change `2' partition
        3      - change `3' partition
        4      - change `4' partition
        5      - change `5' partition
        6      - change `6' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
        quit
partition> 

2. Enter the number of the slice to be defined.

Slice 0 is specified in the following example. As shown, the partition table for the new boot disk displays.


partition> 0
Current partition table (original):
Total disk cylinders available: 24620 + 2 (reserved cylinders)
 
Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 -    90      128.37MB    (91/0/0)      262899
  1       swap    wu      91 -   181      128.37MB    (91/0/0)      262899
  2     backup    wu       0 - 24619       33.92GB    (24620/0/0) 71127180
  3 unassigned    wm       0                0         (0/0/0)            0
  4 unassigned    wm       0                0         (0/0/0)            0
  5 unassigned    wm       0                0         (0/0/0)            0
  6        usr    wm     182 - 24619       33.67GB    (24438/0/0) 70601382
  7 unassigned    wm       0                0         (0/0/0)            0
Enter partition id tag[root]:

3. Enter the partition ID tag.

The following example shows a question mark (?) entered after the prompt. The list of accepted partition id tags displays. The example then shows the default partition id tag of root accepted by pressing the Return key.


Enter partition id tag[root]: ?
Expecting one of the following: (abbreviations ok):
        unassigned    boot          root          swap
        usr           backup        stand         var
Enter partition id tag[root]: 
Enter partition permission flags[wm]:

4. Enter the partition permission flags.

The following example shows the default permission flags wm accepted by pressing the Return key.


Enter partition permission flags[wm]:
Enter new starting cyl[0]:

5. Enter the new starting cylinder.

The following example shows the default new starting cylinder of 0 accepted by pressing the Return key.


Enter new starting cyl[0]: 
Enter partition size[262899b, 91c, 128.37mb, 0.13gb]: 

6. Enter the partition size.

The following example shows the partition size of 2.00gb entered.


Enter partition size[262899b, 91c, 128.37mb, 0.13gb]: 2.00gb
partition> 

7. Enter the print command to display the updated partition table.

The following example shows that the root tag, the wm permissions flag, and the partition size of 2.00GB are assigned to slice 0.


partition> print
Current partition table (unnamed):
Total disk cylinders available: 24620 + 2 (reserved cylinders)
 
Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 -  1451        2.00GB    (1452/0/0)   4194828
  1       swap    wu      91 -   181      128.37MB    (91/0/0)      262899
  2     backup    wu       0 - 24619       33.92GB    (24620/0/0) 71127180
  3 unassigned    wm       0                0         (0/0/0)            0
  4 unassigned    wm       0                0         (0/0/0)            0

8. Repeat Step 2 through Step 7 as needed until all slices are defined as they are in the temporary boot disk.

9. Enter the quit command to return to the FORMAT MENU.


partition> quit
 
FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> 

To Label the New Boot Disk

After you specify the slices on the new boot disk, label the new boot disk with the new partition table.

1. Enter the label command


format> label

2. Enter y[es] to continue.


Ready to label disk, continue? y

3. When the labeling is complete, enter q[uit] to quit the format program.


format> q
#

To Create File Systems on the New Boot Disk

single-step bulletCreate a file system on each slice on the disk using the newfs(1M) command.

Enter the newfs command followed by the device name of the slice. In this example, the device name for slice 0 of disk c7t16d0 is /dev/rdsk/c7t16d0s0.


# newfs /dev/rdsk/c7t16d0s0
newfs: construct a new file system /dev/rdsk/c7t16d0s0: (y/n)? y
/dev/rdsk/c7t16d0s0:     4194828 sectors in 1452 cylinders of 27 tracks, 107
sectors
        2048.3MB in 46 cyl groups (32 c/g, 45.14MB/g, 7488 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
 32, 92592, 185152, 277712, 370272, 462832, 555392, 647952, 740512, 833072,
 925632, 1018192, 1110752, 1203312, 1295872, 1388432, 1480992, 1573552,
 1666112, 1758672, 1851232, 1943792, 2036352, 2128912, 2221472, 2314032,
 2406592, 2499152, 2591712, 2684272, 2776832, 2869392, 2958368, 3050928,
 3143488, 3236048, 3328608, 3421168, 3513728, 3606288, 3698848, 3791408,
 3883968, 3976528, 4069088, 4161648,

For more information, see the section on how to create file systems in the Solaris system administration documentation.

Do this step to create a file system on the new boot disk for every slice on the temporary boot disk. When you are finished, go to "Invalid Cross-Reference Format".

To Create the New Boot Files

This section has several sub procedures, including:

To Copy the Boot Block and Root File System Contents To the New Boot Disk

1. Install the boot block on the root (/) file system of the new disk.

The following example uses the installboot(1M) command to install the boot block. The boot block resides in the /usr/platform/platform_name/lib/fs/ufs/bootblk directory. The example shows invoking the uname command with the -i option between left single quotes on the command line to specify the platform name.


# /usr/sbin/installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk \
/dev/rdsk/c7t16d0s0 

For more information, see the instructions on how to install a boot block in the Solaris system administration documentation.

2. Mount the root file system from slice 0 of the new boot disk onto the /mnt mount point.


# mount /dev/dsk/c7t16d0s0 /mnt

3. Use the ufsdump(1M) and ufsrestore(1M) commands to copy the contents of the root file system from the temporary boot disk to the root slice of the new boot disk (on the /mnt mount point).


# ufsdump 0f - /dev/rdsk/c0t0d0s0 | ( cd /mnt; ufsrestore rf -)
  DUMP: Writing 32 Kilobyte records
  DUMP: Date of this level 0 dump: Tue 19 Feb 2002 02:44:35 PM PST
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rdsk/c7t16d0s0 (hba2-81:/) to standard output.
  DUMP: Mapping (Pass I) [regular files]
  DUMP: Mapping (Pass II) [directories]
  DUMP: Estimated 1818082 blocks (887.74MB).
  DUMP: Dumping (Pass III) [directories]
  DUMP: Dumping (Pass IV) [regular files]
Warning: ./lost+found: File exists
  DUMP: 88.77% done, finished in 0:01
  DUMP: 1818046 blocks (887.72MB) on 1 volume at 1363 KB/sec
  DUMP: DUMP IS DONE
#

4. Unmount the root file system on slice 0 from the /mnt mount point.


# umount /mnt

To Update the vfstab File

After you copy the boot block and root files, update the vfstab file.

1. Mount the root file system from slice 0 of the new boot disk onto the /mnt mount point.


# mount /dev/dsk/c7t16d0 /mnt

2. Change directories to /mnt/etc and open the vfstab(4) file for editing.

The following example shows the file systems defined.


# cd /mnt/etc
# vi vfstab
...
/dev/dsk/c0t0d0s1       -       -       swap    -       no      -
/dev/dsk/c0t0d0s0       /dev/rdsk/c0t0d0s0      /       ufs     1       no -
/dev/dsk/c0t0d0s7       /dev/rdsk/c0t0d0s7      /home   ufs     2       yes -

3. Replace the name of the temporary boot disk with the name of the new boot disk, and then save and quit the file.

The following example shows the disk name c0t0 changed to c3t8 in the mount table entries for slices 0, 1, and 7.


/dev/dsk/c7t16d0s1       -       -       swap    -       no      -
/dev/dsk/c7t16d0s0       /dev/rdsk/c7t16d0s0      /       ufs     1 no      -
/dev/dsk/c7t16d0s7       /dev/rdsk/c7t16d0s7      /home   ufs     2 yes -
:wq
#

To Copy the Contents of Non-root File Systems onto the New Boot Disk

1. Mount the file system onto the /mnt mount point.

This example shows the copying of the /home file system from slice 7 to the new boot disk.


# mount /dev/dsk/c7t16d0 /mnt

2. Use the ufsdump(1M) and ufsrestore(1M) commands to copy the contents of the file system from the temporary boot disk to the new boot disk.


# ufsdump 0f - /dev/rdsk/c0t0d0s0 | ( cd /mnt; ufsrestore rf -)
  DUMP: Writing 32 Kilobyte records
  DUMP: Date of this level 0 dump: Tue 19 Feb 2002 02:44:35 PM PST
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rdsk/c7t16d0s0 (hba2-81:/) to standard output.
  DUMP: Mapping (Pass I) [regular files]
  DUMP: Mapping (Pass II) [directories]
  DUMP: Estimated 1818082 blocks (887.74MB).
  DUMP: Dumping (Pass III) [directories]
  DUMP: Dumping (Pass IV) [regular files]
Warning: ./lost+found: File exists
  DUMP: 88.77% done, finished in 0:01
  DUMP: 1818046 blocks (887.72MB) on 1 volume at 1363 KB/sec
  DUMP: DUMP IS DONE
#

3. Unmount the file system from the /mnt mount point.


# umount /mnt

4. Repeat Step 1 through Step 3 as needed until you have copied all the file systems' contents to the new boot disk. When finished, go to "Invalid Cross-Reference Format".

To Specify the New Boot Disk as the Boot Device.

1. Bring the host with the host adapter down to the ok prompt at run level 0.

See the Solaris system administration documentation on shutting down a host for the commands that can be used with different configurations. The following screen example uses the shutdown(1M) command.


# shutdown
...
ok

2. Use the nvalias command to alias the device name of the disk to a short name for the disk.

The following example uses /pci@8,600000/SUNW,qlc@1/fp@0,0/disk@10,0, which was the device path name for disk 2 in "Invalid Cross-Reference Format".


ok nvalias disk2 /pci@8,600000/SUNW,qlc@1/fp@0,0/disk@10,0

3. Use the nvstore command to store the new alias followed by the reset all command.


ok nvstore
ok reset-all

4. Define the new boot disk as the default boot-device.

Use the data gathered in Step 2 on "Invalid Cross-Reference Format".

a. Enter the setenv command followed by the boot-device parameter followed by the name of the new disk.


ok setenv boot-device disk2

b. Enter the reset command.


ok reset

5. Enter the boot command with the -r option so that the Solaris operating environment can recognize the adapter.


ok boot -r


1 (Footnote) For the distinction between these two types of server, see the Solaris system administration documentation.