Author: jim
Date: 2005-07-07 14:59:17 -0600 (Thu, 07 Jul 2005)
New Revision: 6436

Modified:
   branches/cross-lfs/BOOK/
   branches/cross-lfs/BOOK/reboot/x86_64/grub-build.xml
Log:
 [EMAIL PROTECTED]:  jim | 2005-07-07 13:55:03 -0700
 Made x86_64 grub 32bit, so we have a working build. Will find proper 64 bit 
fixes



Property changes on: branches/cross-lfs/BOOK
___________________________________________________________________
Name: svk:merge
   - 7321b066-45f8-0310-a5e2-f63eff31be55:/cross-lfs:6763
dfc39d96-41f8-0310-9e44-b84af8e7c7f6:/books/local:5516
   + 7321b066-45f8-0310-a5e2-f63eff31be55:/cross-lfs:6776
dfc39d96-41f8-0310-9e44-b84af8e7c7f6:/books/local:5516

Modified: branches/cross-lfs/BOOK/reboot/x86_64/grub-build.xml
===================================================================
--- branches/cross-lfs/BOOK/reboot/x86_64/grub-build.xml        2005-07-07 
20:01:55 UTC (rev 6435)
+++ branches/cross-lfs/BOOK/reboot/x86_64/grub-build.xml        2005-07-07 
20:59:17 UTC (rev 6436)
@@ -40,10 +40,41 @@
 
   </sect2>
 
-  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
-  href="../x86/grub-build.xml"
-    xpointer="xpointer(//[EMAIL PROTECTED]'installation'])"/>
+  <sect2 role="installation">
+    <title>Installation of Grub</title>
 
+    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude";
+    href="../../final-system/x86/grub.xml"
+    xpointer="xpointer(id('install-grub')/para[1])"/>
+
+    <para>Prepare Grub for compilation:</para>
+
+<screen><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=${LFS}/usr \
+   --host=${LFS_TARGET32}</userinput></screen>
+
+    <para>Compile the package:</para>
+
+<screen><userinput>make</userinput></screen>
+
+    <para>Install the package:</para>
+
+<screen><userinput>make install
+mkdir ${LFS}/boot/grub
+cp ${LFS}/usr/lib/grub/i386-pc/stage{1,2} ${LFS}/boot/grub</userinput></screen>
+
+    <para>Replace <filename class="directory">i386-pc</filename> with whatever
+    directory is appropriate for the hardware in use.</para>
+
+    <para>The <filename class="directory">i386-pc</filename> directory
+    contains a number of <filename>*stage1_5</filename> files, different
+    ones for different file systems. Review the files available and copy
+    the appropriate ones to the <filename
+    class="directory">${LFS}/boot/grub</filename> directory. Most users will
+    copy the <filename>e2fs_stage1_5</filename> and/or
+    <filename>reiserfs_stage1_5</filename> files.</para>
+
+  </sect2>
+
   <sect2 role="content">
     <title/>
 

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to