~ubuntu-core-dev/debian-installer/xenial-proposed

« back to all changes in this revision

Viewing changes to doc/manual/da/partitioning/partition/i386.xml

  • Committer: Colin Watson
  • Date: 2007-11-28 15:27:10 UTC
  • mfrom: (664.1.1444)
  • Revision ID: cjwatson@canonical.com-20071128152710-u9183jjlufbt4vxy
Tags: 20041027ubuntu1
* Resynchronise with Debian.
* build/boot/powerpc/yaboot.conf, build/config/common,
  doc/manual/build/common.ent: Update for Hoary.
* doc/manual/en/administrivia/contributors.xml: Remove specific mention of
  Warty.

Show diffs side-by-side

added added

removed removed

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