source: chapter02/creatingpartition.xml@ 6a0e6f3

Last change on this file since 6a0e6f3 was 6a0e6f3, checked in by Matthew Burgess <matthew@…>, 19 years ago
  • Remove the spurious <info> tags that I thought were necessary but evidently aren't

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/LFS-RNG/BOOK@4387 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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