~ubuntu-branches/ubuntu/karmic/installation-guide/karmic

« back to all changes in this revision

Viewing changes to en/boot-new/boot-new.xml

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2007-07-23 15:52:44 UTC
  • mfrom: (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20070723155244-xayq1rzu8rllvngy
Tags: 20070319ubuntu1
* Resynchronise with Debian. Remaining changes:
  - Build only English (for now, until we figure out how to avoid trashing
    translations quite so badly with Ubuntu branding etc.).
  - Build only Ubuntu architectures (amd64, hppa, i386, ia64, powerpc,
    sparc).
  - Extensive (although possibly incomplete) Ubuntu branding, adjustments
    for our mirror layout, etc.
  - Add "Ubuntu and Debian" and "What is Ubuntu?" section, text borrowed
    from the Ubuntu web site. Disable the "What is Debian GNU/Linux?"
    section.
  - Direct installation reports to ubuntu-users for now.
  - Adjust various memory and disk space requirements. Talk about the
    default Ubuntu desktop and Ubuntu tasks rather than Debian tasks.
  - Document mounting /sys in various places.
  - Unset supports-floppy-boot for all our architectures.
  - Add a few more supports-floppy-boot and bootable-usb conditionals.
  - Document our root password and sudo arrangements.
  - Document netboot-style USB images. Still mention the hd-media images,
    but they're downplayed since many USB sticks are too small for a full
    Ubuntu ISO image.
  - Document Kickstart installations (currently only the basics, a
    reference to Red Hat's documentation, and the differences from
    Anaconda).
  - Note that an empty preseed file is equivalent to a normal manual
    installation.
  - Rename doc-base.TEMPLATE to TEMPLATE.doc-base.
  - Update keyboard preseeding documentation for console-setup.
  - Update chroot-install guide for console-setup and language packs; add
    a bit more advice about installing grub.
  - Remove text talking about devfs-style device names, which are no
    longer supported.
  - Fix links to web copies of installation manual and example preseed
    file.
* Bump kernelversion to 2.6.22.
* Bump x11ver to 7.3.
* Bump GNOME version to 2.20.
* Bump release version and names for Gutsy (LP: #119177).
* Refer to the standard task rather than ubuntu-standard.
* Disable documentation of the GTK frontend.
* Remove latex-hangul-ucs-hlatex build-dependency, as we don't build for
  Korean.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!-- retain these comments for translator revision tracking -->
2
 
<!-- $Id: boot-new.xml 39380 2006-07-26 06:20:38Z fjp $ -->
 
2
<!-- $Id: boot-new.xml 45438 2007-02-26 19:19:19Z wouter $ -->
3
3
 
4
4
<chapter id="boot-new">
5
5
 <title>Booting Into Your New Ubuntu System</title>
10
10
Your system's first boot on its own power is what electrical engineers
11
11
call the <quote>smoke test</quote>.
12
12
 
 
13
</para><para arch="x86">
 
14
 
 
15
If you did a default installation, the first thing you should see when you
 
16
boot the system is the menu of the <classname>grub</classname> or possibly
 
17
the <classname>lilo</classname> bootloader.
 
18
The first choices in the menu will be for your new Ubuntu system. If you
 
19
had any other operating systems on your computer (like Windows) that were
 
20
detected by the installation system, those will be listed lower down in the
 
21
menu.
 
22
 
13
23
</para><para>
14
24
 
15
 
If you are booting directly into Ubuntu, and the system doesn't start
16
 
up, either use your original installation boot media, or insert the
17
 
custom boot floppy if you have one, and reset your system.  This way,
18
 
you will probably need to add some boot arguments like
19
 
<userinput>root=<replaceable>root</replaceable></userinput>, where
20
 
<replaceable>root</replaceable> is your root partition, such as
21
 
<filename>/dev/sda1</filename>.
22
 
Alternatively, see <xref linkend="rescue"/> for instructions on using
23
 
the installer's built-in rescue mode.
 
25
If the system fails to start up correctly, don't panic. If the installation
 
26
was successful, chances are good that there is only a relatively minor
 
27
problem that is preventing the system from booting Ubuntu. In most cases
 
28
such problems can be fixed without having to repeat the installation.
 
29
One available option to fix boot problems is to use the installer's
 
30
built-in rescue mode (see <xref linkend="rescue"/>).
 
31
 
 
32
</para><para condition="not-ubuntu">
 
33
 
 
34
If you are new to Debian and Linux, you may need some help from more
 
35
experienced users.
 
36
<phrase arch="x86">For direct on-line help you can try the IRC channels
 
37
#debian or #debian-boot on the OFTC network. Alternatively you can contact
 
38
the <ulink url="&url-list-subscribe;">debian-user mailing list</ulink>.</phrase>
 
39
<phrase arch="not-x86">For less common architectures like &arch-title;,
 
40
your best option is to ask on the
 
41
<ulink url="&url-list-subscribe;">debian-&arch-listname; mailing
 
42
list</ulink>.</phrase>
 
43
You can also file an installation report as described in
 
44
<xref linkend="submit-bug"/>. Please make sure that you describe your problem
 
45
clearly and include any messages that are displayed and may help others to
 
46
diagnose the issue.
 
47
 
 
48
</para><para arch="x86">
 
49
 
 
50
If you had any other operating systems on your computer that were not detected
 
51
or not detected correctly, please file an installation report.
24
52
 
25
53
</para>
26
54
 
65
93
<userinput>Settings</userinput> dialogue (<keycombo>
66
94
<keycap>command</keycap> <keycap>T</keycap> </keycombo>), and locate
67
95
the kernel options line which should look like
68
 
<userinput>root=/dev/ram video=font:VGA8x16</userinput> or similar.
 
96
<userinput>root=/dev/ram ramdisk_size=15000</userinput> or similar.
69
97
 
70
98
</para><para>
71
99
 
72
100
You need to change the entry to
73
101
<userinput>root=/dev/<replaceable>yyyy</replaceable></userinput>.
74
102
Replace the <replaceable>yyyy</replaceable> with the Linux name of the
75
 
partition onto which you installed the system
76
 
(e.g. <filename>/dev/sda1</filename>); you wrote this down earlier.
77
 
The <userinput>video=font:VGA8x8</userinput> is recommended especially
78
 
for users with tiny screens. The kernel would pick a prettier (6x11)
79
 
font but the console driver for this font can hang the machine, so
80
 
using 8x16 or 8x8 is safer at this stage.  You can change this at any
81
 
time.
 
103
partition onto which you installed the system (e.g.
 
104
<filename>/dev/sda1</filename>); you wrote this down earlier.  For users
 
105
with tiny screens, adding <userinput>fbcon=font:VGA8x8</userinput> (or
 
106
<userinput>video=font:VGA8x8</userinput> on pre-2.6 kernels) may help
 
107
readability. You can change this at any time.
82
108
 
83
109
</para><para>
84
110
 
188
214
   </sect2>
189
215
 </sect1>
190
216
 
191
 
 <sect1 id="mount-encrypted-volumes">
192
 
 <title>Mounting encrypted volumes</title>
193
 
 
194
 
<para>
195
 
 
196
 
If you created encrypted volumes during the installation and assigned
197
 
them mount points, you will be asked to enter the passphrase for each
198
 
of these volumes during the boot. The actual procedure differs
199
 
slightly between dm-crypt and loop-AES.
200
 
 
201
 
</para>
202
 
 
203
 
  <sect2 id="mount-loop-aes">
204
 
  <title>loop-AES</title>
205
 
 
206
 
<para>
207
 
 
208
 
For partitions encrypted via loop-AES you will be shown the following
209
 
prompt during the boot:
210
 
 
211
 
<informalexample><screen>
212
 
mount: going to use loop device /dev/loop<replaceable>X</replaceable>
213
 
Password:
214
 
</screen></informalexample>
215
 
 
216
 
In the first line of the prompt, <replaceable>X</replaceable> is the
217
 
number of the loop device. You are now probably wondering
218
 
<emphasis>for which volume</emphasis> you are actually entering the
219
 
passphrase. Does it relate to your <filename>/home</filename>? Or to
220
 
<filename>/var</filename>? Of course, if you have just one encrypted
221
 
volume, this is easy and you can just enter the passphrase you used
222
 
when setting up this volume. If you set up more than one encrypted
223
 
volume during the installation, the notes you wrote down as the last
224
 
step in <xref linkend="partman-crypto"/> come in handy. If you did not
225
 
make a note of the mapping between
226
 
<filename>loop<replaceable>X</replaceable></filename> and the mount
227
 
points before, you can still find it
228
 
in <filename>/etc/fstab</filename> of your new system.
229
 
 
230
 
</para><para>
231
 
 
232
 
No characters (even asterisks) will be shown while entering the
233
 
passphrase. Be careful, you have only <emphasis>one try</emphasis>. If
234
 
you enter wrong passphrase, an error message will appear and the boot
235
 
process will skip that volume and continue to mount the next
236
 
filesystem. Please see <xref linkend="crypto-troubleshooting"/> for
237
 
further information.
238
 
 
239
 
</para><para>
240
 
 
241
 
After entering all passphrases the boot should continue as usual.
242
 
 
243
 
</para>
244
 
  </sect2>
245
 
 
246
 
  <sect2 id="mount-dm-crypt" condition="FIXME">
247
 
  <title>dm-crypt</title>
248
 
 
249
 
<para>
250
 
 
251
 
TODO: write something once it works.
252
 
 
253
 
</para>
254
 
  </sect2>
255
 
 
256
 
  <sect2 id="crypto-troubleshooting">
257
 
  <title>Troubleshooting</title>
258
 
 
259
 
<para>
260
 
 
261
 
If some of the encrypted volumes could not be mounted because a wrong
262
 
passphrase was entered, you will have to mount them manually after the
263
 
boot. There are several cases.
264
 
 
265
 
</para>
266
 
 
267
 
<itemizedlist>
268
 
<listitem><para>
269
 
 
270
 
The first case concerns the root partition. When it is not mounted
271
 
correctly, the boot process will halt and you will have to reboot the
272
 
computer to try again.
273
 
 
274
 
</para></listitem>
275
 
<listitem><para>
276
 
 
277
 
The easiest case is for encrypted volumes holding data like
278
 
<filename>/home</filename> or <filename>/srv</filename>. You can
279
 
simply mount them manually after the boot. For loop-AES this is
280
 
one-step operation:
281
 
 
282
 
<informalexample><screen>
283
 
<prompt>#</prompt> <userinput>mount <replaceable>/mount_point</replaceable></userinput>
284
 
<prompt>Password:</prompt>
285
 
</screen></informalexample>
286
 
 
287
 
where <replaceable>/mount_point</replaceable> should be replaced by
288
 
the particular directory (e.g. <filename>/home</filename>). The only
289
 
difference from an ordinary mount is that you will be asked to enter
290
 
the passphrase for this volume.
291
 
 
292
 
</para><para>
293
 
 
294
 
For dm-crypt this is a bit trickier. First you need to register the
295
 
volumes with <application>device mapper</application> by running:
296
 
 
297
 
<informalexample><screen>
298
 
<prompt>#</prompt> <userinput>/etc/init.d/cryptdisks start</userinput>
299
 
</screen></informalexample>
300
 
 
301
 
This will scan all volumes mentioned
302
 
in <filename>/etc/crypttab</filename> and will create appropriate
303
 
devices under the <filename>/dev</filename> directory after entering
304
 
the correct passphrases. (Already registered volumes will be skipped,
305
 
so you can repeat this command several times without worrying.) After
306
 
successful registration you can simply mount the volumes the usual
307
 
way:
308
 
 
309
 
<informalexample><screen>
310
 
<prompt>#</prompt> <userinput>mount <replaceable>/mount_point</replaceable></userinput>
311
 
</screen></informalexample>
312
 
 
313
 
</para></listitem>
314
 
<listitem><para>
315
 
 
316
 
If the volumes holding noncritical system files could not be mounted
317
 
(<filename>/usr</filename> or <filename>/var</filename>), the system
318
 
should still boot and you should be able to mount the volumes manually
319
 
like in the previous case. However, you will also need to (re)start
320
 
any services usually running in your default runlevel because it is
321
 
very likely that they were not started. The easiest way to achieve
322
 
this is by switching to the first runlevel and back by entering
323
 
 
324
 
<informalexample><screen>
325
 
<prompt>#</prompt> <userinput>init 1</userinput>
326
 
</screen></informalexample>
327
 
 
328
 
at the shell prompt and pressing <keycombo> <keycap>Control</keycap>
329
 
<keycap>D</keycap> </keycombo> when asked for the root password.
330
 
 
331
 
</para></listitem>
332
 
</itemizedlist>
333
 
 
334
 
  </sect2>
335
 
 </sect1>
336
 
 
 
217
&mount-encrypted.xml;
337
218
 
338
219
 <sect1 id="login">
339
220
 <title>Log In</title>
342
223
 
343
224
Once your system boots, you'll be presented with the login
344
225
prompt.  Log in using the personal login and password you
345
 
selected during the installation process. Your system is now ready to use.
 
226
selected during the installation process. Your system is now ready for use.
346
227
 
347
228
</para><para>
348
229
 
354
235
 
355
236
</para><para>
356
237
 
357
 
Documentation accompanying programs you have installed is in
358
 
<filename>/usr/share/doc/</filename>, under a subdirectory named after
359
 
the program.  For example, the APT User's Guide for using
360
 
<command>apt</command> to install other programs on your system, is
361
 
located in
362
 
<filename>/usr/share/doc/apt/guide.html/index.html</filename>.
 
238
Documentation accompanying programs you have installed can be found in
 
239
<filename>/usr/share/doc/</filename>, under a subdirectory named after the
 
240
program (or, more precise, the Debian package that contains the program).
 
241
However, more extensive documentation is often packaged separately in
 
242
special documentation packages that are mostly not installed by default.
 
243
For example, documentation about the package management tool
 
244
<command>apt</command> can be found in the packages
 
245
<classname>apt-doc</classname> or <classname>apt-howto</classname>.
363
246
 
364
247
</para><para>
365
248
 
366
 
 
367
249
In addition, there are some special folders within the
368
250
<filename>/usr/share/doc/</filename> hierarchy. Linux HOWTOs are
369
 
installed in <emphasis>.gz</emphasis> format, in
 
251
installed in <emphasis>.gz</emphasis> (compressed) format, in
370
252
<filename>/usr/share/doc/HOWTO/en-txt/</filename>. After installing
371
 
<command>dhelp</command> you will find a browse-able index of
 
253
<classname>dhelp</classname>, you will find a browse-able index of
372
254
documentation in <filename>/usr/share/doc/HTML/index.html</filename>.
373
255
 
374
256
</para><para>
375
257
 
376
 
One easy way to view these documents is to <userinput>cd
377
 
/usr/share/doc/</userinput>, and type <userinput>lynx</userinput>
378
 
followed by a space and a dot (the dot stands for the current
379
 
directory).
 
258
One easy way to view these documents using a text based browser is to
 
259
enter the following commands:
 
260
 
 
261
<informalexample><screen>
 
262
$ cd /usr/share/doc/
 
263
$ w3c .
 
264
</screen></informalexample>
 
265
 
 
266
The dot after the <command>w3c</command> command tells it to show the
 
267
contents of the current directory.
 
268
 
 
269
</para><para>
 
270
 
 
271
If you have a graphical desktop environment installed, you can also use
 
272
its web browser. Start the web browser from the application menu and
 
273
enter <userinput>/usr/share/doc/</userinput> in the address bar.
380
274
 
381
275
</para><para>
382
276
 
387
281
<userinput>help</userinput> will display help on shell commands. And
388
282
typing a command followed by <userinput>--help</userinput> will
389
283
usually display a short summary of the command's usage. If a command's
390
 
results scroll past the top of the screen, type <userinput>|
391
 
more</userinput> after the command to cause the results to pause
392
 
before scrolling past the top of the screen. To see a list of all
 
284
results scroll past the top of the screen, type
 
285
<userinput>|&nbsp;more</userinput> after the command to cause the results
 
286
to pause before scrolling past the top of the screen. To see a list of all
393
287
commands available which begin with a certain letter, type the letter
394
288
and then two tabs.
395
289
 
396
 
</para><para condition="not-ubuntu">
397
 
 
398
 
For a more complete introduction to Debian and GNU/Linux, see
399
 
<filename>/usr/share/doc/debian-guide/html/noframes/index.html</filename>.
400
 
 
401
290
</para>
402
291
 
403
292
 </sect1>