| 1 |
toff |
5236 |
<!-- retain these comments for translator revision tracking -->
|
| 2 |
joeyh |
6176 |
<!-- $Id: parameters.xml,v 1.5 2003/11/17 19:04:39 joeyh Exp $ -->
|
| 3 |
toff |
5236 |
|
| 4 |
|
|
<sect1 id="boot-parms"><title>Boot Parameters</title>
|
| 5 |
|
|
<para>
|
| 6 |
|
|
|
| 7 |
|
|
Boot parameters are Linux kernel parameters which are generally used
|
| 8 |
|
|
to make sure that peripherals are dealt with properly. For the most
|
| 9 |
|
|
part, the kernel can auto-detect information about your peripherals.
|
| 10 |
|
|
However, in some cases you'll have to help the kernel a bit.
|
| 11 |
|
|
|
| 12 |
|
|
</para><para>
|
| 13 |
|
|
|
| 14 |
|
|
If this is the first time you're booting the system, try the default
|
| 15 |
|
|
boot parameters (i.e., don't try setting arguments) and see if it works
|
| 16 |
|
|
correctly. It probably will. If not, you can reboot later and look for
|
| 17 |
|
|
any special parameters that inform the system about your hardware.
|
| 18 |
|
|
|
| 19 |
|
|
</para><para>
|
| 20 |
|
|
|
| 21 |
toff |
5907 |
Information on many boot parameters can be found in the
|
| 22 |
|
|
<ulink url="http://www.tldp.org/HOWTO/BootPrompt-HOWTO.html"> Linux
|
| 23 |
toff |
5236 |
BootPrompt HOWTO</ulink>, including tips for obscure hardware. This
|
| 24 |
|
|
section contains only a sketch of the most salient parameters. Some
|
| 25 |
|
|
common gotchas are included below in
|
| 26 |
toff |
5338 |
<xref linkend="boot-troubleshooting"/>.
|
| 27 |
toff |
5236 |
|
| 28 |
|
|
</para><para>
|
| 29 |
|
|
|
| 30 |
|
|
When the kernel boots, a message
|
| 31 |
|
|
|
| 32 |
|
|
<informalexample><screen>
|
| 33 |
|
|
|
| 34 |
|
|
Memory:<replaceable>avail</replaceable>k/<replaceable>total</replaceable>k available
|
| 35 |
|
|
|
| 36 |
|
|
</screen></informalexample>
|
| 37 |
|
|
|
| 38 |
|
|
should be emitted early in the process.
|
| 39 |
|
|
<replaceable>total</replaceable> should match the total amount of RAM,
|
| 40 |
|
|
in kilobytes. If this doesn't match the actual amount of RAM you have
|
| 41 |
|
|
installed, you need to use the
|
| 42 |
|
|
<userinput>mem=<replaceable>ram</replaceable></userinput> parameter,
|
| 43 |
|
|
where <replaceable>ram</replaceable> is set to the amount of memory,
|
| 44 |
|
|
suffixed with ``k'' for kilobytes, or ``m'' for megabytes. For
|
| 45 |
|
|
example, both <userinput>mem=65536k</userinput> and
|
| 46 |
|
|
<userinput>mem=64m</userinput> mean 64MB of RAM.
|
| 47 |
|
|
|
| 48 |
|
|
</para><para>
|
| 49 |
|
|
|
| 50 |
|
|
If your monitor is only capable of black-and-white, use the
|
| 51 |
|
|
<userinput>mono</userinput> boot argument. Otherwise, your
|
| 52 |
|
|
installation will use color, which is the default.
|
| 53 |
|
|
|
| 54 |
|
|
</para><para condition="supports-serial-console">
|
| 55 |
|
|
|
| 56 |
|
|
If you are booting with a serial console, generally the kernel will
|
| 57 |
|
|
autodetect this
|
| 58 |
|
|
<phrase arch="mipsel">(although not on DECstations)</phrase>
|
| 59 |
|
|
If you have a videocard (framebuffer) and a keyboard also attached to
|
| 60 |
|
|
the computer which you wish to boot via serial console, you may have
|
| 61 |
|
|
to pass the
|
| 62 |
|
|
<userinput>console=<replaceable>device</replaceable></userinput>
|
| 63 |
|
|
argument to the kernel, where <replaceable>device</replaceable> is
|
| 64 |
mck |
5692 |
your serial device, which is usually something like
|
| 65 |
|
|
<filename>ttyS0</filename>.
|
| 66 |
toff |
5236 |
|
| 67 |
toff |
5338 |
</para><para arch="sparc">
|
| 68 |
toff |
5236 |
|
| 69 |
mck |
5692 |
For &arch-title; the serial devices are <filename>ttya<filename> or
|
| 70 |
|
|
<filename>ttyb</filename>.
|
| 71 |
|
|
Alternatively, set the <envar>input-device</envar> and
|
| 72 |
|
|
<envar>output-device</envar> OpenPROM variables to
|
| 73 |
|
|
<filename>ttya</filename>.
|
| 74 |
toff |
5236 |
|
| 75 |
|
|
</para>
|
| 76 |
|
|
|
| 77 |
|
|
|
| 78 |
|
|
<sect2 id="installer-args"><title>Debian Installer Arguments</title>
|
| 79 |
|
|
<para>
|
| 80 |
|
|
|
| 81 |
|
|
The installation system recognizes a few boot arguments which may be
|
| 82 |
|
|
useful.
|
| 83 |
|
|
|
| 84 |
|
|
</para>
|
| 85 |
|
|
|
| 86 |
|
|
<variablelist>
|
| 87 |
|
|
<varlistentry>
|
| 88 |
toff |
5907 |
<term>DEBCONF_PRIORITY</term>
|
| 89 |
toff |
5236 |
<listitem><para>
|
| 90 |
|
|
|
| 91 |
toff |
5907 |
These parameter settings will similarly set the highest priority of
|
| 92 |
|
|
messages to be displayed.
|
| 93 |
toff |
5236 |
|
| 94 |
toff |
5907 |
</para><para>
|
| 95 |
|
|
|
| 96 |
|
|
With DEBCONF_PRIORITY=critical, the installation system will display
|
| 97 |
|
|
only critical messages and try to do the right thing without fuss. If
|
| 98 |
|
|
problems are encountered, the installer adjusts the priority as
|
| 99 |
|
|
needed.
|
| 100 |
|
|
|
| 101 |
|
|
</para><para>
|
| 102 |
|
|
|
| 103 |
|
|
If DEBCONF_PRIORITY=high (the default setting), both high and critical
|
| 104 |
|
|
priority messages are shown, but medium and low priority messages are
|
| 105 |
|
|
skipped. When DEBCONF_PRIORITY=low is used, all messages are shown.
|
| 106 |
|
|
|
| 107 |
toff |
5236 |
</para></listitem>
|
| 108 |
|
|
</varlistentry>
|
| 109 |
|
|
|
| 110 |
toff |
5907 |
|
| 111 |
|
|
<variablelist>
|
| 112 |
toff |
5236 |
<varlistentry>
|
| 113 |
toff |
5907 |
<term>DEBCONF_FRONTEND</term>
|
| 114 |
|
|
<listitem><para>
|
| 115 |
toff |
5236 |
|
| 116 |
toff |
5907 |
This boot parameter controls the type of user interface used for the
|
| 117 |
|
|
installer. The current possible parameter settings are:
|
| 118 |
|
|
|
| 119 |
|
|
<itemizedlist>
|
| 120 |
|
|
<item>DEBCONF_FRONTEND=noninteractive</item>
|
| 121 |
|
|
<item>DEBCONF_FRONTEND=text</item>
|
| 122 |
|
|
<item>DEBCONF_FRONTEND=newt</item>
|
| 123 |
|
|
<item>DEBCONF_FRONTEND=slang</item>
|
| 124 |
|
|
<item>DEBCONF_FRONTEND=ncurses</item>
|
| 125 |
|
|
<item>DEBCONF_FRONTEND=bogl</item>
|
| 126 |
|
|
<item>DEBCONF_FRONTEND=gtk</item>
|
| 127 |
|
|
<item>DEBCONF_FRONTEND=corba</item>
|
| 128 |
|
|
</itemizedlist>
|
| 129 |
|
|
|
| 130 |
|
|
The default front end is DEBCONF_FRONTEND=newt. DEBCONF_FRONTEND=text
|
| 131 |
|
|
may be preferable for serial console installs.
|
| 132 |
|
|
|
| 133 |
|
|
</para></listitem>
|
| 134 |
|
|
</varlistentry>
|
| 135 |
|
|
</variablelist>
|
| 136 |
|
|
|
| 137 |
|
|
|
| 138 |
|
|
<variablelist>
|
| 139 |
|
|
<varlistentry>
|
| 140 |
|
|
<term>BOOT_DEBUG</term>
|
| 141 |
toff |
5236 |
<listitem><para>
|
| 142 |
|
|
|
| 143 |
toff |
5907 |
Passing this boot parameter will cause the boot to be more verbosely
|
| 144 |
|
|
logged.
|
| 145 |
toff |
5236 |
|
| 146 |
toff |
5907 |
<variablelist>
|
| 147 |
|
|
<varlistentry>
|
| 148 |
|
|
<term>BOOT_DEBUG=0</term>
|
| 149 |
|
|
<listitem><para>This is the default.</para></listitem>
|
| 150 |
|
|
</varlistentry>
|
| 151 |
|
|
|
| 152 |
|
|
<varlistentry>
|
| 153 |
|
|
<term>BOOT_DEBUG=1</term>
|
| 154 |
|
|
<listitem><para>More verbose than usual.</para></listitem>
|
| 155 |
|
|
</varlistentry>
|
| 156 |
|
|
|
| 157 |
|
|
<varlistentry>
|
| 158 |
|
|
<term>BOOT_DEBUG=2</term>
|
| 159 |
|
|
<listitem><para>Lots of debugging information.</para></listitem>
|
| 160 |
|
|
</varlistentry>
|
| 161 |
|
|
|
| 162 |
|
|
<varlistentry>
|
| 163 |
|
|
<term>BOOT_DEBUG=3</term>
|
| 164 |
|
|
<listitem><para>
|
| 165 |
|
|
|
| 166 |
|
|
Shells are run at various points in the boot process to allow detailed
|
| 167 |
|
|
debugging. Exit the shell to continue the boot.
|
| 168 |
|
|
|
| 169 |
toff |
5236 |
</para></listitem>
|
| 170 |
|
|
</varlistentry>
|
| 171 |
toff |
5907 |
</variablelist>
|
| 172 |
toff |
5236 |
|
| 173 |
toff |
5907 |
</para></listitem>
|
| 174 |
|
|
</varlistentry>
|
| 175 |
|
|
|
| 176 |
|
|
|
| 177 |
toff |
5236 |
<varlistentry>
|
| 178 |
toff |
5907 |
<term>INSTALL_MEDIA_DEV</term>
|
| 179 |
toff |
5236 |
<listitem><para>
|
| 180 |
|
|
|
| 181 |
toff |
5907 |
The value of the parameter is the path to the device to load the
|
| 182 |
|
|
Debian installer from. For example,
|
| 183 |
|
|
<userinput>INSTALL_MEDIA_DEV=/dev/floppy/0</userinput>
|
| 184 |
toff |
5236 |
|
| 185 |
toff |
5907 |
</para><para>
|
| 186 |
|
|
|
| 187 |
|
|
The boot floppy, which normally scans all floppys and USB storage
|
| 188 |
|
|
devices it can to find the root floppy, can be overridden by this
|
| 189 |
joeyh |
6176 |
parameter to only look at the one device.
|
| 190 |
toff |
5907 |
|
| 191 |
toff |
5236 |
</para></listitem>
|
| 192 |
|
|
</varlistentry>
|
| 193 |
|
|
|
| 194 |
|
|
<varlistentry>
|
| 195 |
|
|
<term>nofb</term>
|
| 196 |
|
|
<listitem><para>
|
| 197 |
|
|
|
| 198 |
|
|
Some architectures use the kernel framebuffer to offer installation in
|
| 199 |
|
|
a number of languages. If framebuffer causes a problem on your system
|
| 200 |
|
|
you can use this option to disable the feature. Problem symptoms are
|
| 201 |
|
|
error messages about bterm or bogl, a blank screen, or a freeze within
|
| 202 |
|
|
a few minutes after starting the install.
|
| 203 |
|
|
|
| 204 |
|
|
</para><para arch="i386">
|
| 205 |
|
|
|
| 206 |
toff |
5338 |
The <userinput>video=vga16:off</userinput> argument may also be used
|
| 207 |
toff |
5907 |
to disable the framebuffer. Such problems have been reported on a Dell
|
| 208 |
|
|
Inspiron with Mobile Radeon card.
|
| 209 |
toff |
5236 |
|
| 210 |
|
|
</para><para arch="m68k">
|
| 211 |
|
|
|
| 212 |
|
|
Such problems have been reported on the Amiga 1200 and SE/30.
|
| 213 |
|
|
|
| 214 |
|
|
</para><para arch="hppa">
|
| 215 |
|
|
|
| 216 |
|
|
Such problems have been reported on hppa.
|
| 217 |
|
|
|
| 218 |
|
|
</para></listitem>
|
| 219 |
|
|
</varlistentry>
|
| 220 |
|
|
|
| 221 |
|
|
</variablelist>
|
| 222 |
|
|
</sect2>
|
| 223 |
|
|
</sect1>
|
| 224 |
|
|
|