summaryrefslogtreecommitdiff
path: root/ca/partitioning/partition
diff options
context:
space:
mode:
Diffstat (limited to 'ca/partitioning/partition')
-rw-r--r--ca/partitioning/partition/alpha.xml58
-rw-r--r--ca/partitioning/partition/hppa.xml22
-rw-r--r--ca/partitioning/partition/i386.xml94
-rw-r--r--ca/partitioning/partition/ia64.xml125
-rw-r--r--ca/partitioning/partition/mips.xml16
-rw-r--r--ca/partitioning/partition/powerpc.xml57
-rw-r--r--ca/partitioning/partition/sparc.xml33
7 files changed, 405 insertions, 0 deletions
diff --git a/ca/partitioning/partition/alpha.xml b/ca/partitioning/partition/alpha.xml
new file mode 100644
index 000000000..240e7bd3d
--- /dev/null
+++ b/ca/partitioning/partition/alpha.xml
@@ -0,0 +1,58 @@
+<!-- retain these comments for translator revision tracking -->
+<!-- original version: 28997 untranslated -->
+
+
+ <sect2 arch="alpha"><title>Partitioning for &arch-title;</title>
+<para>
+
+Booting Debian from the SRM console (the only disk boot method supported
+by &releasename;) requires you to have a BSD disk label, not a DOS
+partition table, on your boot disk. (Remember, the SRM boot block is
+incompatible with MS-DOS partition tables &mdash; see
+<xref linkend="alpha-firmware"/>.) As a result, <command>partman</command>
+creates BSD disk labels when running on &architecture;, but if your disk
+has an existing DOS partition table the existing partitions will need to
+be deleted before partman can convert it to use a disk label.
+
+</para><para>
+
+If you have chosen to use <command>fdisk</command> to partition your
+disk, and the disk that you have selected for partitioning does not
+already contain a BSD disk label, you must use the <quote>b</quote>
+command to enter disk label mode.
+
+</para><para>
+
+Unless you wish to use the disk you are partitioning from Tru64 Unix
+or one of the free 4.4BSD-Lite derived operating systems (FreeBSD,
+OpenBSD, or NetBSD), it is suggested that you do
+<emphasis>not</emphasis> make the third partition contain the whole
+disk. This is not required by <command>aboot</command>, and in fact,
+it may lead to confusion since the <command>swriteboot</command>
+utility used to install <command>aboot</command> in the boot sector
+will complain about a partition overlapping with the boot block.
+
+</para><para>
+
+Also, because <command>aboot</command> is written to the first few
+sectors of the disk (currently it occupies about 70 kilobytes, or 150
+sectors), you <emphasis>must</emphasis> leave enough empty space at
+the beginning of the disk for it. In the past, it was suggested that
+you make a small partition at the beginning of the disk, to be left
+unformatted. For the same reason mentioned above, we now suggest that
+you do not do this on disks that will only be used by GNU/Linux. When
+using <command>partman</command>, a small partition will still be
+created for <command>aboot</command> for convenience reasons.
+
+</para><para condition="FIXME">
+
+For ARC installations, you should make a small FAT partition at the
+beginning of the disk to contain <command>MILO</command> and
+<command>linload.exe</command> &mdash; 5 megabytes should be sufficient, see
+<xref linkend="non-debian-partitioning"/>. Unfortunately, making FAT
+file systems from the menu is not yet supported, so you'll have to do
+it manually from the shell using <command>mkdosfs</command> before
+attempting to install the boot loader.
+
+</para>
+ </sect2>
diff --git a/ca/partitioning/partition/hppa.xml b/ca/partitioning/partition/hppa.xml
new file mode 100644
index 000000000..521a5e848
--- /dev/null
+++ b/ca/partitioning/partition/hppa.xml
@@ -0,0 +1,22 @@
+<!-- retain these comments for translator revision tracking -->
+<!-- original version: 28997 untranslated -->
+
+
+ <sect2 arch="hppa"><title>Partitioning for &arch-title;</title>
+<para>
+
+PALO, the HPPA boot loader, requires a partition of type <quote>F0</quote> somewhere
+in the first 2GB. This is where the boot loader and an optional kernel
+and RAMdisk will be stored, so make it big enough for that &mdash; at least
+4Mb (I like 8&ndash;16MB). An additional requirement of the firmware is that
+the Linux kernel must reside within the first 2GB of the disk. This
+is typically achieved by making the root ext2 partition fit entirely
+within the first 2GB of the disk. Alternatively you can create a small
+ext2 partition near the start of the disk and mount that on
+<filename>/boot</filename>, since that is the directory where the Linux
+kernel(s) will be stored. <filename>/boot</filename> needs to be big enough
+to hold whatever kernels you might wish load; 8&ndash;16MB is generally
+sufficient.
+
+</para>
+ </sect2>
diff --git a/ca/partitioning/partition/i386.xml b/ca/partitioning/partition/i386.xml
new file mode 100644
index 000000000..c4d621477
--- /dev/null
+++ b/ca/partitioning/partition/i386.xml
@@ -0,0 +1,94 @@
+<!-- retain these comments for translator revision tracking -->
+<!-- original version: 28997 untranslated -->
+
+
+ <sect2 arch="i386"><title>Partitioning for &arch-title;</title>
+<para>
+
+If you have an existing other operating system such as DOS or Windows and
+you want to preseve that operating system while installing Debian, you may
+need to resize its partition to free up space for the Debian installation.
+The installer supports resizing of both FAT and NTFS filesystems; when you
+get to the installer's partitioning step, select the option to partition
+manually and then simply select an existing partition and change its size.
+
+</para><para>
+
+The PC BIOS generally adds additional constraints for disk
+partitioning. There is a limit to how many <quote>primary</quote> and
+<quote>logical</quote> partitions a drive can contain. Additionally, with pre
+1994&ndash;98 BIOSes, there are limits to where on the drive the BIOS can boot
+from. More information can be found in the
+<ulink url="&url-partition-howto;">Linux Partition HOWTO</ulink> and the
+<ulink url="&url-phoenix-bios-faq-large-disk;">Phoenix BIOS FAQ</ulink>, but
+this section will include a brief overview to help you plan most situations.
+
+</para><para>
+
+<quote>Primary</quote> partitions are the original partitioning scheme for PC
+disks. However, there can only be four of them. To get past this
+limitation, <quote>extended</quote> and <quote>logical</quote> partitions were invented. By
+setting one of your primary partitions as an extended partition, you
+can subdivide all the space allocated to that partition into logical
+partitions. You can create up to 60 logical partitions per extended
+partition; however, you can only have one extended partition per
+drive.
+
+</para><para>
+
+Linux limits the partitions per drive to 15 partitions for SCSI disks
+(3 usable primary partitions, 12 logical partitions), and 63
+partitions on an IDE drive (3 usable primary partitions, 60 logical
+partitions). However the normal &debian; system provides
+only 20 devices for partitions, so you may not install on partitions
+higher than 20 unless you first manually create devices for those
+partitions.
+
+</para><para>
+
+If you have a large IDE disk, and are using neither LBA addressing,
+nor overlay drivers (sometimes provided by hard disk manufacturers),
+then the boot partition (the partition containing your kernel image)
+must be placed within the first 1024 cylinders of your hard drive
+(usually around 524 megabytes, without BIOS translation).
+
+</para><para>
+
+This restriction doesn't apply if you have a BIOS newer than around
+1995&ndash;98 (depending on the manufacturer) that supports the <quote>Enhanced
+Disk Drive Support Specification</quote>. Both Lilo, the Linux loader, and
+Debian's alternative <command>mbr</command> must use the BIOS to read the
+kernel from the disk into RAM. If the BIOS int 0x13 large disk access
+extensions are found to be present, they will be utilized. Otherwise,
+the legacy disk access interface is used as a fall-back, and it cannot
+be used to address any location on the disk higher than the 1023rd
+cylinder. Once Linux is booted, no matter what BIOS your computer
+has, these restrictions no longer apply, since Linux does not use the
+BIOS for disk access.
+
+</para><para>
+
+If you have a large disk, you might have to use cylinder translation
+techniques, which you can set from your BIOS setup program, such as
+LBA (Logical Block Addressing) or CHS translation mode (<quote>Large</quote>).
+More information about issues with large disks can be found in the
+<ulink url="&url-large-disk-howto;">Large Disk HOWTO</ulink>. If you
+are using a cylinder translation scheme, and the BIOS does not support
+the large disk access extensions, then your boot partition has to fit
+within the <emphasis>translated</emphasis> representation of the
+1024th cylinder.
+
+</para><para>
+
+The recommended way of accomplishing this is to create a small (5&ndash;10MB
+should suffice) partition at the beginning of the disk to be used as
+the boot partition, and then create whatever other partitions you wish
+to have, in the remaining area. This boot partition
+<emphasis>must</emphasis> be mounted on <filename>/boot</filename>,
+since that is the directory where the Linux kernel(s) will be stored.
+This configuration will work on any system, regardless of whether LBA
+or large disk CHS translation is used, and regardless of whether your
+BIOS supports the large disk access extensions.
+
+</para>
+ </sect2>
diff --git a/ca/partitioning/partition/ia64.xml b/ca/partitioning/partition/ia64.xml
new file mode 100644
index 000000000..1dc42db62
--- /dev/null
+++ b/ca/partitioning/partition/ia64.xml
@@ -0,0 +1,125 @@
+<!-- retain these comments for translator revision tracking -->
+<!-- original version: 28672 untranslated -->
+
+
+ <sect2 arch="ia64"><title>Partitioning for &arch-title;</title>
+
+<para>
+
+The <command>partman</command> disk partitioner is the default
+partitioning tool for the installer.
+It manages the set of partitions and their mount points to ensure
+that the disks and filesystems is properly configured for a successful
+installation. It actually uses the <command>parted</command> to
+do the on-disk partitioning.
+
+</para>
+
+ <note>
+ <title>EFI Recognized Formats</title>
+<para>
+
+The IA64 EFI firmware supports two partition table (or disk label)
+formats, GPT and MS-DOS. MS-DOS, the format typically used on i386
+PCs, is no longer recommended for IA64 systems. Although
+the installer also provides the <command>cfdisk</command>,
+you should only use the <ulink url="parted.txt">
+<command>parted</command></ulink> because only it can manage both GPT
+and MS-DOS tables correctly.
+
+</para></note>
+
+<para>
+
+The automatic partitioning recipes for <command>partman</command>
+allocate an EFI partition as the first partition on the disk.
+You can also set up the partition under the <guimenuitem>Guided
+partitioning</guimenuitem> from the main menu in a manner similar to
+setting up a <emphasis>swap</emphasis> partition.
+
+</para><para>
+
+The <command>partman</command> partitioner will handle most disk
+layouts.
+For those rare cases where it is necessary to manually set up a disk,
+you can use the shell as described above and run the
+<command>parted</command> utility directly using its command line interface.
+Assuming that you want to erase your whole disk and create a GPT table
+and some partitions, then something similar to the following command
+sequence could be used:
+
+<informalexample><screen>
+ mklabel gpt
+ mkpartfs primary fat 0 50
+ mkpartfs primary linux-swap 51 1000
+ mkpartfs primary ext2 1001 3000
+ set 1 boot on
+ print
+ quit
+</screen></informalexample>
+
+This creates a new partition table, and three partitions to be used as
+an EFI boot partition, swap space, and a root file system. Finally it
+sets the boot flag on the EFI partition. Partitions are specified in
+Megabytes, with start and end offsets from the beginning of the disk.
+So, for example, above we created a 1999MB ext2 file system starting
+at offset 1001MB from the start of the disk. Note that formatting swap
+space with <command>parted</command> can take a few minutes to
+complete, as it scans the partition for bad blocks.
+
+</para>
+ </sect2>
+
+ <sect2 arch="ia64"><title>Boot Loader Partition Requirements</title>
+
+<para>
+
+ELILO, the ia64 boot loader, requires a partition containing a FAT
+file system with the <userinput>boot</userinput> flag set.
+The partition must be big enough to hold the boot loader and any
+kernels or RAMdisks you may wish to boot. A minimum size would be
+about 20MB, but if you expect to run with multiple kernels, then
+128MB might be a better size.
+
+</para><para>
+
+The EFI Boot Manager and the EFI Shell fully support the GPT table
+so the boot partition does not necessarily have to be the first
+partition or even on the same disk.
+This is convenient if you should forget to allocate the partition and
+only find out after you have formatted the other partitions on your disk(s).
+The <command>partman</command> partitioner checks for an EFI partition
+at the same time it checks for a properly set up <emphasis>root</emphasis>
+partition.
+This gives you an opportunity to correct the disk layout before the
+package install begins.
+The easiest way to correct this omission is to shrink the last partition
+of the disk to make enough free space for adding an EFI partition.
+
+</para><para>
+
+It is strongly recommended that you allocate the EFI boot partition
+on the same disk as the <emphasis>root</emphasis> filesystem.
+
+</para>
+
+ </sect2>
+
+ <sect2 arch="ia64"><title>EFI Diagnostic Partitions</title>
+
+<para>
+
+The EFI firmware is significantly more sophisticated than the usual
+BIOS seen on most x86 PCs.
+Some system vendors take advantage of the ability of the EFI to
+access files and run programs from a hard disk filesystem to store diagnostics
+and EFI based system management utilities on the hard disk.
+This is a separate FAT format filesystem on the system disk.
+Consult the system documentation and accessories that come with the
+system for details.
+The easiest time to set up a diagnostics partition is at the same time you
+set up the EFI boot partition.
+
+</para>
+
+ </sect2>
diff --git a/ca/partitioning/partition/mips.xml b/ca/partitioning/partition/mips.xml
new file mode 100644
index 000000000..fa135ab9b
--- /dev/null
+++ b/ca/partitioning/partition/mips.xml
@@ -0,0 +1,16 @@
+<!-- retain these comments for translator revision tracking -->
+<!-- original version: 28672 untranslated -->
+
+
+ <sect2 arch="mips"><title>Partitioning for &arch-title;</title>
+<para>
+
+SGI Indys require an SGI disk label in order to make the system bootable
+from hard disk. It can be created in the fdisk expert menu. The thereby
+created volume header(partition number 9) should be at least 3MB large.
+If the volume header created is too small, you can simply delete
+partition number 9 and re-add it with a different size. Note that the
+volume header must start at sector 0.
+
+</para>
+ </sect2>
diff --git a/ca/partitioning/partition/powerpc.xml b/ca/partitioning/partition/powerpc.xml
new file mode 100644
index 000000000..99e8324ee
--- /dev/null
+++ b/ca/partitioning/partition/powerpc.xml
@@ -0,0 +1,57 @@
+<!-- retain these comments for translator revision tracking -->
+<!-- original version: 23146 untranslated -->
+
+
+ <sect2 arch="powerpc"><title>Partitioning Newer PowerMacs</title>
+<para>
+
+If you are installing onto a NewWorld PowerMac you must create a
+special bootstrap partition to hold the boot loader. The size of this
+partition must be 800KB and its partition type must be
+<emphasis>Apple_Bootstrap</emphasis>. If the bootstrap partition is
+not created with the <emphasis>Apple_Bootstrap</emphasis> type your
+machine cannot be made bootable from the hard disk. This partition
+can easily be created by creating a new partition in
+<command>partman</command> and telling it to use it as a <quote>NewWorld
+boot partition</quote>, or in <command>mac-fdisk</command> using the
+<userinput>b</userinput> command.
+
+</para><para>
+
+The special partition type Apple_Bootstrap is required to prevent
+MacOS from mounting and damaging the bootstrap partition, as there are
+special modifications made to it in order for OpenFirmware to boot it
+automatically.
+
+</para><para>
+
+Note that the bootstrap partition is only meant to hold 3 very small
+files: the <command>yaboot</command> binary, its configuration
+<filename>yaboot.conf</filename>, and a first stage OpenFirmware
+loader <command>ofboot.b</command>. It need not and must not be
+mounted on your file system nor have kernels or anything else copied
+to it. The <command>ybin</command> and <command>mkofboot</command>
+utilities are used to manipulate this partition.
+
+</para><para>
+
+In order for OpenFirmware to automatically boot &debian; the bootstrap
+partition should appear before other boot partitions on the disk,
+especially MacOS boot partitions. The bootstrap partition should be
+the first one you create. However, if you add a bootstrap partition
+later, you can use <command>mac-fdisk</command>'s
+<userinput>r</userinput> command to reorder the partition map so the
+bootstrap partition comes right after the map (which is always
+partition 1). It's the logical map order, not the physical address
+order, that counts.
+
+</para><para>
+
+Apple disks normally have several small driver partitions. If you
+intend to dual boot your machine with MacOSX, you should retain these
+partitions and a small HFS partition (800k is the minimum size). That
+is because MacOSX, on every boot, offers to initialize any disks which do
+not have active MacOS partitions and driver partitions.
+
+</para>
+ </sect2>
diff --git a/ca/partitioning/partition/sparc.xml b/ca/partitioning/partition/sparc.xml
new file mode 100644
index 000000000..f4996a519
--- /dev/null
+++ b/ca/partitioning/partition/sparc.xml
@@ -0,0 +1,33 @@
+<!-- retain these comments for translator revision tracking -->
+<!-- original version: 11648 untranslated -->
+
+
+ <sect2 arch="sparc"><title>Partitioning for &arch-title;</title>
+<para>
+
+Make sure you create a <quote>Sun disk label</quote> on your boot disk. This is
+the only kind of partition scheme that the OpenBoot PROM understands,
+and so it's the only scheme from which you can boot. The
+<keycap>s</keycap> key is used in <command>fdisk</command> to
+create Sun disk labels.
+
+</para><para>
+
+Furthermore, on &arch-title; disks, make sure your first partition on
+your boot disk starts at cylinder 0. While this is required, it also
+means that the first partition will contain the partition table and
+the boot block, which are the first two sectors of the disk. You must
+<emphasis>not</emphasis> put swap on the first partition of the boot
+drive, since swap partitions do not preserve the first few sectors of
+the partition. You can put Ext2 or UFS partitions there; these will
+leave the partition table and the boot block alone.
+
+</para><para>
+
+It is also advised that the third partition should be of type <quote>Whole
+disk</quote> (type 5), and contain the entire disk (from the first cylinder
+to the last). This is simply a convention of Sun disk labels, and
+helps the <command>SILO</command> boot loader keep its bearings.
+
+</para>
+ </sect2> \ No newline at end of file