V.  Example installations


V.7  Two hard disks, Solaris and Windows

Overview

This scenario is similar to the Variant B in the previous section. It is intended for those who have MS Windows or another operating system setup already, upgraded their system by adding a new hard disk drive and are going to install Solaris on that new disk.

So, there are two hard disk drives in the system. We will refer to them as to HDD-1 and HDD-2. HDD-1 is the current boot drive and it is totally occupied by some operating system. HDD-2 is clean.

Partitioning

Hard disk HDD-1 will not be modified except it MBR. Hard disk HDD-2 will be partitioned as follows:


HDD-2
  1. Primary - Solaris UFS
Solaris
active  
  2. Extended
 
  2.1. FAT-32

Recipe

  1. HDD-2 can be SCSI or IDE. We assume that HDD-1 is hooked to its original controller and no cables were swapped. Some hard disks use different jumper settings for single versus master. That is the only required modification in case of IDE drives connected to the same IDE channel. BIOS is setup to boot HDD-1 and we will not change that.
  2. Create Solaris primary partition on HDD-2. Leave some room for FAT volume used to exchange data between two operating systems, or let Solaris occupy the entire disk if you are going to mount some existing FAT volume on HDD-1.
  3. Install Solaris. After selecting the disk for Solaris software installation, which in our case is HDD-2, you will be given an option to either: let Solaris to configure the boot device, or select it manually. Actually, both methods lead to the same result - the boot path for Solaris is not setup properly. It causes that every time Solaris is booted DCA is launched and manual selection of the Solaris boot disk is necessary. The boot path can be setup through the Boot Tasks in the DCA later, with eeprom command or simply by editing the file:
    /boot/solaris/bootenv.rc
    

    Recommended and the easiest is to use DCA.

  4. Install Ranish PM compact boot manager into the MBR of HDD-1 and HDD-2. This will enable booting from both hard disk drives without the need to change BIOS settings or use a DCA floppy.
  5. Under Solaris, create /share directory, and add the following line:
    /dev/dsk/c0t1d0p2:c	-	/share	pcfs	-	yes	-
    

    to /etc/vfstab file to mount FAT volume at boot up (see notes on mounting FAT partitions).


Remarks: If both HDD-1 and HDD-2 are IDE, then in most cases HDD-1 will be c0d0 while HDD-2 will be c0d1 if it is slave on the same channel as HDD-1, or c1d0 if it is a master on the other IDE channel.