File: chroot-install.xml

package info (click to toggle)
installation-guide 20070319
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 29,356 kB
  • ctags: 53
  • sloc: xml: 184,383; sh: 1,023; perl: 403; awk: 200; makefile: 65
file content (942 lines) | stat: -rw-r--r-- 29,618 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
<?xml version="1.0" encoding="EUC-JP"?>
<!-- retain these comments for translator revision tracking -->
<!-- original version: 44410 -->

 <sect1 id="linux-upgrade">
<!--
 <title>Installing &debian; from a Unix/Linux System</title>
-->
 <title>Unix/Linux ƥफ &debian; Υ󥹥ȡ</title>

<para>

<!--
This section explains how to install &debian; from an existing
Unix or Linux system, without using the menu-driven installer as
explained in the rest of the manual. This <quote>cross-install</quote>
HOWTO has been requested by users switching to &debian; from
Red Hat, Mandrake, and SUSE. In this section some familiarity with
entering *nix commands and navigating the file system is assumed. In
this section, <prompt>$</prompt> symbolizes a command to be entered in
the user's current system, while <prompt>#</prompt> refers to a
command entered in the Debian chroot.
-->
ϡޥ˥奢¾ʬƤ 
˥塼ɥ֥󥤥󥹥ȡѤˡ
¸ UnixLinux ƥफ &debian; 
򥤥󥹥ȡ뤹ˡˤĤޤ
 <quote>󥹥ȡ</quote> HOWTO ϡ
Red Hat, Mandrake, SUSE  &debian; ˰ܹԤ桼˾ǽ񤫤ޤ
Ǥϡ*nix ޥɤϤˤĤƽΤ
ե륷ƥǤΤȤʤäƤޤ
ޤ<prompt>#</prompt> Debian chroot Ϥ줿ޥɤ򼨤
<prompt>$</prompt> ϥ桼θߤΥƥϤ륳ޥɤɽޤ


</para><para>

<!--
Once you've got the new Debian system configured to your preference,
you can migrate your existing user data (if any) to it, and keep on
rolling. This is therefore a <quote>zero downtime</quote> &debian;
install. It's also a clever way for dealing with hardware that
otherwise doesn't play friendly with various boot or installation
media.
-->
ö Debian ƥ򹥤ߤꤷ顢
¸Υ桼ǡ (ʤ) ƯޤްܹԤǤޤ
äơ <quote>0 󥿥</quote> &debian; 󥹥ȡˤʤޤ
ޤϡ
͡ʵư󥹥ȡǥΤ褯ʤϡɥн褹롢
ޤˡǤ

</para>

  <sect2>
  <title>Ϥ</title>
<para>

<!--
With your current *nix partitioning tools, repartition the hard
drive as needed, creating at least one filesystem plus swap. You
need around 350MB of space available for a console only install,
or about 1GB if you plan to install X (more if you intend to
install desktop environments like GNOME or KDE).
-->
 *nix Υѡƥʬġǡ
åפȺ 1 ĥե륷ƥ褦
ϡɥǥ˾źäƺʬ䤷Ƥ
󥽡ΤߤΥ󥹥ȡˤϡ 350MB ζΰ褬ɬפǤ
X 򥤥󥹥ȡ뤹ͽʤ 1GB 
(GNOME  KDE Τ褦ʥǥȥå״Ķ򥤥󥹥ȡ뤹Ϥä) 
ɬפǤ

</para><para>

<!--
Next, create file systems on the partitions. For example, to create an
ext3 file system on partition <filename>/dev/hda6</filename> (that's
our example root partition):
-->
ˡѡƥ˥ե륷ƥƤ
㤨С<filename>/dev/hda6</filename> ѡƥˡ
ext3 ե륷ƥˤϡʲΤ褦ˤޤ
(ǤϤΥѡƥ root ѡƥȤޤ)

<informalexample><screen>
# mke2fs -j /dev/<replaceable>hda6</replaceable>
</screen></informalexample>

