/[d-i]/trunk/manual/ca/boot-installer/x86.xml
ViewVC logotype

Contents of /trunk/manual/ca/boot-installer/x86.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12087 - (show annotations) (download) (as text)
Mon Mar 29 16:20:16 2004 UTC (9 years, 1 month ago) by mck-guest
Original Path: trunk/installer/doc/manual/en/boot-installer/i386.xml
File MIME type: text/xml
File size: 17717 byte(s)
Move old, b-f files out of the way
1 <!-- retain these comments for translator revision tracking -->
2 <!-- $Id$ -->
3
4 <sect2 arch="i386"><title>Booting from a CD-ROM</title>
5
6 &boot-installer-intro-cd.xml;
7
8 <para>
9
10 You may need to configure your hardware as indicated in
11 <xref linkend="boot-dev-select"/>. Then put the CD-ROM into the drive,
12 and reboot. The system should boot up, and you should be presented
13 with the <prompt>boot:</prompt> prompt. Here you can enter your
14 boot arguments, or just hit &enterkey;.
15
16 </para><para>
17
18 <!-- We'll comment the following section until we know exact layout -->
19 <!--
20 CD #1 of official Debian CD-ROM sets for &arch-title; will present a
21 <prompt>boot:</prompt> prompt on most hardware. Press
22 <keycap>F3</keycap> to see the list of kernel options available
23 from which to boot. Just type your chosen flavor name (idepci,
24 vanilla, compact, bf24) at the <prompt>boot:</prompt> prompt
25 followed by &enterkey;.
26
27 </para><para>
28
29 If your hardware doesn't support booting of multiple images, put one
30 of the other CDs in the drive. It appears that most SCSI CD-ROM drives
31 do not support <command>isolinux</command> multiple image booting, so users
32 with SCSI CD-ROMs should try either CD2 (vanilla) or CD3 (compact),
33 or CD5 (bf2.4).
34
35 </para><para>
36
37 CD's 2 through 5 will each boot a
38 different ``flavor'' depending on which CD-ROM is
39 inserted. See <xref linkend="kernel-choice"/> for a discussion of the
40 different flavors. Here's how the flavors are laid out on the
41 different CD-ROMs:
42
43 <variablelist>
44 <varlistentry>
45 <term>CD 1</term><listitem><para>
46
47 Allows a selection of kernel images to boot from (the idepci flavor is
48 the default if no selection is made).
49
50 </para></listitem></varlistentry>
51 <varlistentry>
52 <term>CD 2</term><listitem><para>
53
54 Boots the `vanilla' flavor.
55
56 </para></listitem></varlistentry>
57 <varlistentry>
58 <term>CD 3</term><listitem><para>
59
60 Boots the `compact' flavor.
61
62 </para></listitem></varlistentry>
63 <varlistentry>
64 <term>CD 4</term><listitem><para>
65
66 Boots the `idepci' flavor.
67
68 </para></listitem></varlistentry>
69 <varlistentry>
70 <term>CD 5</term><listitem><para>
71
72 Boots the `bf2.4' flavor.
73
74 </para></listitem></varlistentry>
75
76 </variablelist>
77
78 </para><para>
79
80 -->
81
82 If your system can't boot directly from CD-ROM, or you simply can't
83 seem to get it to work, don't despair; you can simply run
84 <command>E:\install\boot.bat</command> under DOS (replace
85 <userinput>E:</userinput> with whatever drive letter DOS assigns to
86 your CD-ROM drive) to start the installation process. Then, skip down
87 to <xref linkend="init-config"/>.
88
89 </para><para>
90
91 Also, if you're going to be installing from a FAT (DOS) partition, you
92 have the option of booting the installer from the hard disk. See
93 <xref linkend="install-from-dos"/> for more information on
94 installing via this method.
95
96 </para>
97 </sect2>
98
99
100
101 <sect2 arch="i386" id="install-from-dos">
102 <title>Booting from a DOS partition</title>
103
104 &boot-installer-intro-hd.xml;
105
106 <para>
107
108 Boot into DOS (not Windows) without any drivers being loaded. To do
109 this, you have to press <keycap>F8</keycap> at exactly the right
110 moment (and optionally select the `safe mode command prompt only'
111 option). Enter the subdirectory for the flavor you chose, e.g.,
112
113 <informalexample><screen>
114
115 cd c:\current\compact
116
117 </screen></informalexample>.
118
119 Next, execute <command>install.bat</command>.
120 The kernel will load and launch the installer system.
121
122 </para><para>
123
124 Please note, there is currently a loadlin problem (#142421) which
125 precludes <filename>install.bat</filename> from being used with the
126 bf2.4 flavor. The symptom of the problem is an
127 <computeroutput>invalid compressed format</computeroutput> error.
128
129 </para>
130 </sect2>
131
132
133 <sect2 arch="i386" id="boot-initrd">
134 <title>Booting from linux using <command>LILO</command> or
135 <command>GRUB</command></title>
136 <para>
137
138 One <emphasis>initrd=</emphasis> line in
139 <filename>/etc/lilo.conf</filename> is enough to configure two
140 essentials things:
141 <itemizedlist>
142 <listitem><para>
143
144 tell <command>LILO</command> to load the <filename>initrd.gz</filename>
145 installer as a RAM disk at boot time;
146
147 </para></listitem>
148 <listitem><para>
149
150 tell the <filename>vmlinuz</filename> kernel to use this RAM disk as
151 its root partition.
152
153 </para></listitem>
154 </itemizedlist>
155
156 Here is a <filename>/etc/lilo.conf</filename> example:
157
158 </para><para>
159
160 <informalexample><screen>
161
162 image=/boot/newinstall/vmlinuz
163 label=newinstall
164 initrd=/boot/newinstall/initrd.gz
165 append="devfs=mount,dall"
166
167 </screen></informalexample>
168
169 <emphasis>root=/dev/hdXYZ</emphasis> options in
170 <filename>lilo.conf</filename> will be ignored in this case.
171 For more details, refer to the
172 <citerefentry><refentrytitle>initrd</refentrytitle>
173 <manvolnum>4</manvolnum></citerefentry> and
174 <citerefentry><refentrytitle>lilo.conf</refentrytitle>
175 <manvolnum>5</manvolnum></citerefentry> man pages. Now run
176 <userinput>lilo</userinput> and reboot.
177
178 </para><para>
179
180 Procedure for <command>GRUB</command> is quite similar. Locate your
181 <filename>menu.lst</filename> in the <filename>/boot/grub/</filename>
182 directory (sometimes in the <filename>/boot/boot/grub/</filename>),
183 add the following lines:
184
185 <informalexample><screen>
186
187 title New Install
188 kernel (hd0,0)/boot/newinstall/vmlinuz root=/dev/ram ramdisk_size=8192 devfs=mount,dall
189 initrd (hd0,0)/boot/newinstall/initrd.gz
190
191 </screen></informalexample>
192
193 and reboot. From now on, there should be no difference between
194 <command>GRUB</command> or <command>LILO</command>.
195
196 </para><para>
197
198 You can trace the <filename>initrd</filename> magic at work several
199 times during the boot.
200
201 <itemizedlist>
202 <listitem><para>
203
204 before the kernel has even been loaded, <command>LILO</command>
205 displays a much longer <computeroutput>Loading
206 <replaceable>imagelabel</replaceable>......</computeroutput> line with
207 more dots than usual, showing the progression of the RAM disk image
208 loading.
209
210 </para></listitem>
211 <listitem><para>
212
213 You should see the <computeroutput>RAM disk driver
214 initialized</computeroutput>
215 notice, near the real time clock initialization, proving that your
216 kernel supports the RAM disk feature.
217
218 </para></listitem>
219 <listitem><para>
220
221 Finally, if you don't see <computeroutput>RAMDISK: ext2 filesystem
222 found at block 0</computeroutput> immediately after the partition
223 checks, it's probably because
224 your kernel miss the <filename>initrd</filename> feature.
225
226 </para></listitem>
227 </itemizedlist>
228
229 </para><para condition="FIXME">
230
231 You should now see the debian installer running. If you do not use any
232 removable medium, you want to check very early that your network
233 connection is working and <emphasis>before</emphasis> irreversibly
234 partitioning your hard disk. So you maybe need to
235 <userinput>insmod</userinput> some additional kernel modules for this,
236 for instance for your network interface. It's time
237 <emphasis>not</emphasis> to follow the order of steps suggested by
238 <command>debian-installer</command>. Leap directly to <userinput>Mount a
239 Previously-Initialized Partition</userinput>, and mount the partition
240 where you stored the modules that you extracted from
241 <filename>drivers.tgz</filename> (<xref linkend="files-lilo"></xref>).
242
243 </para>
244
245 <!-- Ideally, configure Device Driver Modules should support the
246 following (insmod-ing from the hard-disk) and not only from a floppy.
247 That would avoid the need to open a shell -->
248
249 <para>
250
251 Then switch to an other virtual terminal and use a shell (see
252 <xref linkend="shell"/>) to find drivers
253 in the just mounted <filename>/target</filename>
254 directory. <userinput>insmod</userinput> the ones you need.
255
256 </para><para>
257
258 Go to <xref linkend="netcfg"/> in the
259 <command>debian-installer</command> installer menus, and
260 <userinput>ping</userinput> your favorite debian mirror at last.
261 Congratulations!
262
263 </para><para>
264
265 Use <userinput>Unmount a Partition</userinput> if you have mounted one
266 in the previous
267 paragraph, safely go back to the partitioning steps at the start of
268 <command>debian-installer</command> and follow the regular procedure,
269 with the network as a bonus. At this stage, it is even possible
270 (only a bit risky) to completely wipe out all the previous partitions
271 on your hard drive for a very clean installation. The only risk is that
272 your hard drive will be un-bootable for a short period of time.
273
274 </para>
275 </sect2>
276
277 <sect2 arch="i386" id="usb-boot">
278 <title>Booting from USB memory stick</title>
279 <para>
280
281 Lets assume you have prepared everything from <xref
282 linkend="boot-dev-select"/> and <xref linkend="boot-usb-files"/>. Now
283 just plug your USB stick into some free USB connector and reboot the
284 computer. The system should boot up, and you should be presented with
285 the <prompt>boot:</prompt> prompt. Here you can enter optional boot
286 arguments, or just hit &enterkey;.
287
288 </para><para>
289
290 In case your computer doesn't support booting from USB memory devices,
291 you can still use a single floppy to do the initial boot and then
292 switch to USB. Advance according to <xref linkend="floppy-boot"/>; the
293 kernel on boot floppy should detect your USB stick automatically. When
294 it asks for the root floppy, simply press &enterkey;. You should see
295 &d-i; starting.
296
297 </para>
298 </sect2>
299
300 <sect2 arch="i386" id="floppy-boot">
301 <title>Booting from Floppies</title>
302 <para>
303
304 You will have already downloaded the floppy images you needed and
305 created floppies from the images in <xref linkend="create-floppy"/>.
306 If you need to, you can also modify the boot floppy; see
307 <xref linkend="rescue-replace-kernel"/>.
308
309 </para><para>
310
311 To boot from the installer boot floppy, place it in the primary floppy
312 drive, shut down the system as you normally would, then turn it back
313 on.
314
315 </para><para>
316
317 For installing from a LS-120 drive (ATAPI version) with a set of
318 floppies, you need to specify the virtual location for the floppy
319 device. This is done with the <emphasis>root=</emphasis> boot
320 argument, giving the device that the ide-floppy driver maps the device
321 to. For example, if your is connected as first IDE device on second
322 cable, you enter <userinput>linux.bin root=/dev/hdc</userinput> on the
323 boot prompt. Installation from LS120 is only supported by 2.4 and
324 later kernels.
325
326 </para><para>
327
328 Note that on some machines, <keycombo><keycap>Control</keycap>
329 <keycap>Alt</keycap> <keycap>Delete</keycap></keycombo> does not
330 properly reset the machine, so a ``hard'' reboot is recommended. If
331 you are installing from an existing operating system (e.g., from a DOS
332 box) you don't have a choice. Otherwise, please do a hard reboot when
333 booting.
334
335 </para><para>
336
337 The floppy disk will be accessed, and you should then see a screen
338 that introduces the boot floppy and ends with the <prompt>boot:</prompt>
339 prompt.
340
341 </para><para>
342
343 You can do two things at the <prompt>boot:</prompt> prompt. You can
344 press the function keys <keycap>F1</keycap> through
345 <keycap>F10</keycap> to view a few pages of helpful information, or
346 you can boot the system.
347
348 </para><para>
349
350 Information on boot parameters which might be useful can be found by
351 pressing <keycap>F4</keycap> and <keycap>F5</keycap>. If you add any
352 parameters to
353 the boot command line, be sure to type the boot method (the default is
354 <userinput>linux</userinput>) and a space before the first parameter (e.g.,
355 <userinput>linux floppy=thinkpad</userinput>). If you simply press &enterkey;,
356 that's the same as typing <userinput>linux</userinput> without any special
357 parameters.
358
359 </para><para>
360
361 Once you press &enterkey;, you should see the message
362 <computeroutput>Loading...</computeroutput>, followed by
363 <computeroutput>Uncompressing Linux...</computeroutput>, and
364 then a screenful or so of information about the hardware in your
365 system. More information on this phase of the boot process can be
366 found below in <xref linkend="kernel-msgs"/>.
367
368 </para><para>
369
370 After booting from the boot floppy, the root floppy is
371 requested. Insert the root floppy and press &enterkey;, and the
372 contents are loaded into memory. The installer program
373 <command>debian-installer</command> is automatically launched.
374
375 </para>
376 </sect2>
377
378 <sect2 arch="i386" id="boot-tftp"><title>Booting with TFTP</title>
379
380 &boot-installer-intro-net.xml;
381
382 <para>
383
384 There are various ways to do a TFTP boot on i386.
385
386 </para>
387
388 <sect3><title>Etherboot</title>
389 <para>
390
391 The <ulink url="http://www.etherboot.org">etherboot project</ulink>
392 provides bootdiskettes and even bootroms that do a TFTPboot.
393
394 </para>
395 </sect3>
396
397 <sect3><title>NIC with network bootROM</title>
398 <para>
399
400 It could be that your Network Interface Card provides
401 TFTP boot functionality.
402
403 </para><para condition="FIXME">
404
405 Let us (<email>&email-debian-boot-list;</email>) know how did you manage it.
406 Please refer to this document.
407
408 </para>
409 </sect3>
410
411 <sect3><title>NIC or Motherboard that support PXE</title>
412 <para>
413
414 It could be that your Network Interface Card or Motherboard provides
415 PXE boot functionality.
416 Which is a <trademark class="trade">Intel</trademark> re-implemention
417 of TFTP boot.
418
419 </para><para condition="FIXME">
420
421 Let us (<email>&email-debian-boot-list;</email>) know how did you manage it.
422 Please refer to this document.
423
424 <!-- from #debian-boot 2004-03-13
425 06:37 -!- SuperQ [ben@trogdor.likes.to.burninate.net] has joined #debian-boot
426 06:38 < SuperQ> anyone done much with d-i on pxe boot?
427 06:39 < SuperQ> I got it all setup, daily build from sjogren's files
428 06:39 < joshk> yes, it works
429 06:39 < SuperQ> "Warning: unable to open an initial console."
430 06:39 < SuperQ> Kernel panic: Attempted to kill init!
431 06:39 < joshk> pass devfs=mount to the kernel
432 06:40 < joshk> in pxelinux.cfg/whatever
433 06:40 < SuperQ> oh.. that's changed since the bug tracking post
434 06:40 < SuperQ> http://lists.debian.org/debian-testing/2003/debian-testing-200311/msg00098.html
435 06:40 < SuperQ> that says to devfs=nomount
436 06:41 < SuperQ> should probably copy the bulk of that message into
437 debian/dists/sarge/main/installer-i386/current/doc/INSTALLATION-HOWTO
438 06:41 < SuperQ> :) )
439 06:41 < joshk> that's from months ago
440 06:41 < joshk> :P
441 06:41 < SuperQ> I know
442 06:42 < SuperQ> but it's still referanced in the howto
443 06:42 < SuperQ> yay! it works now
444 06:42 * SuperQ gives his new ThinkPad X31 some sarge love
445 06:42 < SuperQ> I'll have to write up a page on Sarge/D-I and things for
446 linux-laptops.net
447 06:45 < SuperQ> thanks joshk
448 -->
449 </para>
450 </sect3>
451 </sect2>
452
453 <sect2 arch="i386"><title>i386 Boot Parameters</title>
454 <para>
455
456 If you are booting from the boot floppy or from CD-ROM you will be
457 presented with the boot prompt, <prompt>boot:</prompt>. Details
458 about how to use boot parameters with the boot floppy can be found
459 in <xref linkend="floppy-boot"/>. If you are booting from an
460 existing operating system, you'll have to use other means to set boot
461 parameters. For instance, if you are installing from DOS, you can
462 edit the <filename>install.bat</filename> file with any text editor.
463
464 </para><para>
465
466 Some systems have floppies with ``inverted DCLs''. If you receive
467 errors reading from the floppy, even when you know the floppy is good,
468 try the parameter <userinput>floppy=thinkpad</userinput>.
469
470 </para><para>
471
472 On some systems, such as the IBM PS/1 or ValuePoint (which have ST-506
473 disk drivers), the IDE drive may not be properly recognized. Again,
474 try it first without the parameters and see if the IDE drive is
475 recognized properly. If not, determine your drive geometry
476 (cylinders, heads, and sectors), and use the parameter
477 <userinput>hd=<replaceable>cylinders</replaceable>,<replaceable>heads</replaceable>,<replaceable>sectors</replaceable></userinput>.
478
479 </para><para>
480
481 If you have a very old machine, and the kernel hangs after saying
482 <computeroutput>Checking 'hlt' instruction...</computeroutput>, then
483 you should try the <userinput>no-hlt</userinput> boot argument, which
484 disables this test.
485
486 </para><para>
487
488 If your screen begins to show a weird picture while the kernel boots,
489 eg. pure white, pure black or colored pixel garbage, your system may
490 contain a problematic video card which does not switch to the
491 framebuffer mode properly. Then you can use the boot parameter
492 <userinput>video=vga16:off</userinput> to disable the framebuffer
493 console. The language chooser will not appear; only the english
494 language will be available during the installation due to limited
495 console features. See <xref linkend="boot-parms"/> for details.
496
497 </para>
498 </sect2>
499
500
501 <sect2 arch="i386">
502 <title>System freeze during the PCMCIA configuration phase</title>
503
504 <para>
505
506 Some laptop models produced by DELL are known to crash when PCMCIA device
507 detection tries to access some hardware addresses. If you experience a such problem, try the following workaround:
508 <itemizedlist>
509 <listitem><para>
510
511 prepare the root filesystem and install kernel and modules, but do not
512 start PCMCIA configuration immediately
513
514 </para></listitem>
515 <listitem><para>
516
517 enter the system shell (see <xref linkend="shell"/> for
518 details)
519
520 </para></listitem>
521 <listitem><para>
522
523 execute this command:
524 <userinput>echo exclude port 0x810-0x81f >>
525 /target/etc/pcmcia/config.opts</userinput>
526
527 </para></listitem>
528 <listitem><para>
529
530 now return to the main menu and run the PCMCIA configuration part
531
532 </para></listitem>
533 </itemizedlist>
534
535 </para>
536 </sect2>
537
538 <sect2 arch="i386">
539 <title>System freeze while loading the USB modules</title>
540 <para>
541
542 The kernel normaly tries to install the USB and USB keyboard driver in
543 order to allow the installation for users of some non-standard USB keyboards.
544 However, there are few broken USB systems where the driver hangs on loading. A
545 possible workaround may be disabling of the USB controller in your mainboard
546 BIOS setup. Another way is passing the <userinput>nousb</userinput>
547 argument on the boot prompt, which will prevent the modules from
548 beeing loaded even if USB hardware has been detected.
549
550 </para>
551 </sect2>
552
553
554
555
556

Properties

Name Value
svn:keywords Id

  ViewVC Help
Powered by ViewVC 1.1.5