DOCUMENT ID:  1272-02

SYNOPSIS:     How to add a hard drive on Solaris 2.4 for x86 

OS RELEASE:   2.4

PRODUCT:      Solaris x86

KEYWORDS:     add hard drive x86


SYMPTOMS:

The concept of adding additional hard drive on a Solaris 2.4 for x86
system is the same as SPARC, except you must 'fdisk' parition the drive
first before running 'partition' from the 'format' utility. 
 

DESCRIPTION:

Steps:

1. Connect the hardware.

Add additional hard drive to the system, and make sure it is connected
and configured properly - SCSI ID, Termination, Master/Slave IDE Drives
Jumpering, etc. 

2. Reconfigure the driver.

Reboot the system with 'b -r' option.

Or, you can run:

 # drvconfig 
 # disks

at a later time.

3. Run 'format' utility

# format 

4. Options are:

 0. auto configure
 1. default  -> Same as the SPARC format except the 'fdisk' addition.
 2. other    -> It prompts for "enter number of data cylinders:", etc. 
 Choose 1.

5. The default displays the familiar format utility.  It has an 
   additional option called 'fdisk' only on Solaris 2.4 for x86.

6. Choose fdisk and run fdisk.

 e.g. 

 Total disk size is 1467 cylinders
 Cylinder size is 1635 (512 byte) blocks Cylinders

   Partition   Status    Type      Start   End   Length    %
   =========   ======    ========  =====   ===   ======   ===
       1                 DOS12        1     146     146    10      
       2       Active    SOLARIS    147    1466    1320    90

SELECT ONE OF THE FOLLOWING: 

  1.   Create a partition
  2.   Change Active (Boot from) partition
  3.   Delete a partition
  4.   Exit (Update disk configuration and exit)
  5.   Cancel (Exit without updating disk configuration)

Enter Selection: 


7. Choose partition. 

Note that the cylinder information referenced here is the translated one
for the Solaris partition.  For instance, the above fdisk screen shows
Solaris partition starts 147 and ends 1466 on this physical hard drive
containing 1467 cylinders.  Partition display will show only the solaris
partition of 1320 cylinders starting from 0 to 1319. 
 
8. Choose a partition number (slicing 0 - 8) to create a file system. 

   e.g.

 Choose 0.
 It asks for the partition id tag(usr), flag(rw), the beginning 
 cylinder(), and the size of the partition (slice).

9. labelit and quit out of the format utility.

10. # newfs /dev/rdsk/c0t1d0s0 or so on.

11. # mount /dev/dsk/c0t0d0s0 /mnt.
 

DATE APPROVED: 03/26/95