<!--
To create an ext2 file system instead, omit <userinput>-j</userinput>.
-->
ext3 ǤϤʤ ext2 ե륷ƥˤϡ
<userinput>-j</userinput> äƤ

</para><para>

<!--
Initialize and activate swap (substitute the partition number for
your intended Debian swap partition):
-->
åפʲΤ褦˽ͭˤƤ
(ѡƥֹϡ
Debian åץѡƥˤѡƥֹˡ
ɤؤƤ)

<informalexample><screen>
# mkswap /dev/<replaceable>hda5</replaceable>
# sync; sync; sync
# swapon /dev/<replaceable>hda5</replaceable>
</screen></informalexample>

<!--
Mount one partition as <filename>/mnt/debinst</filename> (the
installation point, to be the root (<filename>/</filename>) filesystem
on your new system). The mount point name is strictly arbitrary, it is
referenced later below.
-->
ѡƥ <filename>/mnt/debinst</filename> (󥹥ȡݥȡ
ƥ root (<filename>/</filename>) ե륷ƥˤʤޤ) 
˥ޥȤƤ
̩ˤȥޥȥݥ̾ϲǤ⹽ޤ
ʹߤǤϤѤޤ

<informalexample><screen>
# mkdir /mnt/debinst
# mount /dev/<replaceable>hda6</replaceable> /mnt/debinst
</screen></informalexample>

</para>
<note><para>

<!--
If you want to have parts of the filesystem (e.g. /usr) mounted on
separate partitions, you will need to create and mount these directories
manually before proceding with the next stage.
-->
ʬ䤷ѡƥե륷ƥΰ ( /usr) ˥ޥȤ硢
Υơ˿ʤˡ
ưǤΥǥ쥯ȥޥȤɬפޤ

</para></note>
  </sect2>

  <sect2>
  <title><command>debootstrap</command> Υ󥹥ȡ</title>
<para>

<!--
The utility used by the Debian installer, and recognized as the
official way to install a Debian base system, is
<command>debootstrap</command>. It uses <command>wget</command> and
<command>ar</command>, but otherwise depends only on
<classname>/bin/sh</classname> and basic Unix/Linux tools<footnote>
-->
Debian 󥹥ȡ餬Ѥ桼ƥƥǡ 
Debian ܥƥ򥤥󥹥ȡ뤹ˡǧƤΤ 
<command>debootstrap</command> Ǥ
<command>wget</command>  <command>ar</command> Ѥޤ
<classname>/bin/sh</classname> ȴŪ Unix/Linux ġ<footnote>

<para>

<!--
These include the GNU core utilities and commands like <command>sed</command>, <command>grep</command>, <command>tar</command> and <command>gzip</command>.
-->
ˤϡ<command>sed</command>, <command>grep</command>, 
<command>tar</command>, <command>gzip</command> Ȥä
GNU 桼ƥƥޤޤޤ

</para>

<!--
</footnote>. Install <command>wget</command> and
<command>ar</command> if they aren't already on your current system,
then download and install <command>debootstrap</command>.
-->
</footnote>ˤΤ߰¸ƤޤΥƥˤޤ󥹥ȡ뤷ƤʤС
<command>wget</command>  <command>ar</command> 򥤥󥹥ȡ뤷
θ <command>debootstrap</command> 
ɡ󥹥ȡ뤷Ƥ

</para>

<!-- The files linked to here are from 2004 and thus currently not usable
<para>

If you have an rpm-based system, you can use alien to convert the
.deb into .rpm, or download an rpm-ized version at
<ulink url="http://people.debian.org/~blade/install/debootstrap"></ulink>
rpm ١ƥबʤ顢alien Ȥä .deb  .rpm ѴǤޤ
⤷ϡ
<ulink url="http://people.debian.org/~blade/install/debootstrap"></ulink> 
 rpm ΤΤɤǤޤ

</para>
-->

<para>

