3 Booting from SSHA Devices





If you have installed your SSHA card into a SPARCstation2, you can boot directly from your SSHA devices after performing the steps outlined in this chapter.

If you have installed your SSHA card into a SPARCstation 1, SPARCstation 1+, or SPARCstation IPC, you will not be able to boot directly from SSHA devices until Open Boot PROM Version 2.0 becomes available for these systems.

3.1 Booting Your System

3.1.1 Booting With Solaris 2.x

If your system is running Solaris Version 2.x, you need to turn on your system. The operating system is automatically booted.

Note - Be sure that you have followed the shutdown procedure, as described in the Solaris 2.x Handbook for SMCC Peripherals.

After you booted the operating system successfully, the installation of your SSHA card is complete. Although the SSHA card has been installed and tested successfully, you may still need to configure the new devices, such as disks, tape drives, and CD-ROM drives. This allows you to mount those devices to read and write data.

3.1.2 Booting With Solaris 1.x (SunOS 4.x)

If your system is running Solaris Version 1.x (SunOS 4.x), you need to turn on your system. The operating system is automatically booted.

Note - Be sure that you have followed the shutdown procedure, as described in the Solaris 1.x (SunOS 4.x) Handbook for SMCC Peripherals.

After you booted the operating system successfully, the installation of your SSHA card is complete. Although the SSHA card has been installed and tested successfully, you may still need to configure the new devices, such as disks, tape drives, and CD-ROM drives. This allows you to mount those devices to read and write data.

3.1.2.1 Booting with Open Boot PROM 2.0 (SunOS 4.x)

Table 3-1 shows the bootpaths required for booting with Open Boot PROM 2.0 (SunOS 4.x) and higher, along with a listing of what the old bootpaths looked like.

    Table 3-1 Bootpaths for Open Boot PROM 2.0

---------------------------------------------------------------
OBP Command New Bootpath Old Bootpath Description and Alias ---------------------------------------------------------------
                                            
boot disk     /sbus/esp@0,80  sd(0,0,0)     Default disk (1st 
              0000/sd@3,0                   internal disk)
                                            
boot disk0    /sbus/esp@0,80  sd(0,0,0)     First internal disk 
              0000/sd@3,0                   sd0
                                            
boot disk1    /sbus/esp@0,80  sd(0,1,0)     Second internal 
              0000/sd@1,0                   disk sd1
                                            
boot disk2    /sbus/esp@0,80  sd(0,2,0)     External disk sd2
              0000/sd@2,0                                         
                                            
boot disk3    /sbus/esp@0,80  sd(0,3,0)     External disk sd3
              0000/sd@0,0                                         
                                            
boot tape     /sbus/esp@0,80  st(0,0,0)     First tape drive st0
              0000/st@4,0                                         
                                            
boot tape0    /sbus/esp@0,80  st(0,0,0)     First tape drive st0
              0000/st@4,0                                         
                                            
boot tape1    /sbus/esp@0,80  st(0,1,0)     Second tape drive 
              0000/st@5,0                   st1
                                            
boot cdroma   /sbus/esp@0,80  sd(0,6,0)     Cdrom file a
              0000/sd@6,0:a                                       
                                            
boot cdrom    /sbus/esp@0,80  sd(0,6,2)     Munix from cdrom 
              0000/sd@6,0:c                 sr0

---------------------------------------------------------------

3.1.2.2 Booting from SSHA Devices

Table 3-2 shows the bootpaths required for booting from your SSHA devices.

    Table 3-2 Bootpaths for Booting from SSHA Devices

------------------------------------------------------------------------
New Bootpath Old Bootpath Description ------------------------------------------------------------------------
                                          
/sbus/esp@1,200000/sd@3,0   sd(1,0,0)     Fifth hard disk sd4 (2nd SCSI 
                                          bus)
                                          
/sbus/esp@1,200000/sd@1,0   sd(1,1,0)     Sixth hard disk sd5 
                                          
/sbus/esp@1,200000/sd@2,0   sd(1,2,0)     Seventh hard disk sd6
                                          
/sbus/esp@1,200000/sd@0,0   sd(1,3,0)     Eighth hard disk sd7
                                          
/sbus/esp@1,200000/st@4,0   st(1,0,0)     Third tape drive st2
                                          
/sbus/esp@1,200000/st@5,0   st(1,1,0)     Fourth tape drive st3
                                          
/sbus/esp@2,200000/sd@3,0   sd(2,0,0)     Ninth Hard Disk sd8
                                          
                                          
                                          
/sbus/esp@2,200000/sd@1,0   sd(2,1,0)     Tenth Hard Disk sd9
                                          
/sbus/esp@2,200000/sd@2,0   sd(2,2,0)     Eleventh Hard Disk sd10
                                          
/sbus/esp@2,200000/sd@0,0   sd(2,3,0)     Twelfth Hard Disk sd11
                                          
/sbus/esp@3,200000/sd@3,0   sd(3,0,0)     Thirteenth Hard Disk sd12
                                          
                            sd(3,1,0)     Fourteenth Hard Disk sd13
/sbus/esp@3,200000/sd@1,0                                                 
                                          
/sbus/esp@3,200000/sd@2,0   sd(3,2,0)     Fifteenth Hard Disk sd14
                                          
/sbus/esp@3,200000/sd@0,0   sd (3,3,0)    Sixteenth Hard Disk sd15

------------------------------------------------------------------------

Note - You cannot install SunOS on sd7 and beyond because you cannot boot from sd7 and beyond. You cannot install SunOS mini-root from the SSHA's CD-ROM sr1. There is no boot alias available for booting from an SSHA device.

3.2 Configuring Your System

3.2.1 Configuring the File System for Solaris 2.x

Configuring the file system for disk drives, tape drives, and CD-ROM drives involves editing specific files. Go to the appropriate chapters in the Solaris 2.x Handbook for SMCC Peripherals to modify the files for any disk drives, tape drives, and CD-ROM drives that are connected to the SSHA card.

3.2.2 Configuring the File System for Solaris 1.x (SunOS 4.x)

Configuring the file system involves editing a system file named /etc/fstab. Information about editing /etc/fstab and adding devices to the file system can be found in the Sun System & Network Manager's Guide.

This is especially important to do before you decide to boot from any of the devices attached to the SSHA card, i.e., sd4 hard disk.

Replace all occurrences of sd0 with sd4 in the /etc/fstab file of the drive sd4. Then reboot by typing the following after the boot prompt:

-----------------------------------
ok boot/sbus/esp@1,200000/sd@3,0 -----------------------------------

The following examples show the command to boot from device sd4 with SCSI ID = 3 attached to the SSHA card in slot number one. To boot from the Open Boot PROM prompt ok, type the entire boot command (see example below).

-----------------------------------
> n ok boot/sbus/esp@1,200000/sd@3,0 -----------------------------------

To boot from the monitor prompt >, just type in the letter b to identify the boot function. For example:

-----------------------------------
ok boot/sbus/esp@1,200000/sd@3,0 -----------------------------------

For an SSHA card in slot 2, the path changes to:

--------------------------------
> b /sbus/esp@2,200000/sd@3,0 --------------------------------

For an SSHA card in slot 3, the path changes to:

--------------------------------
> b /sbus/esp@3,200000/sd@3,0 --------------------------------

If you are confused about the valid path names on your machine, do the following:

---------------
> n ok show-devs ---------------

The pathnames for each device will be displayed on the screen.