530 lines
7.3 KiB
HTML
530 lines
7.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Linux Partition HOWTO</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="NEXT"
|
|
TITLE="Introduction"
|
|
HREF="intro.html"></HEAD
|
|
><BODY
|
|
CLASS="article"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="ARTICLE"
|
|
><DIV
|
|
CLASS="TITLEPAGE"
|
|
><H1
|
|
CLASS="title"
|
|
><A
|
|
NAME="AEN2"
|
|
></A
|
|
>Linux Partition HOWTO</H1
|
|
><H3
|
|
CLASS="author"
|
|
><A
|
|
NAME="AEN4"
|
|
>Anthony Lissot</A
|
|
></H3
|
|
><DIV
|
|
CLASS="revhistory"
|
|
><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
><TR
|
|
><TH
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
COLSPAN="3"
|
|
><B
|
|
>Revision History</B
|
|
></TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>Revision 3.5</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>26 Dec 2005</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
COLSPAN="3"
|
|
>reorganized document page ordering.
|
|
added page on setting up swap space.
|
|
added page of partition labels.
|
|
updated max swap size values in section 4.
|
|
added instructions on making ext2/3 file systems.
|
|
broken links identified by Richard Calmbach are fixed.
|
|
created an XML version.</TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>Revision 3.4.4</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>08 March 2004</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
COLSPAN="3"
|
|
>synchronized SGML version with HTML version.
|
|
Updated lilo placement and swap size discussion.</TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>Revision 3.3</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>04 April 2003</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
COLSPAN="3"
|
|
>synchronized SGML and HTML versions</TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>Revision 3.3</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>10 July 2001</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
COLSPAN="3"
|
|
>Corrected Section 6, calculation of cylinder numbers</TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>Revision 3.2</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>1 September 2000</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
COLSPAN="3"
|
|
>Dan Scott provides sgml conversion 2 Oct. 2000.
|
|
Rewrote Introduction.
|
|
Rewrote discussion on device names in Logical Devices.
|
|
Reorganized Partition Types.
|
|
Edited Partition Requirements.
|
|
Added Recovering a deleted partition table.</TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>Revision 3.1</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>12 June 2000</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
COLSPAN="3"
|
|
>Corrected swap size limitation in Partition
|
|
Requirements, updated various links in Introduction, added
|
|
submitted example in How to Partition with fdisk, added file
|
|
system discussion in Partition Requirements.</TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>Revision 3.0</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>1 May 2000</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
COLSPAN="3"
|
|
>First revision by
|
|
Anthony Lissot based on Linux Partition HOWTO by Kristian Koehntopp.</TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>Revision 2.4</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
>3 November 1997</TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
COLSPAN="3"
|
|
>Last revision by Kristian Koehntopp.</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
><DIV
|
|
><DIV
|
|
CLASS="abstract"
|
|
><A
|
|
NAME="AEN40"
|
|
></A
|
|
><P
|
|
></P
|
|
><P
|
|
> This Linux Mini-HOWTO teaches you how to plan and create partitions
|
|
on IDE and SCSI hard drives. It discusses partitioning terminology
|
|
and considers size and location issues. Use of the fdisk
|
|
partitioning utility for creating and recovering of partition tables
|
|
is covered. The most recent version of this document is <A
|
|
HREF="http://lissot.net/partition"
|
|
TARGET="_top"
|
|
>here</A
|
|
>. The Turkish
|
|
translation is <A
|
|
HREF="http://belgeler.org/howto/partition-howto.html"
|
|
TARGET="_top"
|
|
>here</A
|
|
>.
|
|
</P
|
|
><P
|
|
></P
|
|
></DIV
|
|
></DIV
|
|
><HR></DIV
|
|
><DIV
|
|
CLASS="TOC"
|
|
><DL
|
|
><DT
|
|
><B
|
|
>Table of Contents</B
|
|
></DT
|
|
><DT
|
|
>1. <A
|
|
HREF="intro.html"
|
|
>Introduction</A
|
|
></DT
|
|
><DD
|
|
><DL
|
|
><DT
|
|
>1.1. <A
|
|
HREF="intro.html#explanation"
|
|
>What is a partition?</A
|
|
></DT
|
|
><DT
|
|
>1.2. <A
|
|
HREF="intro.html#AEN57"
|
|
>Other Partitioning Software:</A
|
|
></DT
|
|
><DT
|
|
>1.3. <A
|
|
HREF="intro.html#howtos"
|
|
>Related HOWTOs</A
|
|
></DT
|
|
><DT
|
|
>1.4. <A
|
|
HREF="intro.html#AEN141"
|
|
>Additional information on your system:</A
|
|
></DT
|
|
></DL
|
|
></DD
|
|
><DT
|
|
>2. <A
|
|
HREF="devices.html"
|
|
>Devices</A
|
|
></DT
|
|
><DD
|
|
><DL
|
|
><DT
|
|
>2.1. <A
|
|
HREF="devices.html#names"
|
|
>Device names</A
|
|
></DT
|
|
><DT
|
|
>2.2. <A
|
|
HREF="devices.html#numbers"
|
|
>Device numbers</A
|
|
></DT
|
|
></DL
|
|
></DD
|
|
><DT
|
|
>3. <A
|
|
HREF="partition-types.html"
|
|
>Partition Types</A
|
|
></DT
|
|
><DD
|
|
><DL
|
|
><DT
|
|
>3.1. <A
|
|
HREF="partition-types.html#types"
|
|
>Partition Types</A
|
|
></DT
|
|
><DT
|
|
>3.2. <A
|
|
HREF="partition-types.html#AEN429"
|
|
>Foreign Partition Types</A
|
|
></DT
|
|
><DT
|
|
>3.3. <A
|
|
HREF="partition-types.html#primary"
|
|
>Primary Partitions</A
|
|
></DT
|
|
><DT
|
|
>3.4. <A
|
|
HREF="partition-types.html#logical"
|
|
>Logical Partitions</A
|
|
></DT
|
|
><DT
|
|
>3.5. <A
|
|
HREF="partition-types.html#swap-partitions"
|
|
>Swap Partitions</A
|
|
></DT
|
|
></DL
|
|
></DD
|
|
><DT
|
|
>4. <A
|
|
HREF="requirements.html"
|
|
>Partitioning requirements</A
|
|
></DT
|
|
><DD
|
|
><DL
|
|
><DT
|
|
>4.1. <A
|
|
HREF="requirements.html#number"
|
|
>What Partitions do I need?</A
|
|
></DT
|
|
><DT
|
|
>4.2. <A
|
|
HREF="requirements.html#AEN467"
|
|
>Discussion:</A
|
|
></DT
|
|
><DT
|
|
>4.3. <A
|
|
HREF="requirements.html#AEN493"
|
|
>File Systems</A
|
|
></DT
|
|
><DT
|
|
>4.4. <A
|
|
HREF="requirements.html#SwapSize"
|
|
>Swap Partitions</A
|
|
></DT
|
|
></DL
|
|
></DD
|
|
><DT
|
|
>5. <A
|
|
HREF="fdisk_partitioning.html"
|
|
>Partitioning with fdisk</A
|
|
></DT
|
|
><DD
|
|
><DL
|
|
><DT
|
|
>5.1. <A
|
|
HREF="fdisk_partitioning.html#fdisk"
|
|
>fdisk usage</A
|
|
></DT
|
|
><DT
|
|
>5.2. <A
|
|
HREF="fdisk_partitioning.html#primary-example"
|
|
>Four primary partitions</A
|
|
></DT
|
|
><DT
|
|
>5.3. <A
|
|
HREF="fdisk_partitioning.html#mixed"
|
|
>Mixed primary and logical partitions</A
|
|
></DT
|
|
><DT
|
|
>5.4. <A
|
|
HREF="fdisk_partitioning.html#submitted"
|
|
>Submitted Examples</A
|
|
></DT
|
|
></DL
|
|
></DD
|
|
><DT
|
|
>6. <A
|
|
HREF="labels.html"
|
|
>Labels</A
|
|
></DT
|
|
><DD
|
|
><DL
|
|
><DT
|
|
>6.1. <A
|
|
HREF="labels.html#volumelabels"
|
|
>Volume Labels</A
|
|
></DT
|
|
><DT
|
|
>6.2. <A
|
|
HREF="labels.html#devicelabels"
|
|
>Device Labels</A
|
|
></DT
|
|
></DL
|
|
></DD
|
|
><DT
|
|
>7. <A
|
|
HREF="formatting.html"
|
|
>Formatting an ext2/3 partition</A
|
|
></DT
|
|
><DD
|
|
><DL
|
|
><DT
|
|
>.1. <A
|
|
HREF="formatting.html#formatting-invocation"
|
|
>Simple Invocation</A
|
|
></DT
|
|
><DT
|
|
>.2. <A
|
|
HREF="formatting.html#reservedblocks"
|
|
>Reserved blocks</A
|
|
></DT
|
|
></DL
|
|
></DD
|
|
><DT
|
|
>8. <A
|
|
HREF="recovering.html"
|
|
>Recovering a Deleted Partition Table</A
|
|
></DT
|
|
><DT
|
|
>9. <A
|
|
HREF="setting_up_swap.html"
|
|
>Setting Up Swap Space</A
|
|
></DT
|
|
><DD
|
|
><DL
|
|
><DT
|
|
>9.1. <A
|
|
HREF="setting_up_swap.html#swap_partitions"
|
|
>Swap Files</A
|
|
></DT
|
|
><DT
|
|
>9.2. <A
|
|
HREF="setting_up_swap.html#swapfiles"
|
|
>Swap Files</A
|
|
></DT
|
|
><DT
|
|
>9.3. <A
|
|
HREF="setting_up_swap.html#multiple_swap_areas"
|
|
>Multiple Swap Areas</A
|
|
></DT
|
|
></DL
|
|
></DD
|
|
><DT
|
|
>10. <A
|
|
HREF="appendix.html"
|
|
>Appendix</A
|
|
></DT
|
|
><DD
|
|
><DL
|
|
><DT
|
|
>10.1. <A
|
|
HREF="appendix.html#formating"
|
|
>Formating Partitions</A
|
|
></DT
|
|
><DT
|
|
>10.2. <A
|
|
HREF="appendix.html#swap"
|
|
>Activating Swap Space</A
|
|
></DT
|
|
><DT
|
|
>10.3. <A
|
|
HREF="appendix.html#mounting"
|
|
>Mounting Partitions</A
|
|
></DT
|
|
><DT
|
|
>10.4. <A
|
|
HREF="appendix.html#fragmentation"
|
|
>Some facts about file systems and fragmentation</A
|
|
></DT
|
|
></DL
|
|
></DD
|
|
></DL
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="intro.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Introduction</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |