Bläddra i källkod

Fixed creation of a GRUB boot disk. Fixes #2706.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9336 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 15 år sedan
förälder
incheckning
154c0ce4df
2 ändrade filer med 17 tillägg och 2 borttagningar
  1. 11 0
      chapter01/changelog.xml
  2. 6 2
      chapter08/grub.xml

+ 11 - 0
chapter01/changelog.xml

@@ -36,6 +36,17 @@
     </listitem>
 
 -->
+    <listitem>
+      <para>2010-07-07</para>
+      <itemizedlist>
+         <listitem>
+           <para>[matthew] - Fixed creation of a GRUB boot disk.  Fixes
+           <ulink url="&lfs-ticket-root;2706">#2706</ulink>. Thanks to
+           Sebastian Plotz for the report and fix.</para>
+         </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2010-07-04</para>
       <itemizedlist>

+ 6 - 2
chapter08/grub.xml

@@ -32,8 +32,12 @@
     following commands:</para>
 
 <screen role="nodump"><userinput>cd /tmp
-grub-mkrescue --image-type=floppy floppy.img
-dd if=floppy.img of=/dev/fd0 bs=1440 count=1</userinput></screen>
+grub-mkrescue --output=grub-img.iso
+dd if=grub-img.iso of=/dev/fd0 bs=1440 count=1</userinput></screen>
+
+    <para>Alternatively, a boot CD can be created by using your host system's
+    CD burning tools to burn the <filename>grub-img.iso</filename> on to a
+    blank CD.</para>
 
     <para>GRUB uses its own naming structure for drives and partitions in
     the form of <emphasis>(hdn,m)</emphasis>, where <emphasis>n</emphasis>