- Timestamp:
- 02/11/2013 08:09:22 PM (11 years ago)
- Branches:
- 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, 7.3, 7.4, 7.5, 7.6, 7.7, 7.8, 7.9, 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, 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
- Children:
- c1ec480
- Parents:
- c0220ed
- Location:
- chapter08
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/fstab.xml
rc0220ed r2ca8941 104 104 <option>barrier=1</option> mount option to the appropriate entry in 105 105 <filename>/etc/fstab</filename>. To check if the disk drive supports 106 this option, run 106 this option, run 107 107 <ulink url="http://www.linuxfromscratch.org/blfs/view/cvs/general/hdparm.html">hdparm</ulink> 108 108 on the applicable disk drive. For example, if:</para> -
chapter08/grub.xml
rc0220ed r2ca8941 48 48 is the hard drive number and <emphasis>m</emphasis> is the partition 49 49 number. The hard drive number starts from zero, but the partition number 50 starts from one for normal partitions and five for extended partitions. 51 Note that this is different from earlier versions where 50 starts from one for normal partitions and five for extended partitions. 51 Note that this is different from earlier versions where 52 52 both numbers started from zero. For example, partition <filename 53 53 class="partition">sda1</filename> is <emphasis>(hd0,1)</emphasis> to … … 64 64 <title>Setting Up the Configuration</title> 65 65 66 <para>GRUB works by writing data to the first physical track of the 66 <para>GRUB works by writing data to the first physical track of the 67 67 hard disk. This area is not part of any file system. The programs 68 68 there access GRUB modules in the boot partition. The default location … … 91 91 92 92 <para>Install the GRUB files into <filename 93 class="directory">/boot/grub</filename> and set up the boot track:</para> 93 class="directory">/boot/grub</filename> and set up the boot track:</para> 94 94 95 95 <warning> 96 96 <para>The following command will overwrite the current boot loader. Do not 97 97 run the command if this is not desired, for example, if using a third party 98 boot manager to manage the Master Boot Record (MBR).</para> 98 boot manager to manage the Master Boot Record (MBR).</para> 99 99 </warning> 100 100 … … 102 102 103 103 <!-- This does not seem to be true any more 104 <note><para><application>grub-install</application> is a script and calls another 105 program, grub-probe, that may fail with a message "cannot stat `/dev/root'". 104 <note><para><application>grub-install</application> is a script and calls another 105 program, grub-probe, that may fail with a message "cannot stat `/dev/root'". 106 106 If so, create a temporary symbolic link from your root partition to /dev/root:</para> 107 107 … … 137 137 <emphasis>linux</emphasis> line. You will also need to change the 138 138 <emphasis>set root</emphasis> line to point to the boot partition. 139 </para></note> 139 </para></note> 140 140 141 141 <para>GRUB is an extremely powerful program and it provides a tremendous 142 142 number of options for booting from a wide variety of devices, operating 143 systems, and partition types. There are also many options for customization 143 systems, and partition types. There are also many options for customization 144 144 such as graphical splash screens, playing sounds, mouse input, etc. The 145 145 details of these options are beyond the scope of this introduction.</para> … … 148 148 can write a configuration file automatically. It uses a set of scripts in 149 149 /etc/grub.d/ and will destroy any customizations that you make. These scripts 150 are designed primarily for non-source distributions and are not recommended for 151 LFS. If you install a commercial Linux distribution, there is a good chance 152 that this program will be run. Be sure to back up your grub.cfg file.</para></caution> 150 are designed primarily for non-source distributions and are not recommended for 151 LFS. If you install a commercial Linux distribution, there is a good chance 152 that this program will be run. Be sure to back up your grub.cfg file.</para></caution> 153 153 154 154 </sect2> -
chapter08/kernel.xml
rc0220ed r2ca8941 66 66 <note><para>Due to recent changes in <application>udev</application>, be sure to 67 67 select:</para> 68 68 69 69 <screen role="nodump">Device Drivers ---> 70 70 Generic Driver Options ---> … … 135 135 It maps the function entry points of every function in the kernel API, 136 136 as well as the addresses of the kernel data structures for the running 137 kernel. It is used as a resource when investigating kernel problems. 137 kernel. It is used as a resource when investigating kernel problems. 138 138 Issue the following command to install the map file:</para> 139 139 … … 229 229 230 230 <seglistitem> 231 <seg>config-&linux-version;, 231 <seg>config-&linux-version;, 232 232 vmlinux-&linux-version;-lfs-&version;-&linux-version;, and 233 233 System.map-&linux-version;</seg>
Note:
See TracChangeset
for help on using the changeset viewer.