<!--
Or, you can use the following procedure to install it
manually. Make a work folder for extracting the .deb into:
-->
ޤưǥ󥹥ȡ뤹ˤϡʲμˤʤޤ
ޤ .deb Ÿ뤿˺ȥե򼡤Τ褦˺äƤ

<informalexample><screen>
# mkdir work
# cd work
</screen></informalexample>

<!--
The <command>debootstrap</command> binary is located in the Debian
archive (be sure to select the proper file for your
architecture). Download the <command>debootstrap</command> .deb from
the <ulink url="http://ftp.debian.org/debian/pool/main/d/debootstrap/">
pool</ulink>, copy the package to the work folder, and extract the
files from it. You will need to have root privileges to install
the files.
-->
<command>debootstrap</command> ХʥϡDebian  
(ʤΥƥŬ礹եɬ֤) ˤޤ
<ulink url="http://ftp.debian.org/debian/pool/main/d/debootstrap/">
pool</ulink>  <command>debootstrap</command> .deb ɤơ
ȥե˥ѥå򥳥ԡեŸƤ
ե򥤥󥹥ȡ뤹ݤˤ root ¤ɬפǤ礦

<informalexample><screen>
# ar -x debootstrap_0.X.X_all.deb
# cd /
# zcat /full-path-to-work/work/data.tar.gz | tar xv
</screen></informalexample>

</para>
  </sect2>

  <sect2>
  <title><command>debootstrap</command> μ¹</title>
<para>

<!--
<command>debootstrap</command> can download the needed files directly
from the archive when you run it. You can substitute any Debian
archive mirror for <userinput>&archive-mirror;/debian</userinput> in
the command example below, preferably a mirror close to you
network-wise. Mirrors are listed at
<ulink url="http://www.debian.org/misc/README.mirrors"></ulink>.
-->
<command>debootstrap</command> ϡ¹Ԥȡ
֤ɬפʥեľܥɤǤޤ
ʲΥޥɤǤϡ
<userinput>&archive-mirror;/debian</userinput> ȤƤޤ
ͥåȥŪ˶ᤤ Debian ֥ߥ顼ȤѤǤޤ
ߥ顼Ȥϡ
<ulink url="http://www.debian.org/misc/README.mirrors"></ulink> 
ǥꥹȤƤޤ

</para><para>

<!--
If you have a &releasename; &debian; CD mounted at
<filename>/cdrom</filename>, you could substitute a file URL instead
of the http URL: <userinput>file:/cdrom/debian/</userinput>
-->
&releasename; &debian; CD äƤơ
<filename>/cdrom</filename> ˥ޥȤƤС
http URL 夨 file URL (<userinput>file:/cdrom/debian/</userinput>) 
Ѥ뤳ȤǤޤ

</para><para>

<!--
Substitute one of the following for <replaceable>ARCH</replaceable>
in the <command>debootstrap</command> command:
-->
<command>debootstrap</command> ޥɤ <replaceable>ARCH</replaceable> ϡ
ʲΤĤѤƤ

<userinput>alpha</userinput>,
<userinput>amd64</userinput>,
<userinput>arm</userinput>,
<userinput>hppa</userinput>,
<userinput>i386</userinput>,
<userinput>ia64</userinput>,
<userinput>m68k</userinput>,
<userinput>mips</userinput>,
<userinput>mipsel</userinput>,
<userinput>powerpc</userinput>,
<userinput>s390</userinput>,
<userinput>sparc</userinput>.

<informalexample><screen>
# /usr/sbin/debootstrap --arch ARCH &releasename; \
     /mnt/debinst http://ftp.us.debian.org/debian
</screen></informalexample>

</para>
  </sect2>

  <sect2>
  <title>ܥƥ</title>
<para>

<!--
Now you've got a real Debian system, though rather lean, on disk.
<command>chroot</command> into it:
-->
ǥǥ˿ Debian ƥ 
(֤椬Ǥ) ޤ
 <command>chroot</command> Ƥ

