source: chapter03/creatingpart.xml@ f57e3d1

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 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
Last change on this file since f57e3d1 was 238527e, checked in by Alex Gronenwoud <alex@…>, 21 years ago

Minor adjustments, mainly of markup. And dropping file removal from the 'stripping' phase -- the files are small.

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

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