[6370fa6] | 1 | <sect1 id="ch04-creatingpart">
|
---|
| 2 | <title>Creating a new partition</title>
|
---|
| 3 |
|
---|
[b822811] | 4 | <para>First, let me tell you that it is possible to build LFS on only
|
---|
| 5 | one partition, which is where your original distribution is installed. This
|
---|
| 6 | is not recommended if it is the first time you try LFS, but may be useful
|
---|
| 7 | if you are short on disk space. If you feel brave, take a look at the
|
---|
| 8 | one partition hint at
|
---|
[b4ffa369] | 9 | <ulink
|
---|
[a4a7eff] | 10 | url="&hint-root;one-partition-hint.txt">&hint-root;one-partition-hint.txt</ulink>.</para>
|
---|
[9a0cfdf] | 11 |
|
---|
[b822811] | 12 | <para>Before we can build our new Linux system, we need to have an empty Linux
|
---|
[6370fa6] | 13 | partition on which we can build our new system. I recommend a partition size
|
---|
[6dc64f6] | 14 | of at least 750 MB. This gives enough space to store all the tarballs and
|
---|
[77ae47c] | 15 | to compile all packages without worrying about running out of the necessary
|
---|
[6dc64f6] | 16 | temporary disk space. But you probably want more space than that if you
|
---|
| 17 | plan to use the LFS system as your primary Linux system. If that's the
|
---|
| 18 | case you'd want more space so you can install additional software. If a
|
---|
[b822811] | 19 | Linux Native partition is already available, this subsection can be skipped.</para>
|
---|
[6370fa6] | 20 |
|
---|
[b822811] | 21 | <para>The cfdisk program (or another fdisk like program you prefer)) is
|
---|
[6dc64f6] | 22 | started with the appropriate hard disk as the option (like /dev/hda if a
|
---|
| 23 | new partition is to be created on the primary master IDE disk). It is used
|
---|
| 24 | to create a Linux Native partition, write the partition table and exit the
|
---|
[0c396df] | 25 | cfdisk program. Please refer to the documentation that comes with your
|
---|
| 26 | fdisk program of choice (the man pages are often a good place to start)
|
---|
| 27 | and read the procedures about how to create a new Linux native
|
---|
[b822811] | 28 | partition and how to write the partition table.</para>
|
---|
[0c396df] | 29 |
|
---|
[b822811] | 30 | <para>The new partition's designation should be remembered. It
|
---|
[0c396df] | 31 | could be something like hda11. This newly created partition will be
|
---|
[b822811] | 32 | referred to as the LFS partition in this book.</para>
|
---|
[6370fa6] | 33 |
|
---|
| 34 | </sect1>
|
---|
| 35 |
|
---|