<informalexample><screen>
# LANG=C chroot /mnt/debinst /bin/bash
</screen></informalexample>

<!--
After chrooting you may need to set the terminal definition to be
compatible with the Debian base system, for example:
-->
chroot ǡ
Debian ܥƥȸߴΤüˤɬפ뤫⤷ޤ
㤨СʲΤ褦ˤޤ

<informalexample><screen>
# export TERM=<replaceable>xterm-color</replaceable>
</screen></informalexample>

</para>

   <sect3>
   <title>ѡƥΥޥ</title>
<para>

<!--
You need to create <filename>/etc/fstab</filename>.
-->
<filename>/etc/fstab</filename> ɬפޤ

<informalexample><screen>
# editor /etc/fstab
</screen></informalexample>

<!--
Here is a sample you can modify to suit:
-->
ʲΥץʬ˹礦褦ԽǤޤ

<informalexample><screen>
# /etc/fstab: static file system information.
#
# file system    mount point   type    options                  dump pass
/dev/XXX         /             ext3    defaults                 0    1
/dev/XXX         /boot         ext3    ro,nosuid,nodev          0    2

/dev/XXX         none          swap    sw                       0    0
proc             /proc         proc    defaults                 0    0

/dev/fd0         /media/floppy auto    noauto,rw,sync,user,exec 0    0
/dev/cdrom       /media/cdrom  iso9660 noauto,ro,user,exec      0    0

/dev/XXX         /tmp          ext3    rw,nosuid,nodev          0    2
/dev/XXX         /var          ext3    rw,nosuid,nodev          0    2
/dev/XXX         /usr          ext3    rw,nodev                 0    2
/dev/XXX         /home         ext3    rw,nosuid,nodev          0    2
</screen></informalexample>

<!--
Use <userinput>mount -a</userinput> to mount all the file systems you
have specified in your <filename>/etc/fstab</filename>, or, to mount
file systems individually, use:
-->
<filename>/etc/fstab</filename> ǻꤷե륷ƥ
٤ƥޥȤˤ <userinput>mount -a</userinput> ȤƤ
ޤե륷ƥ̡˥ޥȤˤϡʲΤ褦ˤƤ

<informalexample><screen>
# mount /path   # e.g.: mount /usr
</screen></informalexample>

<!--
Current Debian systems have mountpoints for removable media under
<filename>/media</filename>, but keep compatibility symlinks in
<filename>/</filename>. Create these as as needed, for example:
-->
 Debian ƥǤϡࡼХ֥ǥΥޥȥݥȤ
<filename>/media</filename> ˤƤޤ
<filename>/</filename> ˥ܥå󥯤֤ߴݤäƤޤ
ʲΤ褦ˡɬפǤкƤ

<informalexample><screen>
# cd /media
# mkdir cdrom0
# ln -s cdrom0 cdrom
# cd /
# ln -s media/cdrom
</screen></informalexample>

<!--
You can mount the proc file system multiple times and to arbitrary
locations, though <filename>/proc</filename> is customary. If you didn't use
<userinput>mount -a</userinput>, be sure to mount proc before continuing:
-->
proc ե륷ƥϡɤǤⲿ٤ǤޥȤ뤳ȤǤޤ
Ū <filename>/proc</filename> ˥ޥȤޤ
<userinput>mount -a</userinput> Ѥʤäϡ
ʲΤ褦˿ʤɬ proc ޥȤƤ

<informalexample><screen>
# mount -t proc proc /proc
</screen></informalexample>

</para><para>

<!--
The command <userinput>ls /proc</userinput> should now show a non-empty
directory. Should this fail, you may be able to mount proc from outside
the chroot:
-->
<userinput>ls /proc</userinput> ޥɤϡ
٤϶Υǥ쥯ȥˤϤʤʤϤǤ줬Ԥ褦ʤ顢
ʲΤ褦 chroot γ¦ proc ޥȤǤ뤫⤷ޤ

