source: partitioning/common/creatingpartition.xml@ ef0b1e4

clfs-1.0.0-rc1
Last change on this file since ef0b1e4 was b71fa50, checked in by Chris Staub <chris@…>, 19 years ago

Changed many 'LFS' references to 'CLFS'

  • Property mode set to 100644
File size: 2.9 KB
RevLine 
[bf8c11f]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-partitioning-creatingpartition">
9 <?dbhtml filename="creatingpartition.html"?>
10
11 <title>Creating a New Partition</title>
12
[578b4a4d]13 <para os="a">Like most other operating systems, CLFS is usually installed on
14 a dedicated partition. The recommended approach to building a CLFS
[bf8c11f]15 system is to use an available empty partition or, if you have enough
[578b4a4d]16 unpartitioned space, to create one. However, a CLFS system (in fact
17 even multiple CLFS systems) may also be installed on a partition already
[bf8c11f]18 occupied by another operating system and the different systems will
19 co-exist peacefully. The document <ulink
20 url="&hints-root;lfs_next_to_existing_systems.txt"/> explains how to
21 implement this, whereas this book discusses the method of using a fresh
22 partition for the installation.</para>
23
24 <para os="b">A minimal system requires a partition of around 1.3 gigabytes (GB).
25 This is enough to store all the source tarballs and compile the packages.
[578b4a4d]26 However, if the CLFS system is intended to be the primary Linux system,
[bf8c11f]27 additional software will probably be installed which will require
[b71fa50]28 additional space (2-3 GB). The CLFS system itself will not take up this
[bf8c11f]29 much room. A large portion of this requirement is to provide sufficient
30 free temporary storage. Compiling packages can require a lot of disk space
31 which will be reclaimed after the package is installed.</para>
32
33 <para os="c">Because there is not always enough Random Access Memory (RAM)
34 available for compilation processes, it is a good idea to use a small disk
35 partition as swap space. This is used by the kernel to store seldom-used
36 data and leave more memory available for active processes. The swap
[b71fa50]37 partition for an CLFS system can be the same as the one used by the host
[bf8c11f]38 system, in which case it is not necessary to create another one.</para>
39
40 <para os="d">Start a disk partitioning program such as <command>cfdisk</command>
41 or <command>fdisk</command> with a command line option naming the hard
42 disk on which the new partition will be created&mdash;for example
43 <filename class="devicefile">/dev/hda</filename> for the primary
44 Integrated Drive Electronics (IDE) disk. Create a Linux native partition
45 and a swap partition, if needed. Please refer to
46 <filename>cfdisk(8)</filename> or <filename>fdisk(8)</filename> if you
47 do not yet know how to use the programs.</para>
48
49 <para os="e">Remember the designation of the new partition (e.g.,
50 <filename class="devicefile">hda5</filename>). This book will refer to
[578b4a4d]51 this as the CLFS partition. Also remember the designation of the swap
[bf8c11f]52 partition. These names will be needed later for the
53 <filename>/etc/fstab</filename> file.</para>
54
55</sect1>
Note: See TracBrowser for help on using the repository browser.