~ubuntu-branches/ubuntu/vivid/installation-guide/vivid-proposed

« back to all changes in this revision

Viewing changes to it/preparing/bios-setup/sparc.xml

  • Committer: Bazaar Package Importer
  • Author(s): Frans Pop
  • Date: 2005-10-25 17:37:25 UTC
  • Revision ID: james.westby@ubuntu.com-20051025173725-aq0bm11be7bfd7rw
Tags: 20051025
* Mention in copyright that full GPL is included in the manual.
  Closes: #334925
* Register installed documents with doc-base.
* Minor updates in English text and translations.

Show diffs side-by-side

added added

removed removed

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