<informalexample><screen>
# mount -t proc proc /mnt/debinst/proc
</screen></informalexample>

</para>
   </sect3>

   <sect3>
<!--
   <title>Setting Timezone</title>
-->
   <title>ॾ</title>
<para>

<!--
An option in the file <filename>/etc/default/rcS</filename> determines
whether the system will interpret the hardware clock as being set to UTC
or local time. The following command allow you to set that and choose
your timezone.
-->
<filename>/etc/default/rcS</filename> եˤǡ
ƥबϡɥλפ UTC ȤƲ᤹뤫
ϻ֤ȤƤ᤹뤫ꤷޤ
ʲΥޥɤǡ嵭ȥॾԤޤ

<informalexample><screen>
# editor /etc/default/rcS
# tzconfig
</screen></informalexample>

</para>
   </sect3>

   <sect3>
   <title>ͥåȥ</title>
<para>

<!--
To configure networking, edit
<filename>/etc/network/interfaces</filename>,
<filename>/etc/resolv.conf</filename>,
<filename>/etc/hostname</filename> and
<filename>/etc/hosts</filename>.
-->
ͥåȥ򤹤ˤϡ
<filename>/etc/network/interfaces</filename>,
<filename>/etc/resolv.conf</filename>, 
<filename>/etc/hostname</filename>,
<filename>/etc/hosts</filename> ԽƤ

<informalexample><screen>
# editor /etc/network/interfaces
</screen></informalexample>

<!--
Here are some simple examples from
<filename>/usr/share/doc/ifupdown/examples</filename>:
-->
ϡ
<filename>/usr/share/doc/ifupdown/examples</filename> ΥץǤ

<informalexample><screen>
######################################################################
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# See the interfaces(5) manpage for information on what options are
# available.
######################################################################

# We always want the loopback interface.
#
auto lo
iface lo inet loopback

# To use dhcp:
#
# auto eth0
# iface eth0 inet dhcp

# An example static IP setup: (broadcast and gateway are optional)
#
# auto eth0
# iface eth0 inet static
#     address 192.168.0.42
#     network 192.168.0.0
#     netmask 255.255.255.0
#     broadcast 192.168.0.255
#     gateway 192.168.0.1
</screen></informalexample>

<!--
Enter your nameserver(s) and search directives in
<filename>/etc/resolv.conf</filename>:
-->
<filename>/etc/resolv.conf</filename> ˡ
͡ॵФ search ǥ쥯ƥ֤ϤƤ

<informalexample><screen>
# editor /etc/resolv.conf
</screen></informalexample>

<!--
A simple example <filename>/etc/resolv.conf</filename>:
-->
ʲϡ<filename>/etc/resolv.conf</filename> δñǤ

<informalexample><screen>
search hqdom.local
nameserver 10.1.1.36
nameserver 192.168.9.100
</screen></informalexample>

<!--
Enter your system's host name (2 to 63 characters):
-->
ƥΥۥ̾ (2  63 ʸ) ϤƤ
<informalexample><screen>
# echo DebianHostName &gt; /etc/hostname
</screen></informalexample>

<!--
And a basic <filename>/etc/hosts</filename> with IPv6 support:
-->
ޤIPv6 򥵥ݡȤŪ <filename>/etc/hosts</filename> 
ϰʲΤ褦ˤޤ

<informalexample><screen>
127.0.0.1 localhost DebianHostName

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
</screen></informalexample>

<!--
If you have multiple network cards, you should arrange the names of
driver modules in the <filename>/etc/modules</filename> file into the
desired order. Then during boot, each card will be associated with the
interface name (eth0, eth1, etc.) that you expect.
-->
ʣΥͥåȥɤäƤʤ顢
<filename>/etc/modules</filename> ե˴˾ν֤ǡ
ɥ饤Х⥸塼֤̾Ƥ
θ嵯ưˡƥɤϴ̤˥󥿡ե̾ (eth0, eth1ʤ) 
ȷӤĤޤ

</para>
   </sect3>

   <sect3>
