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

« back to all changes in this revision

Viewing changes to fi/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"><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
<keycap>Stop</keycap> key (on older type 4 keyboards, use the
 
19
<keycap>L1</keycap> key, if you have a PC keyboard adapter, use
 
20
the <keycap>Break</keycap> key) and press the
 
21
<keycap>A</keycap> 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 <keycap>n</keycap> key to get the new
 
25
style prompt.
 
26
 
 
27
</para><para>
 
28
 
 
29
If you are using a serial console, send a break to the machine. With Minicom,
 
30
use <keycap>Ctrl-A F</keycap>, with cu, hit <keycap>Enter</keycap>, then type
 
31
<userinput>%~break</userinput>. Consult the documentation of your terminal
 
32
emulator if you are using a different program.
 
33
 
 
34
</para>
 
35
  </sect2>
 
36
 
 
37
  <sect2 arch="sparc" id="boot-dev-select-sun">
 
38
  <title>Boot Device Selection</title>
 
39
 
 
40
<para>
 
41
 
 
42
You can use OpenBoot to boot from specific devices, and also to change
 
43
your default boot device.  However, you need to know some details
 
44
about how OpenBoot names devices; it's much different from Linux
 
45
device naming, described in <xref linkend="device-names"/>.
 
46
Also, the command will vary a bit, depending on what version of
 
47
OpenBoot you have.  More information about OpenBoot can be found in
 
48
the <ulink url="&url-openboot;">Sun OpenBoot Reference</ulink>.
 
49
 
 
50
</para><para>
 
51
 
 
52
Typically, with newer revisions, you can use OpenBoot device such as
 
53
<quote>floppy</quote>, <quote>cdrom</quote>, <quote>net</quote>,
 
54
<quote>disk</quote>, or <quote>disk2</quote>.  These have the obvious
 
55
meanings; the <quote>net</quote> device is for booting from the network.
 
56
Additionally, the device name can specify a particular partition of a disk,
 
57
such as <quote>disk2:a</quote> to boot disk2, first partition.  Full
 
58
OpenBoot device names have the form
 
59
 
 
60
<informalexample>
 
61
<screen>
 
62
<replaceable>driver-name</replaceable>@
 
63
<replaceable>unit-address</replaceable>:
 
64
<replaceable>device-arguments</replaceable>
 
65
</screen></informalexample>.
 
66
 
 
67
In older revisions of OpenBoot, device naming is a bit different: the
 
68
floppy device is called <quote>/fd</quote>, and SCSI disk devices are of
 
69
the form <quote>sd(<replaceable>controller</replaceable>,
 
70
<replaceable>disk-target-id</replaceable>,
 
71
<replaceable>disk-lun</replaceable>)</quote>.  The command
 
72
<userinput>show-devs</userinput> in newer OpenBoot revisions is useful
 
73
for viewing the currently configured devices.  For full information,
 
74
whatever your revision, see the
 
75
<ulink url="&url-openboot;">Sun OpenBoot Reference</ulink>.
 
76
 
 
77
</para><para>
 
78
 
 
79
To boot from a specific device, use the command <userinput>boot
 
80
<replaceable>device</replaceable></userinput>.  You can set this
 
81
behavior as the default using the <userinput>setenv</userinput>
 
82
command.  However, the name of the variable to set changed between
 
83
OpenBoot revisions.  In OpenBoot 1.x, use the command
 
84
<userinput>setenv boot-from
 
85
<replaceable>device</replaceable></userinput>.  In later revisions of
 
86
OpenBoot, use the command <userinput>setenv boot-device
 
87
<replaceable>device</replaceable></userinput>. Note, this is also
 
88
configurable using the <command>eeprom</command> command on Solaris,
 
89
or modifying the appropriate files in
 
90
<filename>/proc/openprom/options/</filename>, for example under Linux:
 
91
 
 
92
<informalexample><screen>
 
93
# echo disk1:1 &gt; /proc/openprom/options/boot-device
 
94
</screen></informalexample>
 
95
 
 
96
and under Solaris:
 
97
 
 
98
<informalexample><screen>
 
99
eeprom boot-device=disk1:1
 
100
</screen></informalexample>
 
101
 
 
102
</para>
 
103
  </sect2>