aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/chapter08.xml1
-rw-r--r--chapter08/fstab.xml31
-rw-r--r--chapter08/introduction.xml3
3 files changed, 34 insertions, 1 deletions
diff --git a/chapter08/chapter08.xml b/chapter08/chapter08.xml
index be5f0ae05..ba515c1af 100644
--- a/chapter08/chapter08.xml
+++ b/chapter08/chapter08.xml
@@ -2,6 +2,7 @@
<title>Making the LFS system bootable</title>
&c8-introduction;
+&c8-fstab;
&c8-kernel;
&c8-lilo;
&c8-reboot;
diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml
new file mode 100644
index 000000000..d896e5f77
--- /dev/null
+++ b/chapter08/fstab.xml
@@ -0,0 +1,31 @@
+<sect1 id="ch07-fstab">
+<title>Creating the /etc/fstab file</title>
+
+<para>
+In order for certain programs to be able to determine where certain
+partitions are supposed to be mounted by default, the /etc/fstab file is
+used. A new file <filename>/etc/fstab</filename> is created containing the
+following:
+</para>
+
+<literallayout>
+<userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"</userinput>
+# Begin /etc/fstab
+
+/dev/&lt;LFS-partition designation&gt; / &lt;fs-type&gt; defaults 1 1
+/dev/&lt;swap-partition designation&gt; swap swap defaults 0 0
+proc /proc proc defaults 0 0
+
+# End /etc/fstab
+<userinput>EOF</userinput>
+</literallayout>
+
+<para>
+&lt;LFS-partition designation&gt;, &lt;swap-partition
+designation&gt; and &lt;fs-type&gt; have to be replaced with the appropriate
+ values
+(/dev/hda2, /dev/hda5 and reiserfs for example).
+</para>
+
+</sect1>
+
diff --git a/chapter08/introduction.xml b/chapter08/introduction.xml
index d1c95d498..04fe57aec 100644
--- a/chapter08/introduction.xml
+++ b/chapter08/introduction.xml
@@ -2,7 +2,8 @@
<title>Introduction</title>
<para>
-This chapter will make LFS bootable. This chapter deals with building a
+This chapter will make LFS bootable. This chapter deals with creating a
+new fstab file, building a
new kernel for the new LFS system and adding the proper entries to LILO
so that the LFS system can be selected for booting at the LILO: prompt.
</para>