Aqua Phoenix
     >>  References >>  Operating Systems  
 

Navigator
   
 
       
   

1. Sun Solaris

1.1 Booting

1.1.1 Boot Devices

ok boot cdrom
ok boot disk
ok boot net
If the CD-ROM or Disk device is not properly set up (e.g. new drive attached, formatted, etc.), booting from that device may result in an error:

ok boot cdrom
Boot device: /pci@1f,4000/scsi@3/disk@6,0f
Drive not ready
Can't read disk label
Can't open disk label package

Can't open boot device

1.1.1.1 Aliases and physical addresses

Aliases like "cdrom" and "disk" refer to addresses like:

/pci@8,600000/scsi@6/disk@0,0:f If the address of the physical device does not match the address specified in the EEPROM, aliases must be redefined. Find out the address of the physical device, e.g. for SCSI:

ok probe-scsi-all
/pci@8,600000/scsi@6,1

/pci@8,600000/scsi@6
Target 0
Unit 0 Disk SEAGATE ST373307LC
Target 6
Unit 0 Removable Read Only device YAMAHA 4416

scsi6,1 is the external SCSI connector, while scsi6 is the internal SCSI bus.

Target 6 is an internal CD-ROM drive, and Target 0 is an internal hard disk drive. The aliases "cdrom" (or "disk", etc.) can either be redefined, or a new aliases ("cdrom2", "disk10") can be created, for example if an external CD-ROM drive is added to the list of aliases. In the following example, a new external CD-ROM drive (Target 4) is added with alias "cdrom2":

ok show-disks
produces:

a) /pci@8,600000/scsi@6,1/disk
b) /pci@8,600000/scsi@6/disk
q) NO SELECTION
Enter Selection, q to Quit:
Choose "a" for external SCSI bus, which produces:

/pci@8,600000/scsi@6,1/disk has been selected.
Type ^Y ( Control-Y ) to insert it in the command line.
e.g. ok nvalias mydev ^Y
        for creating devalias mydev for
/pci@8,600000/scsi@6,1/disk
Type "nvalias cdrom2", then a Space, then press "Control" and "y" keys simultaneously:

ok nvalias cdrom2 ^y
This produces:

ok nvalias cdrom2 /pci@8,600000/scsi@6,1/disk
At this point, the target of the device on this SCSI bus must be specified. In this example (Target 4):

@4,0:f

Then hit enter:

ok nvalias cdrom2 /pci@8,600000/scsi@6,1/disk@4,0:f
Verification:

ok devalias
produces:

cdrom2 /pci@8,600000/scsi@6,1/disk@4,0:f

cdrom /pci@8,600000/scsi@6/disk@6,0:f

...

Lastly, store the new configuration in the EEPROM:

ok nvstore
Booting can now take place from the new alias:

ok boot cdrom2