diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2013-02-11 20:09:22 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2013-02-11 20:09:22 +0000 |
commit | 2ca8941c1fd5739874e4c29bd5ad176b21587a3d (patch) | |
tree | 1b004a17a2583b2df6608c2e47870b73f102b5ee /chapter08 | |
parent | c0220ed5ba7ba1e225c98fa61ada101103548bf3 (diff) |
Remove trailing whitespace from all files.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10121 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter08')
-rw-r--r-- | chapter08/fstab.xml | 2 | ||||
-rw-r--r-- | chapter08/grub.xml | 24 | ||||
-rw-r--r-- | chapter08/kernel.xml | 6 |
3 files changed, 16 insertions, 16 deletions
diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml index 39873d650..066c3b901 100644 --- a/chapter08/fstab.xml +++ b/chapter08/fstab.xml @@ -103,7 +103,7 @@ EOF</userinput></screen> failures for some hard disk types. To do this, add the <option>barrier=1</option> mount option to the appropriate entry in <filename>/etc/fstab</filename>. To check if the disk drive supports - this option, run + this option, run <ulink url="http://www.linuxfromscratch.org/blfs/view/cvs/general/hdparm.html">hdparm</ulink> on the applicable disk drive. For example, if:</para> diff --git a/chapter08/grub.xml b/chapter08/grub.xml index 8d92d5ea7..1ff73d777 100644 --- a/chapter08/grub.xml +++ b/chapter08/grub.xml @@ -47,8 +47,8 @@ xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso</userinput></ the form of <emphasis>(hdn,m)</emphasis>, where <emphasis>n</emphasis> is the hard drive number and <emphasis>m</emphasis> is the partition number. The hard drive number starts from zero, but the partition number - starts from one for normal partitions and five for extended partitions. - Note that this is different from earlier versions where + starts from one for normal partitions and five for extended partitions. + Note that this is different from earlier versions where both numbers started from zero. For example, partition <filename class="partition">sda1</filename> is <emphasis>(hd0,1)</emphasis> to GRUB and <filename class="partition">sdb3</filename> is @@ -63,7 +63,7 @@ xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso</userinput></ <sect2> <title>Setting Up the Configuration</title> - <para>GRUB works by writing data to the first physical track of the + <para>GRUB works by writing data to the first physical track of the hard disk. This area is not part of any file system. The programs there access GRUB modules in the boot partition. The default location is /boot/grub/.</para> @@ -90,19 +90,19 @@ xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso</userinput></ class="partition">sda2</filename>.</para> <para>Install the GRUB files into <filename - class="directory">/boot/grub</filename> and set up the boot track:</para> + class="directory">/boot/grub</filename> and set up the boot track:</para> <warning> <para>The following command will overwrite the current boot loader. Do not run the command if this is not desired, for example, if using a third party - boot manager to manage the Master Boot Record (MBR).</para> + boot manager to manage the Master Boot Record (MBR).</para> </warning> <screen role="nodump"><userinput>grub-install /dev/sda</userinput></screen> <!-- This does not seem to be true any more - <note><para><application>grub-install</application> is a script and calls another - program, grub-probe, that may fail with a message "cannot stat `/dev/root'". + <note><para><application>grub-install</application> is a script and calls another + program, grub-probe, that may fail with a message "cannot stat `/dev/root'". If so, create a temporary symbolic link from your root partition to /dev/root:</para> <screen role="nodump"><userinput>ln -sv /dev/sda2 /dev/root</userinput></screen> @@ -136,20 +136,20 @@ EOF</userinput></screen> used a separate /boot partition, remove /boot from the above <emphasis>linux</emphasis> line. You will also need to change the <emphasis>set root</emphasis> line to point to the boot partition. - </para></note> + </para></note> <para>GRUB is an extremely powerful program and it provides a tremendous number of options for booting from a wide variety of devices, operating - systems, and partition types. There are also many options for customization + systems, and partition types. There are also many options for customization such as graphical splash screens, playing sounds, mouse input, etc. The details of these options are beyond the scope of this introduction.</para> <caution><para>There is a command, <application>grub-mkconfig</application>, that can write a configuration file automatically. It uses a set of scripts in /etc/grub.d/ and will destroy any customizations that you make. These scripts - are designed primarily for non-source distributions and are not recommended for - LFS. If you install a commercial Linux distribution, there is a good chance - that this program will be run. Be sure to back up your grub.cfg file.</para></caution> + are designed primarily for non-source distributions and are not recommended for + LFS. If you install a commercial Linux distribution, there is a good chance + that this program will be run. Be sure to back up your grub.cfg file.</para></caution> </sect2> diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml index fbca889fb..7eed8d290 100644 --- a/chapter08/kernel.xml +++ b/chapter08/kernel.xml @@ -65,7 +65,7 @@ <note><para>Due to recent changes in <application>udev</application>, be sure to select:</para> - + <screen role="nodump">Device Drivers ---> Generic Driver Options ---> Maintain a devtmpfs filesystem to mount at /dev</screen></note> @@ -134,7 +134,7 @@ <para><filename>System.map</filename> is a symbol file for the kernel. It maps the function entry points of every function in the kernel API, as well as the addresses of the kernel data structures for the running - kernel. It is used as a resource when investigating kernel problems. + kernel. It is used as a resource when investigating kernel problems. Issue the following command to install the map file:</para> <screen><userinput remap="install">cp -v System.map /boot/System.map-&linux-version;</userinput></screen> @@ -228,7 +228,7 @@ EOF</userinput></screen> <segtitle>Installed directories</segtitle> <seglistitem> - <seg>config-&linux-version;, + <seg>config-&linux-version;, vmlinux-&linux-version;-lfs-&version;-&linux-version;, and System.map-&linux-version;</seg> <seg>/lib/modules, /usr/share/doc/linux-&linux-version;</seg> |