- Timestamp:
- 08/15/2002 05:39:08 PM (22 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v4_0, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 4735209
- Parents:
- d29479a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter03/creatingpart.xml
rd29479a r63d5562d 3 3 <?dbhtml filename="creatingpart.html" dir="chapter04"?> 4 4 5 <para> First, let's start with telling you that it is possible to build LFS6 on only one partition, which is where your original distribution is 7 installed. This is not recommended if it is the first time you try LFS, 8 but may be useful if you are short on disk space. If you feel brave, take 9 a look at the<emphasis>Install LFS next to existing systems on the same10 partition</emphasis> hint at <ulink 5 <para>It is possible to build LFS on only one partition - the partition 6 in which your original distribution is installed. While this is not 7 recommended for your first LFS installation, it may be useful if you 8 are short on disk space. If you feel brave, take a look at the 9 <emphasis>Install LFS next to existing systems on the same 10 partition</emphasis> hint at <ulink 11 11 url="&hints-root;lfs_next_to_existing_systems.txt"/>.</para> 12 12 13 <para>Before we can build our new Linux system, we need to have an empty Linux 14 partition on which we can build our new system. We recommend a partition size 15 of around 1 GB. This gives enough space to store all the tarballs and 16 to compile all packages without worrying about running out of the necessary 17 temporary disk space. But you probably want more space than that if you 18 plan to use the LFS system as your primary Linux system. If that's the 19 case you'd want more space so you can install additional software. If a 20 Linux Native partition is already available, this subsection can be 21 skipped.</para> 13 <para>Before we can build our new Linux system, we need an empty 14 Linux partition where we can build it. We recommend a partition size 15 of at least 1 GB. This provides enough space to store the tarballs and 16 compile all of the packages. You will probably need more space if you 17 intend to install additional software and use the LFS system as your 18 primary Linux system. If a Linux Native partition is already available, 19 this subsection can be skipped.</para> 22 20 23 <para>The cfdisk program (or another fdisk like program you prefer) is 24 to be started with the appropriate hard disk as the option (like /dev/hda 25 if a new partition is to be created on the primary master IDE disk). It is 26 used to create a Linux Native partition and to write the partition table. 27 Please refer to the documentation that comes with your fdisk program of 28 choice (the man pages are often a good place to start) and read the 29 procedures about how to create a new Linux native partition and how to 30 write the partition table.</para> 21 <para>Since your system memory can only hold a limited amount of data 22 at one time, we recommend that disk space be set aside for swap files. 23 A swap file is a place where items in memory may be stored until they 24 are called for. This disk space may be shared between your host system 25 and your LFS system. If you already have a swap partition, then you 26 probably don't need to create another one. Otherwise, you should create 27 a swap partition via an fdisk program. Regardless, you need to remember 28 the designation of the swap partition (such as hda2) as it will be needed 29 when we create the <filename>/etc/fstab</filename> file.</para> 31 30 32 <para>The new partition's designation should be remembered. It 33 could be something like hda11. This newly created partition will be 34 referred to as the LFS partition in this book.</para> 31 <para>The cfdisk program (or another fdisk-like program) should be 32 started with the appropriate hard disk as the argument (like /dev/hda 33 if a new partition is to be created on the primary master IDE disk). 34 Using this program, create a Linux Native partition. Please refer to 35 the documentation of your fdisk program (the man pages are often a 36 good place to start) for information about creating Linux native 37 partitions and writing partition tables.</para> 38 39 <para>The designation of your new partition should be remembered. 40 It might be something similar to hda11. This newly created partition 41 will be referred to as the LFS partition in this book.</para> 35 42 36 43 </sect1> 37
Note:
See TracChangeset
for help on using the changeset viewer.