<!--
   <title>Configure Apt</title>
-->
   <title>apt </title>
<para>

<!--
Debootstrap will have created a very basic
<filename>/etc/apt/sources.list</filename> that will allow installing
additional packages. However, you may want to add some additional sources,
for example for source packages and security updates:
-->
debootstrap ϡɲåѥå򥤥󥹥ȡ뤹롢
˴Ū <filename>/etc/apt/sources.list</filename> ޤ
¾ΥѥåɲäʤȻפޤ
ʲϥѥåȥƥɲäƤޤ

<informalexample><screen>
deb-src http://ftp.us.debian.org/debian etch main

deb http://security.debian.org/ etch/updates main
deb-src http://security.debian.org/ etch/updates main
</screen></informalexample>

<!--
Make sure to run <userinput>aptitude update</userinput> after you have
made changes to the sources list.
-->
sources list 򹹿顢
<userinput>aptitude update</userinput> ɬ¹ԤƤ

</para>
   </sect3>

   <sect3>
<!--
   <title>Configure Locales and Keyboard</title>
-->
   <title>ȥܡɤ</title>
<para>

<!--
To configure your locale settings to use a language other than
English, install the <classname>locales</classname> support package
and configure it. Currently the use of UTF-8 locales is recommended.
-->
ѸʳθѤ褦򤹤뤿ˡ
򥵥ݡȤѥå 
(<classname>locales</classname>) 򥤥󥹥ȡ롦ꤷƤ
ߤ UTF-8 ѤΤ򤪾ᤷޤ

<informalexample><screen>
# aptitude install locales
# dpkg-reconfigure locales
</screen></informalexample>

<!--
To configure your keyboard (if needed):
-->
(ɬפʤ) ʲΤ褦˥ܡɤԤäƤ

<informalexample><screen>
# aptitude install console-data
# dpkg-reconfigure console-data
</screen></informalexample>

</para><para>

<!--
Note that the keyboard cannot be set while in the chroot, but will be
configured for the next reboot.
-->
chroot ǤϡܡɤǤޤ󤬡
Ƶưͭˤʤ뤳ȤդƤ

</para>
   </sect3>
  </sect2>

  <sect2>
  <title>ͥΥ󥹥ȡ</title>
<para>

<!--
If you intend to boot this system, you probably want a Linux kernel
and a boot loader. Identify available pre-packaged kernels with:
-->
ΥƥưǤ褦ˤʤ顢
餯 Linux ͥȥ֡ȥɬפǤ礦
ʲΤ褦ˤơѥåѤߥͥǧƤ

<informalexample><screen>
# apt-cache search linux-image
</screen></informalexample>

</para><para>

<!--
If you intend to use a pre-packaged kernel, you may want to create the
configuration file <filename>/etc/kernel-img.conf</filename> before you
do so. Here's an example file:
-->
ѥåѤߥͥѤͽǤС
 <filename>/etc/kernel-img.conf</filename> 
եʤȻפޤ
ʲ˥ץեǤޤ

<informalexample><screen>
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = yes
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
</screen></informalexample>

</para><para>

<!--
For detailed information about this file and the various options, consult
its man page which will be available after installing the
<classname>kernel-package</classname> package. We recommend that you check
that the values are appropriate for your system.
-->
Υե͡ʥץξܺ٤ϡ
<classname>kernel-package</classname> ѥå󥹥ȡͭˤʤ 
man ڡƤޤ
ǡʤΥƥŬڤͤåΤ򤪾ᤷޤ

</para><para>

<!--
Then install the kernel package of your choice using its package name.
-->
줫顢ѥå̾Υͥѥå򥤥󥹥ȡ뤷Ƥ

<informalexample><screen>
# aptitude install linux-image-<replaceable>&kernelversion;-arch-etc</replaceable>
</screen></informalexample>

