Changeset 9a207c4 for chapter02/creatingpartition.xml
- Timestamp:
- 08/08/2004 02:10:00 AM (20 years ago)
- Branches:
- 6.0
- Children:
- 843710f
- Parents:
- 6e35438
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter02/creatingpartition.xml
r6e35438 r9a207c4 5 5 ]> 6 6 <sect1 id="space-creatingpartition"> 7 <title>Creating a new partition</title>7 <title>Creating a New Partition</title> 8 8 <?dbhtml filename="creatingpartition.html"?> 9 9 10 <para>In order to build our new Linux system, we will need some space: 11 an empty disk partition. If you don't have a free partition, and no room 12 on any of your hard disks to make one, then you could build LFS on the 13 same partition as the one on which your current distribution is installed. 14 This procedure is not recommended for your first LFS install, but if you 15 are short on disk space, and you feel brave, take a look at the hint at 16 <ulink url="&hints-root;lfs_next_to_existing_systems.txt"/>.</para> 10 <para>In order to build a new Linux system, space is required -- an 11 empty disk partition. If the computer does not have a free partition 12 or room on any of the hard disks to make one, LFS can be built on the 13 same partition where the current distribution is installed.</para> 17 14 18 <para>For a minimal system you will need a partition of around 1.3 GB. 19 This is enough to store all the source tarballs and compile all the packages. 20 But if you intend to use the LFS system as your primary Linux system, you 21 will probably want to install additional software, and will need more space 22 than this, probably around 2 or 3 GB.</para> 15 <note><para>This procedure is not recommended for your first LFS 16 install, but if you are short on disk space and feel brave, you can 17 use the hint at <ulink 18 url="&hints-root;lfs_next_to_existing_systems.txt"/>.</para></note> 23 19 24 <para>As we almost never have enough RAM in our box, it is a good idea to 25 use a small disk partition as swap space -- this space is used by the kernel 26 to store seldom-used data to make room in memory for more urgent stuff. 27 The swap partition for your LFS system can be the same one as for your host 28 system, so you won't have to create another if your host system already uses 29 a swap partition.</para> 20 <para>A minimal system requires a partition of around 1.3 gigabytes 21 (GB). This is enough to store all the source tarballs and compile all 22 the packages. However, if the LFS system is intended to be the primary 23 Linux system, additional software will probably be installed which 24 will require additional space (2 or 3 GB). The LFS system itself will 25 not take up this much space. A large portion of this required amount 26 of space is to provide sufficient free temporary space. Compiling 27 packages can require a lot of disk space which will be reclaimed after 28 the package is installed, but you do need it temporarily.</para> 30 29 31 <para>Start a disk partitioning program such as <command>cfdisk</command> 32 or <command>fdisk</command> with an argument naming the hard disk upon 33 which the new partition must be created -- for example 34 <filename>/dev/hda</filename> for the primary IDE disk. Create a Linux native 35 partition and a swap partition, if needed. Please refer to the man pages of 36 <command>cfdisk</command> or <command>fdisk</command> if you don't yet 37 know how to use the programs.</para> 30 <para>Because there is rarely enough RAM available for the process, it 31 is a good idea to use a small disk partition as swap space. This 32 space is used by the kernel to store seldom-used data to make room in 33 memory for active processes. The swap partition for an LFS system can 34 be the same as the your host system, so another swap partition will 35 not need to be created if your host system already uses one.</para> 38 36 39 <para>Remember the designation of your new partition -- something like 40 <filename>hda5</filename>. This book will refer to it as the LFS partition. 41 If you (now) also have a swap partition, remember its designation too. These 42 names will later be needed for the <filename>/etc/fstab</filename> file.</para> 37 <para>Start a disk partitioning program such as 38 <command>cfdisk</command> or <command>fdisk</command> with an command 39 line option naming the hard disk on which the new partition will be 40 created -- for example <filename>/dev/hda</filename> for the primary 41 Integrated Drive Electronics (IDE) disk. Create a Linux native 42 partition and a swap partition, if needed. Please refer to the man 43 pages of <command>cfdisk</command> or <command>fdisk</command> if you 44 do not yet know how to use the programs.</para> 45 46 <para>Remember the designation of the new partition (e.g., 47 <filename>hda5</filename>). This book will refer to this as the LFS 48 partition. Also remember the designation of the swap partition. These 49 names will be needed later for the <filename>/etc/fstab</filename> 50 file.</para> 43 51 44 52 </sect1> 53
Note:
See TracChangeset
for help on using the changeset viewer.