/[d-i]/trunk/installer/doc/manual/ca/preparing/bios-setup/sparc.xml
ViewVC logotype

Contents of /trunk/installer/doc/manual/ca/preparing/bios-setup/sparc.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3354 - (show annotations) (download) (as text)
Sun Jun 15 17:39:03 2003 UTC (9 years, 11 months ago) by toff
Original Path: trunk/doc/manual/en/preparing/bios-setup/sparc.xml
File MIME type: text/xml
File size: 3686 byte(s)
add proper headers
1 <!-- retain these comments for translator revision tracking -->
2 <!-- $Id: sparc.xml,v 1.5 2003/06/15 17:39:03 toff Exp $ -->
3
4
5 <sect2 id="invoking-openboot"><title>Invoking OpenBoot</title>
6
7 <para>
8
9 OpenBoot provides the basic functions needed to boot the &arch-title;
10 architecture. This is rather similar in function to the BIOS in the
11 x86 architecture, although much nicer. The Sun boot PROMs have a
12 built-in forth interpreter which lets you do quite a number of things
13 with your machine, such as diagnostics, simple scripts, etc.
14
15 </para><para>
16
17 To get to the boot prompt you need to hold down the
18 <emphasis>Stop</emphasis> key (on older type 4 keyboards, use the
19 <emphasis>L1</emphasis> key, if you have a PC keyboard adapter, use
20 the <emphasis>Break</emphasis> key) and press the
21 <emphasis>A</emphasis> key. The boot PROM will give you a prompt,
22 either <userinput>ok</userinput> or <userinput>&gt;</userinput>. It is
23 preferred to have the <userinput>ok</userinput> prompt. So if you get
24 the old style prompt, hit the `n' key to get the new style prompt.
25
26 </para>
27 </sect2>
28
29 <sect2 id="boot-dev-select-sun"><title>Boot Device Selection</title>
30
31 <para>
32
33 You can use OpenBoot to boot from specific devices, and also to change
34 your default boot device. However, you need to know some details
35 about how OpenBoot names devices; it's much different from Linux
36 device naming, described in <xref linkend="device-names"></xref>.
37 Also, the command will vary a bit, depending on what version of
38 OpenBoot you have. More information about OpenBoot can be found in
39 the <ulink url="&url-openboot;">Sun OpenBoot Reference</ulink>.
40
41 </para><para>
42
43 Typically, with newer revisions, you can use OpenBoot device such as
44 ``floppy'', ``cdrom'', ``net'', ``disk'', or ``disk2''. These have
45 the obvious meanings; the ``net'' device is for booting from the
46 network. Additionally, the device name can specify a particular
47 partition of a disk, such as ``disk2:a'' to boot disk2, first
48 partition. Full OpenBoot device names have the form
49
50 <informalexample>
51 <screen>
52 <replaceable>driver-name</replaceable>@
53 <replaceable>unit-address</replaceable>:
54 <replaceable>device-arguments</replaceable>
55 </screen></informalexample>.
56
57 In older revisions of OpenBoot, device naming is a bit different: the
58 floppy device is called ``/fd'', and SCSI disk devices are of the form
59 ``sd(<replaceable>controller</replaceable>,
60 <replaceable>disk-target-id</replaceable>,
61 <replaceable>disk-lun</replaceable>)''. The command
62 <userinput>show-devs</userinput> in newer OpenBoot revisions is useful
63 for viewing the currently configured devices. For full information,
64 whatever your revision, see the
65 <ulink url="&url-openboot;">Sun OpenBoot Reference</ulink>.
66
67 </para><para>
68
69 To boot from a specific device, use the command <userinput>boot
70 <replaceable>device</replaceable></userinput>. You can set this
71 behavior as the default using the <userinput>setenv</userinput>
72 command. However, the name of the variable to set changed between
73 OpenBoot revisions. In OpenBoot 1.x, use the command
74 <userinput>setenv boot-from
75 <replaceable>device</replaceable></userinput>. In later revisions of
76 OpenBoot, use the command <userinput>setenv boot-device
77 <replaceable>device</replaceable></userinput>. Note, this is also
78 configurable using the <command>eeprom</command> command on Solaris,
79 or modifying the appropriate files in
80 <filename>/proc/openprom/options/</filename>, for example under Linux:
81
82 <informalexample><screen>
83
84 echo disk1:1 &gt;/proc/openprom/options/boot-device
85
86 </screen></informalexample>
87
88 and under Solaris:
89
90 <informalexample><screen>
91
92 eeprom boot-device=disk1:1
93
94 </screen></informalexample>
95
96 </para>
97 </sect2>

  ViewVC Help
Powered by ViewVC 1.1.5