<!--
If you did not create a <filename>/etc/kernel-img.conf</filename> before
installing a pre-packaged kernel, you may be asked some questions during
its installation that refer to it.
-->
ѥåѤߥͥ򥤥󥹥ȡ뤹 
<filename>/etc/kernel-img.conf</filename> ʤ硢
󥹥ȡ˴Ϣ䤬ԤȻפޤ

</para>
  </sect2>

  <sect2>
<title>֡ȥΥåȥå</title>
<para>

<!--
To make your &debian; system bootable, set up your boot loader to load
the installed kernel with your new root partition. Note that
<command>debootstrap</command> does not install a boot loader, though you
can use <command>aptitude</command> inside your Debian chroot to do so.
-->
&debian; ƥưǤ褦ˤ뤿ˡ
󥹥ȡ뤷ͥ򿷤 root ѡƥ󤫤ɤ߹褦ˡ
֡ȥ򥻥åȥåפƤ<command>debootstrap</command> ϡ
֡ȥ򥤥󥹥ȡ뤷ʤȤդƤ
ȤϸäƤ⡢åȥåפΤ Debian chroot  
<command>aptitude</command> ѤǤޤ

</para><para arch="x86">

<!--
Check <userinput>info grub</userinput> or <userinput>man
lilo.conf</userinput> for instructions on setting up the
bootloader.  If you are keeping the system you used to install Debian, just
add an entry for the Debian install to your existing grub 
<filename>menu.lst</filename> or <filename>lilo.conf</filename>.  For
<filename>lilo.conf</filename>, you could also copy it to the new system and
edit it there. After you are done editing, call <command>lilo</command>
(remember it will use
<filename>lilo.conf</filename> relative to the system you call it from).
-->
֡ȥΥåȥåפˤĤƤϡ
<userinput>info grub</userinput>  
<userinput>man lilo.conf</userinput> åƤ
Debian 򥤥󥹥ȡ뤹Τ˻Ѥƥݻ硢
¸ grub <filename>menu.lst</filename>  
<filename>lilo.conf</filename> ˡ
Debian 󥹥ȡؤΥȥñ˲äƤ
lilo.conf ǤϿƥˤ򥳥ԡԽƤ
Խ򽪤塢<command>lilo</command> ƤӽФƤ
(lilo ƤӽФƥȴطȤΡ
<filename>lilo.conf</filename> ȤȤȤФƤƤ)

</para><para arch="x86">

<!--
Installing and setting up <classname>grub</classname> is as easy as:
-->
<classname>grub</classname> Υ󥹥ȡϰʲΤ褦˴ñǤ

<informalexample><screen>
# aptitude install grub
# grub-install /dev/<replaceable>hda</replaceable>
# update-grub
</screen></informalexample>

<!--
The second command will install <command>grub</command> (in this case in
the MBR of <literal>hda</literal>). The last command will create a sane
and working <filename>/boot/grub/menu.lst</filename>.
-->
2 ܤΥޥɤǡ<command>grub</command>  
(ξ <literal>hda</literal>  MBR ) 󥹥ȡ뤷ޤ
ǸΥޥɤǡ
ư <filename>/boot/grub/menu.lst</filename> ޤ

</para><para arch="x86">

<!--
Here is a basic <filename>/etc/lilo.conf</filename> as an example:
-->
ʲϴŪ <filename>/etc/lilo.conf</filename> Ǥ

<informalexample><screen>
boot=/dev/<replaceable>hda6</replaceable>
root=/dev/<replaceable>hda6</replaceable>
install=menu
delay=20
lba32
image=/vmlinuz
label=Debian
</screen></informalexample>

</para><para arch="x86">

<!--
Depending on which bootloader you selected, you can now make some
additional changes in <filename>/etc/kernel-img.conf</filename>.
-->
򤷤֡ȥˤäơ
<filename>/etc/kernel-img.conf</filename> ˤѹäƤ빽Ǥ

</para><para arch="x86">

