aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2005-01-30 12:51:22 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2005-01-30 12:51:22 +0000
commitd72e04ae7c868b734e3ad39982b169c71444f541 (patch)
tree8009bd8eb42c8b44e5c78decfd41c579e74a2c3b /chapter08
parentbce08efc719e0824225490272cefa848a2313b24 (diff)
Added <literal> tags.
Added NEW comments to commands that differs from testing. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4599 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/fstab.xml20
-rw-r--r--chapter08/grub.xml12
-rw-r--r--chapter08/kernel.xml4
3 files changed, 19 insertions, 17 deletions
diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml
index 443f21e9c..7faeaabb2 100644
--- a/chapter08/fstab.xml
+++ b/chapter08/fstab.xml
@@ -7,19 +7,19 @@
<title>Creating the /etc/fstab File</title>
<?dbhtml filename="fstab.html"?>
-
<screen><userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"
-# Begin /etc/fstab
+<literal># Begin /etc/fstab
-# file system mount-point fs-type options dump fsck-order
+# file system mount-point type options dump fsck
+# order
-/dev/<replaceable>[xxx]</replaceable> / <replaceable>[fff]</replaceable> defaults 1 1
-/dev/<replaceable>[yyy]</replaceable> swap swap pri=1 0 0
-proc /proc proc defaults 0 0
-sysfs /sys sysfs defaults 0 0
-devpts /dev/pts devpts gid=4,mode=620 0 0
-shm /dev/shm tmpfs defaults 0 0
-# End /etc/fstab
+/dev/<replaceable>[xxx]</replaceable> / <replaceable>[fff]</replaceable> defaults 1 1
+/dev/<replaceable>[yyy]</replaceable> swap swap pri=1 0 0
+proc /proc proc defaults 0 0
+sysfs /sys sysfs defaults 0 0
+devpts /dev/pts devpts gid=4,mode=620 0 0
+shm /dev/shm tmpfs defaults 0 0
+# End /etc/fstab</literal>
EOF</userinput></screen>
</sect1>
diff --git a/chapter08/grub.xml b/chapter08/grub.xml
index 3ccad5339..970194b57 100644
--- a/chapter08/grub.xml
+++ b/chapter08/grub.xml
@@ -38,7 +38,7 @@ files -- you can use the Tab key everywhere to make Grub show the alternatives:<
boot menu:</para>
<screen><userinput>cat &gt; /boot/grub/menu.lst &lt;&lt; "EOF"
-# Begin /boot/grub/menu.lst
+<literal># Begin /boot/grub/menu.lst
# By default boot the first menu entry.
default 0
@@ -52,26 +52,26 @@ color green/black light-green/black
# The first entry is for LFS.
title LFS &version;
root (hd0,3)
-kernel /boot/lfskernel-&linux-version; root=/dev/hda4
+kernel /boot/lfskernel-&linux-version; root=/dev/hda4</literal>
EOF</userinput></screen>
<para>You may want to add an entry for your host distribution. It might look
like this:</para>
<screen><userinput>cat &gt;&gt; /boot/grub/menu.lst &lt;&lt; "EOF"
-title Red Hat
+<literal>title Red Hat
root (hd0,2)
kernel /boot/kernel-2.4.20 root=/dev/hda3
-initrd /boot/initrd-2.4.20
+initrd /boot/initrd-2.4.20</literal>
EOF</userinput></screen>
<para>Also, if you happen to dual-boot Windows, the following entry should
allow booting it:</para>
<screen><userinput>cat &gt;&gt; /boot/grub/menu.lst &lt;&lt; "EOF"
-title Windows
+<literal>title Windows
rootnoverify (hd0,0)
-chainloader +1
+chainloader +1</literal>
EOF</userinput></screen>
<para>The FHS stipulates that Grub's menu.lst file should be symlinked to
diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml
index 01bac036b..5a4c60c90 100644
--- a/chapter08/kernel.xml
+++ b/chapter08/kernel.xml
@@ -33,11 +33,13 @@ processes to gain root privledges upon loading of a kernel module. See:
<screen><userinput>make mrproper</userinput></screen>
+<!--NEW: the sed command has been removed-->
+
<para>If, in <xref linkend="ch-scripts-console"/>, you decided you want
to compile the keymap into the kernel, issue the command below:</para>
<screen><userinput>loadkeys -m /usr/share/kbd/keymaps/<replaceable>[path to keymap]</replaceable> &gt; \
- <replaceable>[unpacked sources dir]</replaceable>/linux-&linux-version;/drivers/char/defkeymap.c</userinput></screen>
+ drivers/char/defkeymap.c</userinput></screen>
<para>Configure the kernel via a menu-driven interface:</para>