[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 | ]>
|
---|
| 6 | <sect1 id="space-creatingpartition">
|
---|
| 7 | <title>Creating a new partition</title>
|
---|
| 8 | <?dbhtml filename="creatingpartition.html"?>
|
---|
| 9 |
|
---|
[1422130] | 10 | <para>See testing</para>
|
---|
| 11 |
|
---|
| 12 | <!--
|
---|
[673b0d8] | 13 | <para>In order to build our new Linux system, we will need some space:
|
---|
| 14 | an empty disk partition. If you don't have a free partition, and no room
|
---|
| 15 | on any of your hard disks to make one, then you could build LFS on the
|
---|
| 16 | same partition as the one on which your current distribution is installed.
|
---|
| 17 | This procedure is not recommended for your first LFS install, but if you
|
---|
| 18 | are short on disk space, and you feel brave, take a look at the hint at
|
---|
| 19 | <ulink url="&hints-root;lfs_next_to_existing_systems.txt"/>.</para>
|
---|
| 20 |
|
---|
| 21 | <para>For a minimal system you will need a partition of around 1.3 GB.
|
---|
| 22 | This is enough to store all the source tarballs and compile all the packages.
|
---|
| 23 | But if you intend to use the LFS system as your primary Linux system, you
|
---|
| 24 | will probably want to install additional software, and will need more space
|
---|
| 25 | than this, probably around 2 or 3 GB.</para>
|
---|
| 26 |
|
---|
| 27 | <para>As we almost never have enough RAM in our box, it is a good idea to
|
---|
[1422130] | 28 | use a small disk partition as swap space - this space is used by the kernel
|
---|
[673b0d8] | 29 | to store seldom-used data to make room in memory for more urgent stuff.
|
---|
| 30 | The swap partition for your LFS system can be the same one as for your host
|
---|
| 31 | system, so you won't have to create another if your host system already uses
|
---|
| 32 | a swap partition.</para>
|
---|
| 33 |
|
---|
[55851d6] | 34 | <para>Start a disk partitioning program such as <command>cfdisk</command>
|
---|
| 35 | or <command>fdisk</command> with an argument naming the hard disk upon
|
---|
[1422130] | 36 | which the new partition must be created - for example
|
---|
[673b0d8] | 37 | <filename>/dev/hda</filename> for the primary IDE disk. Create a Linux native
|
---|
| 38 | partition and a swap partition, if needed. Please refer to the man pages of
|
---|
[55851d6] | 39 | <command>cfdisk</command> or <command>fdisk</command> if you don't yet
|
---|
[673b0d8] | 40 | know how to use the programs.</para>
|
---|
| 41 |
|
---|
[1422130] | 42 | <para>Remember the designation of your new partition - something like
|
---|
[673b0d8] | 43 | <filename>hda5</filename>. This book will refer to it as the LFS partition.
|
---|
| 44 | If you (now) also have a swap partition, remember its designation too. These
|
---|
| 45 | names will later be needed for the <filename>/etc/fstab</filename> file.</para>
|
---|
[1422130] | 46 | -->
|
---|
[673b0d8] | 47 |
|
---|
| 48 | </sect1>
|
---|