<!--
For the <classname>grub</classname> bootloader, you should
set the <literal>do_bootloader</literal> option to <quote>no</quote>.
And to automatically update your <filename>/boot/grub/menu.lst</filename>
on installation or removal of Debian kernels, add the following lines:
-->
<classname>grub</classname> ֡ȥǤϡ
<literal>do_bootloader</literal>ץ <quote>no</quote> 
ȥåȤƤ
ޤDebian Υͥ򥤥󥹥ȡ롦
<filename>/boot/grub/menu.lst</filename> ưŪ˹ˤϡ
ʲιԤɲäƤ

<informalexample><screen>
postinst_hook = update-grub
postrm_hook   = update-grub
</screen></informalexample>

<!--
For the <classname>lilo</classname> bootloader, the value of
<literal>do_bootloader</literal> needs to remain <quote>yes</quote>.
-->
<classname>lilo</classname> ֡ȥǤϡ
<literal>do_bootloader</literal> ͤ <quote>yes</quote> 
Ǥɬפޤ

</para><para arch="powerpc">

<!--
Check <userinput>man yaboot.conf</userinput> for instructions on
setting up the bootloader.  If you are keeping the system you used to
install Debian, just add an entry for the Debian install to your
existing <filename>yaboot.conf</filename>.  You could also copy it to
the new system and
edit it there. After you are done editing, call ybin (remember it will
use <filename>yaboot.conf</filename> relative to the system you call it from).
-->
֡ȥΥåȥåפˤĤƤϡ
<userinput>man yaboot.conf</userinput> åƤ
Debian 򥤥󥹥ȡ뤹Τ˻Ѥƥݻ硢
¸ <filename>yaboot.conf</filename> ˡ
Debian 󥹥ȡؤΥȥñ˲äƤ
ƿƥˤ򥳥ԡԽƤ
Խ򽪤塢ybin ƤӽФƤ
(ybin ƤӽФƥȴطȤΡ
<filename>yaboot.conf</filename> ȤȤȤФƤƤ)

</para><para arch="powerpc">

<!--
Here is a basic <filename>/etc/yaboot.conf</filename> as an example:
-->
ʲϴŪ <filename>/etc/yaboot.conf</filename> Ǥ

<informalexample><screen>
boot=/dev/hda2
device=hd:
partition=6
root=/dev/hda6
magicboot=/usr/lib/yaboot/ofboot
timeout=50
image=/vmlinux
label=Debian
</screen></informalexample>

<!--
On some machines, you may need to use <userinput>ide0:</userinput>
instead of <userinput>hd:</userinput>.
-->
ĤΥޥǤϡ
<userinput>hd:</userinput> 
<userinput>ide0:</userinput> Ȥɬפ뤫⤷ޤ

</para>
  </sect2>

  <sect2>
<title>ž夲</title>
<para>

<!--
As mentioned earlier, the installed system will be very basic. If you
would like to make the system a bit more mature, there is an easy method
to install all packages with <quote>standard</quote> priority:
-->
Ǥ˽Ҥ٤褦ˡ󥹥ȡ뤷ƥ˴Ūʪˤʤޤ
äϤƥˤС
ͥ٤ <quote>standard</quote> Υѥå
٤ƥ󥹥ȡ뤹ñˡޤʲΤ褦ˤƤ

<informalexample><screen>
# tasksel install standard
</screen></informalexample>

<!--
Of course, you can also just use <command>aptitude</command> to install
packages individually.
-->
 <command>aptitude</command> ǡ
ġΥѥå򥤥󥹥ȡ뤹뤳ȤǤޤ

</para><para>

<!--
After the installation there will be a lot of downloaded packages in
<filename>/var/cache/apt/archives/</filename>. You can free up some
diskspace by running:
-->
󥹥ȡ뤬ȡɤѥå 
<filename>/var/cache/apt/archives/</filename> ̤˻ĤäƤޤ
ʲΤ褦ˤơǥΰǤޤ

<informalexample><screen>
# aptitude clean
</screen></informalexample>

</para>
  </sect2>
 </sect1>