~ubuntu-core-dev/debian-installer/xenial-proposed

« back to all changes in this revision

Viewing changes to doc/manual/da/preparing/bios-setup/sparc.xml

  • Committer: Colin Watson
  • Date: 2007-11-28 15:27:10 UTC
  • mfrom: (664.1.1444)
  • Revision ID: cjwatson@canonical.com-20071128152710-u9183jjlufbt4vxy
Tags: 20041027ubuntu1
* Resynchronise with Debian.
* build/boot/powerpc/yaboot.conf, build/config/common,
  doc/manual/build/common.ent: Update for Hoary.
* doc/manual/en/administrivia/contributors.xml: Remove specific mention of
  Warty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!-- retain these comments for translator revision tracking -->
2
 
<!-- original version: 11648 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>
28
 
  </sect2>
29
 
 
30
 
  <sect2 arch="sparc" id="boot-dev-select-sun">
31
 
  <title>Boot Device Selection</title>
32
 
 
33
 
<para>
34
 
 
35
 
You can use OpenBoot to boot from specific devices, and also to change
36
 
your default boot device.  However, you need to know some details
37
 
about how OpenBoot names devices; it's much different from Linux
38
 
device naming, described in <xref linkend="device-names"/>.
39
 
Also, the command will vary a bit, depending on what version of
40
 
OpenBoot you have.  More information about OpenBoot can be found in
41
 
the <ulink url="&url-openboot;">Sun OpenBoot Reference</ulink>.
42
 
 
43
 
</para><para>
44
 
 
45
 
Typically, with newer revisions, you can use OpenBoot device such as
46
 
``floppy'', ``cdrom'', ``net'', ``disk'', or ``disk2''.  These have
47
 
the obvious meanings; the ``net'' device is for booting from the
48
 
network.  Additionally, the device name can specify a particular
49
 
partition of a disk, such as ``disk2:a'' to boot disk2, first
50
 
partition.  Full OpenBoot device names have the form
51
 
 
52
 
<informalexample>
53
 
<screen>
54
 
<replaceable>driver-name</replaceable>@
55
 
<replaceable>unit-address</replaceable>:
56
 
<replaceable>device-arguments</replaceable>
57
 
</screen></informalexample>.
58
 
 
59
 
In older revisions of OpenBoot, device naming is a bit different: the
60
 
floppy device is called ``/fd'', and SCSI disk devices are of the form
61
 
``sd(<replaceable>controller</replaceable>,
62
 
<replaceable>disk-target-id</replaceable>,
63
 
<replaceable>disk-lun</replaceable>)''.  The command
64
 
<userinput>show-devs</userinput> in newer OpenBoot revisions is useful
65
 
for viewing the currently configured devices.  For full information,
66
 
whatever your revision, see the 
67
 
<ulink url="&url-openboot;">Sun OpenBoot Reference</ulink>.
68
 
 
69
 
</para><para>
70
 
 
71
 
To boot from a specific device, use the command <userinput>boot
72
 
<replaceable>device</replaceable></userinput>.  You can set this
73
 
behavior as the default using the <userinput>setenv</userinput>
74
 
command.  However, the name of the variable to set changed between
75
 
OpenBoot revisions.  In OpenBoot 1.x, use the command
76
 
<userinput>setenv boot-from
77
 
<replaceable>device</replaceable></userinput>.  In later revisions of
78
 
OpenBoot, use the command <userinput>setenv boot-device
79
 
<replaceable>device</replaceable></userinput>. Note, this is also
80
 
configurable using the <command>eeprom</command> command on Solaris,
81
 
or modifying the appropriate files in
82
 
<filename>/proc/openprom/options/</filename>, for example under Linux:
83
 
 
84
 
<informalexample><screen>
85
 
 
86
 
echo disk1:1 &gt;/proc/openprom/options/boot-device
87
 
 
88
 
</screen></informalexample> 
89
 
 
90
 
and under Solaris:
91
 
 
92
 
<informalexample><screen>
93
 
 
94
 
eeprom boot-device=disk1:1
95
 
 
96
 
</screen></informalexample> 
97
 
 
98
 
</para>
99
 
  </sect2>