Hi
Thanks to the many responses, I asked:
> We've (!) got this aging 4/330, which as you should know is from
> before the days of OpenBoot. There are to identical drives inside
> however the one that was the boot drive has finally been retired, or
> rather I've installed the system onto the working drive.
>
> Now I've got the manual for the Boot PROM but to save a lot of agro
> (ie I really am not sure I understand it) does anyone _know_ the
> exact sequence to change the default boot-device to a different
> SCSI disk??
I've attached a few submitted methods for skinning said cat. Thanks to:
Kevin Martinez <lps@rahul.net>
jgotobed@LPL.Arizona.EDU (Joe Gotobed)
Patrick Nolan <pln@egret1.Stanford.EDU>
parks@xdiv.LANL.GOV (Parks Fields)
anderson@neon.mitre.org (Mark S. Anderson)
springer@aitsun500.tcinc.com (Jerry Springer)
Torsten Metzner <tom@math.uni-paderborn.de>
Michael Wright ED23 <michael@morticia.msfc.nasa.gov>
Kevin Martinez <lps@rahul.net> was first to reply with this:
>Become root through su or by logging in as root.
>The eeprom command will show you the current contents of the EEPROM.
>The eeprom bootdev command will show you ther current boot device.
>
>Example:
>bash# eeprom bootdev
>bootdev=sd(0,10,0)
>bash#
>
>The eeprom bootdev= command with an argument will change the boot device.
>remember to escape the ( and ) characters.
>
>Example:
>bash# eeprom bootdev=sd\(0,0,0\)
>bash# eeprom bootdev
>bootdev=sd(0,0,0)
>bash#
>
>This operation should be successful unless you have a bad NVRAM. My
>4/330s have recently all needed replacement of this device. It is easy to
>do and relatively inexpensive - $16 each.
I used the following table from Torsten Metzner <tom@math.uni-paderborn.de>
to get the device number.
>eeprom bootdev=sd\(0,NR,0)
>
>Value for NR:
>
> NR SCSI-ID
>
> 0 0
> 1 1
> 8 2
> 9 3
> 10 4 Because NR is in Hex
> 18 6 Because NR is in Hex
>
Alternatively, you can actually do this at the EPROM level as suggested by
springer@aitsun500.tcinc.com (Jerry Springer):
>
>The first thing you should do is sit down with an ascii chart
>and figure out the hex equivalents of the device name you want to use.
>For instance if you want to boot from device sd(0,0,0) then five values
>you need are 73 (s) 64 (d) 0 (0) 0 (0) 0 (0) (of course single digit numbers are
>easy.
>Then you need to put these in prom locations 19-1d (hex)
>This is accomplish by typing the command q followed by the hex address at the
>prom prompt.
>You would type q 19 and hit enter.
>It will display the current contents and allow you to modify it. Put in your
>new value and hit return. The next address should appear. Continue making
>changes untill all five values are entered.
>At this point you should be display the contents of hex location 1f (1d being
>the last value associated with the boot device. To exit prom edit mode you
>can either type a space followed by a carriage return or a . followed by a
>carriage return.
>
>It sounds worse than it is.
and also by parks@xdiv.LANL.GOV (Parks Fields)
>You want to go the the eeprom and set the boot device q18 must be a 12.
>q 19 = the first letter of the device
>q 1A = the second letter of the device
>q 1B = the controler
>q 1C = the device
>q 1D = the partition
>
>its acsii code
>s=73
>d=64
>x=78
>y=79
>
>expample you want to boot from sd1
>b sd(0,1,0)
>
>
> the > prompt type the following a space bar or l1-a will end the sequence.
>
>q 18 12
>73
>64
>0
>1
>0
>
------------------------------------------------------------------
Colin Johnson Direct +44 1483 204164
System Manager Operator +44 1483 274111
Climate Physics Fax +44 1483 278312
Mullard Space Science Laboratory
University College London http://msslsp.mssl.ucl.ac.uk
United Kingdom cj@mssl.ucl.ac.uk
-------------------------------------------------
The only reason God built the world in seven days
is that he didn't have legacy systems
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:51 CDT