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
This commit is contained in:
Matthew Burgess 2010-07-07 19:21:08 +00:00
parent 883aa255a7
commit 154c0ce4df
2 changed files with 17 additions and 2 deletions

View File

@ -36,6 +36,17 @@
</listitem> </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> <listitem>
<para>2010-07-04</para> <para>2010-07-04</para>
<itemizedlist> <itemizedlist>

View File

@ -32,8 +32,12 @@
following commands:</para> following commands:</para>
<screen role="nodump"><userinput>cd /tmp <screen role="nodump"><userinput>cd /tmp
grub-mkrescue --image-type=floppy floppy.img grub-mkrescue --output=grub-img.iso
dd if=floppy.img of=/dev/fd0 bs=1440 count=1</userinput></screen> 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 <para>GRUB uses its own naming structure for drives and partitions in
the form of <emphasis>(hdn,m)</emphasis>, where <emphasis>n</emphasis> the form of <emphasis>(hdn,m)</emphasis>, where <emphasis>n</emphasis>