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
|
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>Extended and logical partitions</TITLE>
<META NAME="description" CONTENT="Extended and logical partitions">
<META NAME="keywords" CONTENT="sag">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<LINK REL=STYLESHEET HREF="sag.css">
</HEAD>
<BODY LANG="EN" >
<A NAME="tex2html781" HREF="node38.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="./next_motif.gif"></A> <A NAME="tex2html779" HREF="node35.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="./up_motif.gif"></A> <A NAME="tex2html773" HREF="node36.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="./previous_motif.gif"></A> <A NAME="tex2html783" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="./contents_motif.gif"></A> <A NAME="tex2html784" HREF="node114.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="./index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME="tex2html782" HREF="node38.html">Partition types</A>
<B>Up:</B> <A NAME="tex2html780" HREF="node35.html">Partitions</A>
<B> Previous:</B> <A NAME="tex2html774" HREF="node36.html">The MBRboot sectors </A>
<BR> <P>
<H2><A NAME="SECTION00572000000000000000">Extended and logical partitions</A></H2>
<P>
The original partitioning scheme for PC hard disks allowed
only four partitions. This quickly turned out to be too little
in real life, partly because some people want more than four
operating systems (Linux, MS-DOS, OS/2, Minix, FreeBSD, NetBSD, or
Windows/NT, to name a few), but primarily because sometimes it
is a good idea to have several partitions for one
operating system. For example, swap space is usually best put
in its own partition for Linux instead of in the main
Linux partition for reasons of speed (see below).
<P>
To overcome this design problem, <b>extended partitions</b> were
invented. This trick allows partitioning a <b>primary
partition</b> into sub-partitions. The
primary partition thus subdivided is the extended partition; the
subpartitions are <b>logical partitions</b>. They behave
like primary<A NAME="tex2html17" HREF="footnode.html#1120"><IMG ALIGN=BOTTOM ALT="gif" SRC="./foot_motif.gif"></A> partitions, but are created
differently. There is no speed difference between them.
<P>
The partition structure of a hard disk might look like that in
figure <A HREF="node37.html#figharddisklayout">4.2</A>. The disk is divided into
three primary partitions, the second of which is divided into
two logical partitions. Part of the disk is not partitioned at
all. The disk as a whole and each primary partition has a boot
sector.
<P>
<P><A NAME="1126"> </A><A NAME="figharddisklayout"> </A><IMG WIDTH=281 HEIGHT=276 ALIGN=BOTTOM ALT="figure1122" SRC="img5.gif"><BR>
<STRONG>Figure 4.2:</STRONG> A sample hard disk partitioning.<BR>
<P><BR> <HR>
<P><ADDRESS>
<I>Lars Wirzenius <BR>
Sat Nov 15 02:32:11 EET 1997</I>
</ADDRESS>
</BODY>
</HTML>
|