~qbalazs/installation-guide/lp1030336

« back to all changes in this revision

Viewing changes to fi/partitioning/partition/i386.xml

  • Committer: joeyh
  • Date: 2005-10-07 19:51:38 UTC
  • Revision ID: vcs-imports@canonical.com-20051007195138-c3d57b2617a79a4f
move manual to top-level directory, split out of debian-installer package

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- retain these comments for translator revision tracking -->
 
2
<!-- original version: 28997 untranslated -->
 
3
 
 
4
 
 
5
  <sect2 arch="i386"><title>Partitioning for &arch-title;</title>
 
6
<para>
 
7
 
 
8
If you have an existing other operating system such as DOS or Windows and
 
9
you want to preseve that operating system while installing Debian, you may
 
10
need to resize its partition to free up space for the Debian installation.
 
11
The installer supports resizing of both FAT and NTFS filesystems; when you
 
12
get to the installer's partitioning step, select the option to partition
 
13
manually and then simply select an existing partition and change its size.
 
14
 
 
15
</para><para>
 
16
 
 
17
The PC BIOS generally adds additional constraints for disk
 
18
partitioning.  There is a limit to how many <quote>primary</quote> and
 
19
<quote>logical</quote> partitions a drive can contain.  Additionally, with pre
 
20
1994&ndash;98 BIOSes, there are limits to where on the drive the BIOS can boot
 
21
from.  More information can be found in the
 
22
<ulink url="&url-partition-howto;">Linux Partition HOWTO</ulink> and the
 
23
<ulink url="&url-phoenix-bios-faq-large-disk;">Phoenix BIOS FAQ</ulink>, but
 
24
this section will include a brief overview to help you plan most situations.
 
25
 
 
26
</para><para>
 
27
 
 
28
<quote>Primary</quote> partitions are the original partitioning scheme for PC
 
29
disks.  However, there can only be four of them.  To get past this
 
30
limitation, <quote>extended</quote> and <quote>logical</quote> partitions were invented.  By
 
31
setting one of your primary partitions as an extended partition, you
 
32
can subdivide all the space allocated to that partition into logical
 
33
partitions.  You can create up to 60 logical partitions per extended
 
34
partition; however, you can only have one extended partition per
 
35
drive.
 
36
 
 
37
</para><para>
 
38
 
 
39
Linux limits the partitions per drive to 15 partitions for SCSI disks
 
40
(3 usable primary partitions, 12 logical partitions), and 63
 
41
partitions on an IDE drive (3 usable primary partitions, 60 logical
 
42
partitions). However the normal &debian; system provides
 
43
only 20 devices for partitions, so you may not install on partitions
 
44
higher than 20 unless you first manually create devices for those
 
45
partitions.
 
46
 
 
47
</para><para>
 
48
 
 
49
If you have a large IDE disk, and are using neither LBA addressing,
 
50
nor overlay drivers (sometimes provided by hard disk manufacturers),
 
51
then the boot partition (the partition containing your kernel image)
 
52
must be placed within the first 1024 cylinders of your hard drive
 
53
(usually around 524 megabytes, without BIOS translation).
 
54
 
 
55
</para><para>
 
56
 
 
57
This restriction doesn't apply if you have a BIOS newer than around
 
58
1995&ndash;98 (depending on the manufacturer) that supports the <quote>Enhanced
 
59
Disk Drive Support Specification</quote>.  Both Lilo, the Linux loader, and
 
60
Debian's alternative <command>mbr</command> must use the BIOS to read the
 
61
kernel from the disk into RAM.  If the BIOS int 0x13 large disk access
 
62
extensions are found to be present, they will be utilized. Otherwise,
 
63
the legacy disk access interface is used as a fall-back, and it cannot
 
64
be used to address any location on the disk higher than the 1023rd
 
65
cylinder.  Once Linux is booted, no matter what BIOS your computer
 
66
has, these restrictions no longer apply, since Linux does not use the
 
67
BIOS for disk access.
 
68
 
 
69
</para><para>
 
70
 
 
71
If you have a large disk, you might have to use cylinder translation
 
72
techniques, which you can set from your BIOS setup program, such as
 
73
LBA (Logical Block Addressing) or CHS translation mode (<quote>Large</quote>).
 
74
More information about issues with large disks can be found in the
 
75
<ulink url="&url-large-disk-howto;">Large Disk HOWTO</ulink>.  If you
 
76
are using a cylinder translation scheme, and the BIOS does not support
 
77
the large disk access extensions, then your boot partition has to fit
 
78
within the <emphasis>translated</emphasis> representation of the
 
79
1024th cylinder.
 
80
 
 
81
</para><para>
 
82
 
 
83
The recommended way of accomplishing this is to create a small (5&ndash;10MB
 
84
should suffice) partition at the beginning of the disk to be used as
 
85
the boot partition, and then create whatever other partitions you wish
 
86
to have, in the remaining area.  This boot partition
 
87
<emphasis>must</emphasis> be mounted on <filename>/boot</filename>,
 
88
since that is the directory where the Linux kernel(s) will be stored.
 
89
This configuration will work on any system, regardless of whether LBA
 
90
or large disk CHS translation is used, and regardless of whether your
 
91
BIOS supports the large disk access extensions.
 
92
 
 
93
</para>
 
94
  </sect2>