creatingpart.xml 1.9 KB

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