Ticket #2549: lfs-book.patch
File lfs-book.patch, 2.2 KB (added by , 15 years ago) |
---|
-
trunk/BOOK/chapter06/grub.xml
52 52 --disable-efiemu</userinput></screen> 53 53 54 54 <para>Using a separate build directory keeps the 2400 generated 55 files out of the main directory and is recomme ded by the developers.55 files out of the main directory and is recommended by the developers. 56 56 The --disable switches just minimize what is built by disabling 57 57 features and testing programs not really needed for LFS.</para> 58 58 -
trunk/BOOK/chapter08/grub.xml
85 85 86 86 <screen role="nodump"><userinput>grub-install --grub-setup=/bin/true /dev/sda</userinput></screen> 87 87 88 <para>We use --grub-setup=/bin/true for now to prevent updat ethe88 <para>We use --grub-setup=/bin/true for now to prevent updating the 89 89 Master Boot Record (MBR). In this way, we can test our installation 90 90 before committing to a change that is hard to revert.</para> 91 91 … … 148 148 </computeroutput></screen> 149 149 150 150 <para>Note that even though there is a warning not to edit the file, you can 151 do so as long as you do not re-r eun <command>grub-mkconfig</command>. The151 do so as long as you do not re-run <command>grub-mkconfig</command>. The 152 152 <emphasis>search</emphasis> lines are not meaningful for LFS systems as that 153 153 command needs an initrd image for processing. If installing on a separate 154 154 partition the linux and initrd lines will not have the /boot on the file … … 214 214 instruction is not found in grub.cfg. This is the partition that is 215 215 searched for the kernel and other supporting files. It is different from 216 216 the 'root=' parameter on the 'linux' line in the configuration line. The 217 lat er is the partition the kernel mounts as '/'. In the example grub.cfg217 latter is the partition the kernel mounts as '/'. In the example grub.cfg 218 218 above, both values point to /dev/sda2, but if there is a separate boot 219 219 partition, they will be different.</para></note> 220 220