On 2012-11-20, Jim Wilkins <
murat...@gmail.com> wrote:
>
> "DoN. Nichols" <
BPdnic...@d-and-d.com> wrote in message
> news:slrnkanis7.fe...@Katana.d-and-d.com...
>> On 2012-11-20, Jim Wilkins <
murat...@gmail.com> wrote:
>>> Sure. Go into Setup to see all the things the BIOS detects and
>>> saves.
>>>
http://www.tomshardware.com/reviews/bios-beginners,1126.html
>>
>> Does not apply to my Sun workstations. Instead, the "eeprom"
>> command (from a booted system) or the "printenv" command (from the
>> boot
>> ROM) will list what I have in the equivalent:
>>
>> ======================================================================
[ ... ]
>> boot-device=disk
[ ... ]
>> nvramrc=devalias cdrom1 /pc1@8,700000/scsi@2,1/disk@6,0:f
[ ... ]
>> ======================================================================
[ ... ]
> I don't see /dev/hda0 or /sda0 enumerated on that list.
No. you wouldn't. The first looks like a linux device name, and
the second is sort of close to the name for the old BSD based Suns.
/dev/sd0a would be it there.
The names under solaris are like this:
/dev/dsk/c1t0d0s1, which expand to something similar to the
cdrom1 one inside the OS. The format of that is as follows:
c1 Controller -- this system (a Sun Blade 2000) has built-in
SCSI for the CDROM and an optional tape drive
and an external SCSI. The controller names are
allocated in order in which they are first used,
and since you normally boot from the cdrom, its
SCSI controller becomes c0, and c1 is the Fibre
Channel which handles the internal two disks and
up to about 252 external ones on a loop.
t1 -- The SCSI ID on the bus of the device, ranges
from 0 to 7 on old narrow SCSI, and 0-15 on the
wide SCSI used these days (and up to 254 for the
Fibre Channel drives, with t1 and t2 being the
internal ones in a Sun Blade 2000, and t0 and t1
being the internal ones in a Sun Fire 280r,
which uses the same system board (motherboard in
PC terms).
d0 -- Device number -- old SCSI systems used MFM or
esdi disks on an adaptor which made them look
like SCSI, and you could have up to eight disks
on a single SCSI ID, depending on the adaptor.
Pretty much always d0 these days.
s1 -- "slice" (partition), what would be the 'a'
through 'h' on old systems like SunOs 4.1.4, and
through 'o' on OpenBSD, and likely NetBSD as
well, though I don't have experience with that.
But the boot devices are listed in the devalias, which is only
accessible from the boot ROM. The second remaining quoted entry is what
allocates a second CD-ROM to the list, so you can type "boot cdrom1" to
boot from it.
The "boot-device" entry from the eeprom listing (first quoted
entry) is the default device -- which can be a list of drives, and
actually on this system, there is a mirrored pair of disks using zfs so
it can boot from either -- even if the other is dead. Instead of using
the "disk" alias you can type in a long string to force a disk of your
own choice -- whether it is in the system box or external on SCSI, FC,
or USB.
If you don't have a devalias, you can type that long complicated
string:
boot /pc1@8,700000/scsi@2,1/disk@6,0:f
but the chances of an error are high, so it is better to use a devalias,
and to have the eeprom install it on power-up.